Support
Support » Fixing WordPress » Show widget included with theme on front page only
(@carolinanmymind)
14 years, 2 months ago
Hi.
I bought a theme that has a twitter widget already included in the sidebar.php file.
Currently, it shows up in the sidebar on all pages with the following code: <?php if ( $clk_show_tweets==0 ) { ?>
I’ve tried altering it several times, including: <?php if ( $clk_show_tweets==0 && is_front_page() ) { ?>
But that makes the widget disappear entirely.
What can I do so that it only shows up in the sidebar on the front page?
Thanks in advance!
(@vtxyzzy)
The Widget Logic plugin might do what you want.