• I am trying to edit the CSS to exclude certain pages and no matter what I do it blows up the page.

      <?php wp_list_pages(‘exclude=17,38’ ); ?>

    That’s an example of what I need to put in apparently. How do I enter that?

    http://www.emprisereview.com

Viewing 8 replies - 1 through 8 (of 8 total)
  • That’s PHP code, you can’t place PHP code into a CSS file, it’s unsupported.

    If you need to change CSS based on something in PHP, then you need to do it in the PHP file and the not the CSS file.

    Thread Starter pynchon8

    (@pynchon8)

    I went into the header.php file to do this…is that not it?

    Yes that’s a valid place to put the code, i can’t see how this relates to CSS though.

    Perhaps you could expand on what it is you’re doing?

    Thread Starter pynchon8

    (@pynchon8)

    I need pages linkable and viewable to those I send the urls to, but I can’t have them in the nav bar.

    Thread Starter pynchon8

    (@pynchon8)

    Yet another plugin for what should be something easy. Thanks for trying t31os

    Sorry, no offense intended here, but i’m not sure i understand what you’re trying to do still.

    What do you mean “send urls to”?

    If your nav bar has wp_list_pages(), which is usually in the header, then you just add the exclude parameter, as seen in the first snippet of code you posted to exclude them from the menu.

    Thread Starter pynchon8

    (@pynchon8)

    Nevermind. Fixed with a plugin. I did just what you said with the exclude and it didn’t work.

    Did you try with said plugin disabled?

    If a plugin rewrites areas of functionality for the pages, then it may not work under those conditions.

    If you have what you want though, no worries.. 😉

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Editing CSS’ is closed to new replies.