• Resolved noncollective

    (@noncollective)


    Hi, I would like to add a disclaimer to my sidebar under this title:

    <?php wp_list_pages(‘title_li=Noncollective’); ?>

    I know that this piece of code is linked to my wordpress pages but what I’m not sure about is what part I should remove and where I can just add copy that will appear under my sidebar style and everything.

    Hope this makes sense. Thanks, D.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter noncollective

    (@noncollective)

    Does anyone know how this can be done? Thanks.

    No, it doesn’t make sense, sorry.

    The code you posted is NOT linked to your Pages – it displays the list of your Pages wherever you put it.

    Now, forget the code and don’t try to be technical… just describe in plain English WHAT do you want. We will tell you the HOW-TO.

    Thread Starter noncollective

    (@noncollective)

    ah, sorry. Okay, if you visit http://noncollective.com you will see that in the sidebar at the top it says ‘Noncollective’ with the names ‘Bob’ and ‘David’ underneath. How do I put a few lines of copy under that title and get rid of the names? Cheers, D.

    Delete the code line that you quoted in your initial post.
    Then just add whatever the “copy” is.

    Thread Starter noncollective

    (@noncollective)

    Thanks moshu but can ask you what part of this code I should keep and what I should delete. I have tried out what I thought might work only for it not to.

    <?php wp_list_pages(‘title_li=Noncollective’); ?>

    I think you would go to the Presentation –> Theme Editor (Style.CSS Editor) then select the option sidebar. If you already have non-collective code then you can deleted it there. Or if you need to add it you would add it there. That is where I make changes to the sidebar.

    Delete all that line. It generates a list of your Pages that you don’t want.

    You seemingly have this on the top of your sidebar:

    <div id="sidebar">
    <ul>
    </form>
    </li>
    <?php wp_list_pages('title_li=Noncollective'); ?>
    <?php wp_list_pages('title_li=Contributors'); ?>

    Make it like this:

    <div id="sidebar">
    <ul>
    
    <li>Noncollective</li>
    <ul><li>... YOUR TEXT HERE </li></ul>
    </li>
    <?php wp_list_pages('title_li=Contributors'); ?>

    Thread Starter noncollective

    (@noncollective)

    Thanks. that worked.

    Oops… there is an error in the code above:
    The first line should be only:
    <li>Noncollective

    (because it has the closing /li in the 3rd line)

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

The topic ‘Add copy to sidebar?’ is closed to new replies.