slobjones Posted January 12, 2010 Share Posted January 12, 2010 I need to place sidebar content on my WordPress blog that appears on the home page only. This means the content should display only at mysite.com and not at mysite.com/page/2/ Normally, I would just create a new sidebar.php template. But in this case, both the home page and inside pages use the same home template, index.php -- which means they both use the same sidebar. Is there a conditional statement, perhaps using the WordPress tags is_home and/or is_page, that would allow me to display a different sidebar on inside pages? Thanks. Link to comment https://forums.phpfreaks.com/topic/188157-wordpress-pagination-how-to-display-sidebar-content-on-front-page-only/ Share on other sites More sharing options...
satya61229 Posted January 24, 2010 Share Posted January 24, 2010 You need widget logic: http://wordpress.org/extend/plugins/widget-logic/ with this you can show content on front page, single page/post, page etc. now if u like my idea then please visit my blog and add bookmark to bookmarking sites! Link to comment https://forums.phpfreaks.com/topic/188157-wordpress-pagination-how-to-display-sidebar-content-on-front-page-only/#findComment-1000716 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.