WP-Forge Updated to v5.1.0

This really started out as a very hectic week for me but in the end it was all worth it. On 07/05/2014 Foundation updated to v5.1.0, which came as a total surprise. I wasn’t even expecting an update, let alone a major one. But its all good.

I was actually able to update WP-Forge the day Foundation pushed out their update, but I didn’t get a chance to make it available until today. I had to have some wiring done in the house and they basically had to turn off the electricity for a few days which made my internet connection unvailable. And of course, I had to work, so I decided to wait until today to let everyone know that WP-Forge is updated to v5.1.0 and is available for download.

There is one other change in WP-Forge that I wanted to announce, and this change came before the update from Foundation. I had written a post and everything and then this new version change, so instead of one post announcing one new addition this is a post about two changes in WP-Forge.

WordPress Social Menu added to WP-Forge

I happened to receive an email update on a new post over at WPTavern.com about a Technique For Creating Portable Social Menus In WordPress Themes. Being a big fan of the site I saved the email as I didn’t have time to head over and read the post in detail.

So last weekend, for some reason, I woke up really early and sat down in front of the computer with a cup of coffee and finally had the chance to read the actual post and I am very happy that I did.

The post basically referred to a set of posts from Justin Tadlock regarding Social media nav menus. In particular, the second post Social nav menus: Part 2 is the one that grabbed my attention. After reading this post I thought that adding a WordPress Social menu was a really great idea as I have created many menus for clients in the past but they mainly relied on images and entering information into a theme options panel.

WordPress Social Menu Without A Plugin

So basically I followed the instructions in Justin’s post, but of course I used Font-Awesome instead of Genericons. I registered a new menu area in functions.php, created a new menu file called menu-social.php and added the actual code to the footer area of WP-Forge. You can see the menu on the demo site.

Creating the menu is very easy. Just go into Appearance>Menus and create a new menu (on the demo site I called my new menu social), then add the necessary links to your new menu and when you are done, assign the menu to Social in the Theme Locations area of the menu and click save. Your done!

wordpress-social-menu

It’s a breeze to move the menu to another area, all you have to do is add the following anywhere you want the menu to appear:

<?php get_template_part( 'menu', 'social' ); ?>

Keep in mind, if you do move the menu to another spot in the theme, make sure you remove the following from the footer:

 <div class="large-12 columns">
<?php get_template_part( 'menu', 'social' ); ?>
</div>

You do not have to include the “div” surrounding the menu either. This can be removed or modified as you wish. Then, all that’s left is the styling. All of the styles are located in the style.css file starting at the end of the style sheet on line 1134.

Supported Social Media

Just like Genericons, Font-Awesome does not support every single social site on the planet. It also does not have any icons for WordPress.com or WordPress.org, although I have made the suggestion as have quite a few other individuals (if you would like to see a WordPress icon in Font-Awesome, head over and let them know).

All of the menu icons in the WordPress Social Menu use the “square” icon if possible. So here is a list of the sites WP-Forge offers in the new WordPress Social Menu:

  • Facebook
  • Twitter
  • LinkedIn
  • Google+
  • Flickr
  • YouTube
  • GitHub
  • FourSquare
  • Instagram
  • Pinterest
  • Tumblr
  • Vimeo
  • Dribbble

Well there you have it. A new update to WP-Forge with a little extra somethin’ somethin’ thrown in. If you get a chance, please let me know what you think of the new updates and as always have fun and Enjoy!

WP-Forge Updated to v5.1.0 was last modified: February 8th, 2014 by Thomas Vasquez

7 thoughts on “WP-Forge Updated to v5.1.0”

  1. Hash Varsani

    I literally read the social menu posting yesterday in one of taverns mail outs. Was going to add it in myself Thomas and write a forum post. Now I don’t have to as you’re always on top of it mate. Great addition to the framework and thanks for adding it in.

Share your thoughts