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
🎉New Year, New Affiliate Website: How AFFI.AI Can Transform Your Content
🎉New Year, New Affiliate Website: How AFFI.AI Can Transform Your Content

The new year is the perfect time to rethink how your website earns revenue. If you run or plan to start an affiliate website, AFFI.AI, a sister company of Five Star Plugins, can help you transform your content into a revenue-generating engine. Visually Engaging Affiliate LinksInstead of relying on plain text links, AFFI.AI allows you…

🧠The Pros and Cons of Using Caching on Your WordPress Site
🧠The Pros and Cons of Using Caching on Your WordPress Site

Caching is one of the most effective tools to speed up your WordPress site, but it’s also one of the easiest to misconfigure. When used wisely, caching can dramatically improve your site’s load times, reduce server load, and create a better customer experience — especially during high-traffic periods like the holidays. However, if your site…

🚀 Smarter SEO and Accessibility for Your Restaurant Website with AI Image Alt Text
🚀 Smarter SEO and Accessibility for Your Restaurant Website with AI Image Alt Text

The holiday rush is here — and for restaurants and businesses, that means more visitors, more online orders, and more eyes on your website. To make sure every click counts, our sister company, WP AI Power Tools, has launched something that’s changing the way WordPress users approach SEO: the AI Image Alt Text plugin. This…

Discover More Posts
Browse Plugins Now