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
Manage Orders Anywhere: Five Star Restaurant Menu + Mobile App + SMS Notifications
Manage Orders Anywhere: Five Star Restaurant Menu + Mobile App + SMS Notifications

Running a restaurant is fast-paced. Orders come in quickly, customers want updates, and your staff needs to stay on top of every detail. That’s where the Five Star Restaurant Menu and Food Ordering WordPress plugin—together with our Five Star Restaurant Manager Mobile App—comes in. This powerful combo makes it easy to manage orders from your…

Supercharge Your WordPress SEO with Structured Data
Supercharge Your WordPress SEO with Structured Data

Search engines love clarity. The more clearly they understand your website, the better your chances of ranking higher and attracting visitors. This is where structured data comes in — a way to organize your website content so search engines can easily interpret it. And the Five Star Business Profile and Schema WordPress plugin makes adding…

Streamline In-House Delivery with Five Star Restaurant Menu and Food Ordering
Streamline In-House Delivery with Five Star Restaurant Menu and Food Ordering

Managing restaurant delivery can be a juggling act. Between taking orders, updating menus, coordinating kitchen prep, and making sure customers get their food on time, it’s easy for things to get chaotic. Many restaurants rely on third-party delivery platforms to help manage this, but those come with hefty commissions, limited control over customer data, and…

Discover More Posts
Browse Plugins Now