sgmcgrew7 0 Report post Posted July 28, 2011 Currently the Twitter Bar is located the bottom of the home page. See www.priceofmyroof.com. I would like to move it to the top, right below the navigation tabs, and above the feature slider. Please let me know what to do to make this happen. Thank you Share this post Link to post Share on other sites
MusicGal 0 Report post Posted July 29, 2011 I would also like to know how to do this. When I try to add the following code to my functions.php, I get this error: "Fatal error: Using $this when not in object context in /home/alainaf1/alainaferris.com/wp-content/themes/platformbase/functions.php on line 72" Code: add_action('pagelines_inside_bottom_primary-nav', 'twitter_move'); function twitter_move(){?> <?php if(pagelines('twittername') ):?> <?php if(function_exists('twitter_messages') && pagelines('twittername')):?> <?php pagelines_register_hook( 'pagelines_before_twitterbar_text', $this->id ); // Hook ?> "<?php twitter_messages(pagelines('twittername'), 1, false, false, '', false, false, false); ?>" — <?php echo pagelines('twittername');?> <?php else:?> <?php _e('Please install and activate the "Twitter for WordPress" plugin to use this section.', 'pagelines');?> <?php endif;?> <?php else:?> <?php _e('Set your Twitter account name in your settings to use the TwitterBar Section.', 'pagelines');?> <?php endif;?> <?php } Share this post Link to post Share on other sites
catrina 103 Report post Posted July 29, 2011 You can use a hook to reposition the Twitter bar. Please see here for more information on how to implement one: http://www.pagelines.com/docs/base-child-theme Alaina, I think you have the concept down, but the code isn't correct (the entire code doesn't have to be pasted). Please refer to the link about the hooks and you'll see what a hook should look like. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites