WordPress.org

Forums

remove footer from a specific page without a page id (3 posts)

  1. mook73
    Member
    Posted 1 year ago #

    no kidding. i am totally stuck on this and i have spent the last two hours searching for an answer, but the code, as laid out below does fit me as i don't seem to have this 'page-id-xx' classed in that specific page. odd.

    .page-id-xx #footer-widgets {
    display:none;
    }

    the class under the body tag was merely 'published' which boggles my mind. here's the page i am talking about: http://mikeshouts.com/christmas-gift-ideas-2013/

    any help will be greatly appreciated! :)
    (and you would a man from losing his hairs too fast! ;P)

  2. Andrew
    Nuh uh moderator
    Posted 1 year ago #

    Which theme is this regarding?

    Have you instead considered using the is_page function http://codex.wordpress.org/Function_Reference/is_page ?

  3. mook73
    Member
    Posted 1 year ago #

    Hi Andrew. Actually no. I have not thought of touching the Php. Afraid i may mess it up like every other time :(

Topic Closed

This topic has been closed to new replies.

About this Topic