WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Widget in homepage only (with static homepage)

[Resolved] Widget in homepage only (with static homepage)

Viewing 7 replies - 1 through 7 (of 7 total)
  • maybe somebody find this useful!

    where do I find my page number?

    got it figured out…

    Good!
    To discover the number of the page (or post) in the dashboard’s “pages” page all you have to do is hover the title of the desidered page and you’ll see the number in the status bar, usually at the bottom of the browser, something like ” …/wp-admin/post.php?post=520&action=edit”
    In this case 520 is the number you need.

    yep that’s how I got it, thanks… would you know how to have the widget only show on one page. I figured out one page but I have several more I don’t want it on.

    Sorry Charmer, english is not my language, so i didn’t get you last post.
    The code is_page('77') means to show a widget in that page only.
    To avoid other widgets on a page you have to use the ! that reverse the logic, so, in this case you’ll have to put !is_page('77')on all the widget that you want to hide on page 77 (but to display them on all others).

    I got it figured out… thanks, it worked a different way.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Widget in homepage only (with static homepage)’ is closed to new replies.