• I know Kubrick has this and I saw the PHP code which is:

    <?php wp_list_pages(‘title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?>

    Exept It creates the black bullets. How would I remove that from my blog?…

    Removing the <h2> tags doesnt work. and I want it to be _e(‘pages’) for the sidebar and not how It is right now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter xerocool

    (@xerocool)

    Bump

    Look for the place where you style your

    • tags and add the line
      list-style-type: none;
    • That will remove any bullets.

      If you want to change the bullets to something else, check out
      the CSS reference.

      A link to your site would be helpful.

    Thread Starter xerocool

    (@xerocool)

    Link: r0x0rz.info.

    Will find it in the CSS if I can. Er…I disabled it right now until i find a solution.

    Huh? Of course you can.

    In your PHP:

    <div id=”pagelist”>
    <?php wp_list_pages(‘title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?>
    </div>

    In your CSS:

    #pagelist {list-style-type: none;}
    #pagelist ul, #pagelist li {padding-left: 0; margin-left: 0;}

    XeroCool-

    Thanks for the tip on passing variables to wp_list_pages. I was going crazy trying to format the “pages” title similar to other h2 sidebar items.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Insert ‘Pages’ in sidebar…’ is closed to new replies.