Adding a social profile menu to WordPress

Last year, Justin Tadlock posted about a simple way to add a social media navigation menu in WordPress. He then followed it up with a post showing how to use this method with the Genericons icon font. This is a slick trick so that you can use WordPress’s core menu system to add a list of links to your social profiles. You’ll see them on most pages. You can see it here at the very bottom of my site on the right.

Warning: this post is for advanced WordPress developers who are comfortable adding PHP and CSS code to their themes or plugins.

I wanted to use the same concept that Justin demonstrated for a client’s site I’m working on at the moment. But I wanted to use the Socicons font, an icon font that includes support for tons of social networks, instead of the Genericons icon font. It was pretty straightforward, so I thought I’d share the CSS code I used to get it working in case anyone else finds it useful.

I put it up as a Gist, so you can have a look at the CSS code. To get this working, you’ll need to follow Justin’s steps to set up the navigation menu, copy how he loads the Genericons font to load the Socicons font, and then follow the instructions at the top of my CSS code to register your navigation menu for use with the CSS code.

Call to action box goes here
Need a Plugin to Improve Your Site?
Browse Plugins Now
How to Quickly Optimize the SEO of Your Blog Posts and More with AI-Powered SEO Suggestions
How to Quickly Optimize the SEO of Your Blog Posts and More with AI-Powered SEO Suggestions

Optimizing on-page SEO can be time-consuming, especially when you want your posts to rank and attract more clicks. Reviewing titles, headings, meta descriptions, links, images, and readability manually can slow down your workflow. AI-Powered SEO Suggestions, offered by our sister company WP AI Power Tools, streamlines this process by giving real-time AI-powered guidance right inside…

Join the Five Star Plugins Affiliate Program
Join the Five Star Plugins Affiliate Program

If you work with WordPress clients, publish tutorials, or regularly recommend plugins, the Five Star Plugins Affiliate Program is worth another look. Many of our customers already use our tools across multiple projects. The affiliate program simply adds a revenue layer to what you may already be doing — recommending plugins that solve real business…

How to Add a Food Ordering Platform to Your Website with Restaurant Menu
How to Add a Food Ordering Platform to Your Website with Restaurant Menu

Running a restaurant website means more than just displaying your menu. Customers increasingly want the convenience of placing orders directly online. With Restaurant Menu, you can create a full-featured food ordering platform on your WordPress site with ease. Easy Setup and Customization Restaurant Menu allows you to: The plugin is designed for both small cafes…

Discover More Posts
Browse Plugins Now