Quantcast
Channel: Site5 Free Premium WordPress Themes » All Posts
Viewing all articles
Browse latest Browse all 8865

Reply To: No FACEBOOK field in Social!

$
0
0

There is no Facebook in social media and I have no idea why. But there solution and it involves just a few steps:

1. In your theme folder “fizz” go to img folder and replace social.png image with one I’ve created and you can download it from here:

http://www51.zippyshare.com/v/7503225/file.html

2. Go to your theme folder>css and in main.css file find this:

.social li a.rss {

background-position: -148px 0;

}

and just below this copy and paste from here:

.social li a.facebook {

background-position: -184px 0;

}

3. In your theme folder go to admin>options folder and find social.php file and in this file find:

$options[] = array( “name” => “Twitter URL”,

“id” => SN.”twitter”,

“std” => “”,

“type” => “text”);

and copy/paste just above this:

$options[] = array( “name” => “Facebook URL”,

“id” => SN.”facebook”,

“std” => “”,

“type” => “text”);

4. Now do to your theme folder and in your header.php find this:

< ?php if (of_get_option('twitter') !='' ) { ?><li><a href=”< ?php echo of_get_option('twitter');?>” class=”twitter” title=”< ?php _e( 'Twitter', 'site5framework' ); ?>“>< ?php _e( 'Twitter', 'site5framework' ); ?></a></li>< ?php } ?>

 

and just below copy/paste this:

< ?php if (of_get_option('facebook') !='' ) { ?><li><a href=”< ?php echo of_get_option('facebook');?>” class=”facebook” title=”< ?php _e( 'Facebook', 'site5framework' ); ?>“>< ?php _e( 'Facebook', 'site5framework' ); ?></a></li>< ?php } ?>

now you should have the option to add facebook link in the header. For the proof that it’s working I attached screenshots below.

http://i.imgur.com/tiPbd5o.png?1

http://i.imgur.com/9eiYU8z.png?1

But i need to mention that if you apply those changes to your theme it will be overwritten by next update so it’s safer to create a child theme or ask developers to implement those into the actual theme. It’s easier especially if you already have the fix in here and it will take few minutes but it will benefits all users. So I would like to ask politely wonderful developers to make those changes and update the “fizz” theme:)

Regards

 


Viewing all articles
Browse latest Browse all 8865

Trending Articles