• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Add Icon Before or After Entry Title

Th easiest way to add an icon before or after any title is to use Dashicons which are built into WordPress.

icon before after title

There’s 2 simple steps involved:

  1. Register Dashicons for front end usage.
  2. Add CSS to your child themes style.css file.

Display Dashicons On Front End

Simply copy this PHP code from the view raw link in the Gist and paste the code at the end of your child themes functions.php file using a code editor like Notepad++.

Register for full access


You can use this method to add an icon before or after any title including widget titles, page titles and your site title.

Related Tutorials

  • Add Clickable Icon Linked With Post Title

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.