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 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…

Alternatives to costly third-party food ordering platforms
Alternatives to costly third-party food ordering platforms

In today’s digital age, food ordering platforms have become indispensable tools for restaurants looking to expand their customer base and streamline their operations. However, the dominance of third-party platforms like Uber Eats, Grubhub, and DoorDash comes with its own set of challenges, including high commission fees, loss of control over customer data, and increased competition….

Why You Should Use WordPress to Build Your Business Website
Why You Should Use WordPress to Build Your Business Website

In today’s digital age, establishing a strong online presence is crucial for any business looking to thrive in the competitive landscape. Your website serves as the virtual storefront for your brand, making it essential to choose the right platform for its development. While there are numerous options available, one stands out as a popular choice…

Discover More Posts
Browse Plugins Now