GetSimple Support Forum
Sidebar component - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Sidebar component (/showthread.php?tid=5054)



Sidebar component - saris - 2013-08-09

Hi!

I´m not sure if this is the right place to ask...Anyway...

Is it possible to add sidebar component only to frontpage? I am using theme ElegantResponsive 0.1. The sidebar component is going to include Twitter and FB plugins.
Thanks for your help Smile


RE: Sidebar component - shawn_a - 2013-08-09

Search the forums, this is answered many times. Component or sidebar on specific pages.


RE: Sidebar component - shawn_a - 2013-08-09

heres just one
http://get-simple.info/forums/showthread.php?tid=4293&highlight=page+specific


RE: Sidebar component - Timbow - 2013-08-09

It is the right place to ask. It is a common query.
The simplest method is to copy and rename template.php in the theme folder so you have frontpage.php as a page template just for the frontpage. Where the template has
PHP Code:
<?php get_component('sidebar');    ?>
change it to call your twitter sidebar.

There is a wiki page for this with some other methods :
http://get-simple.info/wiki/components-depending-on-the_page