• loserdb

    (@loserdb)


    hi, on my site, http://www.loserdb.co.uk I have altered it so that the pages are in chronological order. But now the word “pages” is written twice. I only want it once, I want it to be the one with the big writing.

    Thanks

    Dan

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

    (@dherren)

    You’ve borked your sidebar and don’t validate xhtml any longer.

    In your sidebar.php, remove the first <li><h2>Pages</h2>. Then, if you want quick and dirty, place the <h2> tags around the second instance of the word pages.

    Also, if you’re going to have hierachical list items, you need to begin the sub-list with a <ul>. That’s why you’re not validating at present. If you make the change above you should be ok.

    Thread Starter loserdb

    (@loserdb)

    Does it matter that I don’t validate?

    I have put the
    <ul> in. I cannot find the word “pages” anywhere else in the sidebar.php file.

    Any other ideas?

    Untried.

    template-functions-post.php
    Line 126
    if (!isset($r['before'])) $r['before'] = '<p>' . __('Pages:');

    Change that word to Banana and see what happens.
    If good, edit to what you want.
    If not, change it back and post again.

    Careful ! Edit that file in a text-editor and be very very sure not to include whitespace at the end. If you get a Headers already sent error after doing this, head over to codex.

    Or line 316
    if ( !isset($r['title_li']) ) $r['title_li'] = __('Pages');

    Change only one at a time !

    Thread Starter loserdb

    (@loserdb)

    WOW, you must be a genious!! Thanks very much. I appreciate it

    LOL – not even close 🙂

    http://www.mythicsoft.com/agentransack/
    Agent Ransack
    Freeware and a very fast search tool – I just asked it to search 1.5 for “pages”. It’s a damn good program and unlike Google’s Desktop search and the others, is not spyware 😉

    Root

    (@root)

    podz is a certified genius. No doubt.

    I am certified. Yes. 😉

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘“pages” is written twice. Can’t find where to remove it’ is closed to new replies.