StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 10-01-2012, 10:15 AM
sundance sundance is offline
Registered User
Genesis Member
 
Join Date: Nov 2011
Posts: 66
Default functions.php

HI
I suppose to put the following code in functions.php

function add_thumbsup(){
include './thumbsup/init.php';
echo ThumbsUp::css();
echo '<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>';
echo ThumbsUp::javascript();
}
add_action('wp_head', 'add_thumbsup');


but it does not behave as expected , Is there is a special format for genesis , or is the code right just like that ?

http://www.mepanorama.com/
  #2  
Old 10-01-2012, 07:24 PM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

Genesis doesn't require anything special to use the wp_head hook. Check with the plugin developer if it isn't working. Thanks.
__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

 

Tags
functions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
damaged Theme functions ( functions.php) andymac71 General Discussion 4 05-01-2009 12:06 PM


All times are GMT -5. The time now is 09:48 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.