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
Restaurant’s Google Ranking Boosting with SEO Strategies 🚀
Restaurant’s Google Ranking Boosting with SEO Strategies 🚀

In the competitive landscape of the restaurant industry, securing a prime spot on Google can make or break your business. With customers increasingly relying on search engines to discover new dining experiences, mastering restaurant SEO is essential for increasing your online visibility and driving more foot traffic through your doors. Let’s delve into some actionable…

Sizzling Summer Ahead! Prepare Your Restaurant!
Sizzling Summer Ahead! Prepare Your Restaurant!

As the temperature rises and the days grow longer, a sizzling summer is just around the corner, bringing with it a surge in patrons eager to savor your culinary delights. For restaurant owners, this means gearing up for the busiest season of the year and ensuring your establishment is ready to accommodate the influx of…

Restaurant WordPress: Top 3 Free Plugins in 2024
Restaurant WordPress: Top 3 Free Plugins in 2024

Running a restaurant is tough. It costs a lot of money, and dealing with contracts and commissions for online orders can make it even harder. But in this article, we’ve got your back. We’re going to tell you about some plugins for your Restaurant WordPress site that can help without tying you down with contracts…

Discover More Posts
Browse Plugins Now