• Is there a way to only show a widget on the main blog page?

    I have a widget with links to other sites, I only want them to appear on the main page, instead of being on all the post pages too.

    Is there a way to make this widget only display on 1 page?

    Thanks

Viewing 7 replies - 16 through 22 (of 22 total)
  • i have no idea. what theme is that? if i had the theme i could test it on another setup to see what’s going on. (the sidebar looks quite complex)

    It is the IMWW Theme: https://iamww.com/wordpress-theme-iamww-w2/ which is quit commonly in use these days. Thx for your help!

    there is no way to download that — it’s got ‘no longer supported’ written all over it and a link to “IAMWW w2 DnD”. what happens when you use that theme instead? same issue?

    Im sorry, the correct link to my theme is the one you mentioned: https://iamww.com/wordpress-theme-iamww-w2-dnd/ . It is pretty up2date.

    I checked with another theme and there is_home() works. Any hints?

    i think i’ll have to try this out on a fresh WP install, but i’m not clear looking at the themes code and your site. has your theme been customised?

    first off, is the widget you are talking about the ‘google adsense’ under the recent comments gravatars? that’s the 4th in a mini sidebar of polls/tags/recentcomments/adsense/now-reading.

    the UL for that sidebar doesn’t have an ID, and though the theme sidebar.php ends

    </div><!-- end sbwidgets-->
    </div><!--end sidebar-->

    this sidebar is between those two comments. so i don’t know what’s going on there. there’s nothing unusual in functions.php that could be messing things up either.

    like i say, it might be clearer if i try to install it on my local LAMP version at home. will let you know if anything obvious jumps out at me.

    ok – it rly does look like your theme has been customised quite a lot.

    i think there must be ‘hard coded’ widgets above and below the drag-and-drop widgets you can configure in the WP admin interface – the std sidebard for that theme is just a double sidebar with a single ‘about’ at the top that spans them both (and a few other bits and piece like ‘recent posts’ on archive pages and so on). yours has lots more above and below spanning both columns including the adsense widgets

    so i think the problem is that the widget you want to configure isn’t configured from the WP interface. so widget-logic doesn’t get a look in.

    check your sidebar.php against a fresh copy of the downloaded theme. you may even be able to get your modifications improved so that the extra widgets are in a 3rd configurable sidebar

    i might be wrong in this – but it seems very likely on the face of it.

    How can you do the opposite (for it to appear everywhere except main page)?

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Showing a widget on just the main page?’ is closed to new replies.