• onechrisjones

    (@onechrisjones)


    So, I am trying to do my own theme for 2.1, and am having some trouble-
    Is there a way that i can modify how my category headings are displayed with…
    <?php wp_list_bookmarks(); ?>?

    I want to call my category name, as well as my category content list- but i think i want to do it in different statements.

    Right now… i am using

    <?php wp_list_bookmarks('category=8&show_images=1&show_description=0&orderby=url&title_li=0'); ?>

    to list a single category at a time… (i am pretty ignorant with php… but have gone the lengths to read what all of this does… i have already read this…)

    Are there any arguments that can separate the category header and list elements, and display either in the html tags I choose?
    Thanks.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    I’m confused. What exactly are you wanting to do? What do you consider to be a “category header”? What do you mean by separate them? You have to be specific in order for us to understand what it is that you want to do.

    And really, everything is on the codex page you linked to. It’s fairly self-explanatory. But if there’s something you don’t understand on it, I’ll try to explain it better.

    Thread Starter onechrisjones

    (@onechrisjones)

    thanks… if you could look,
    https://www.chrisandevie.com/blog

    i am trying to get the extra category heading out of there(in the sidebar).

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    I don’t see any sidebar. What are you talking about?

    Looking at your page, I’d say it’s really screwed up, as I’m getting back PHP code in the source.

    Thread Starter onechrisjones

    (@onechrisjones)

    sorry… /blog

    forgive the mess.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Okay, I see it now, but what part do you want to remove? What’s a “category heading”? Could you please be very specific? What is the part that you consider to be “extra”?

    Thread Starter onechrisjones

    (@onechrisjones)

    i am using a javascript effect in the sidebar… and i am trying to isolate the category headings from the lists…
    so i can classify them.

    Maybe that is a bit more clear… I removed the extra blogroll display

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Chris: Ahh. I see now. Okay. Give me a second here.

    Thread Starter onechrisjones

    (@onechrisjones)

    Sorry, man…

    Right now… there are only 2 instances of blogroll, and i want only one….
    the main one.

    see the big one? and the little one when you click it?
    i want to get rid of the little one.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Okay, so you want the second instance of the word “blogroll” to go away. Right? Try this.

    <?php wp_list_bookmarks('category=8&category_before=&category_after=&categorize=0&show_images=1&show_description=0&orderby=url&title_before=&title_after=&title_li=&nbsp;'); ?>

    Edit: I modified it slightly, to get rid of the extra LI around the list as well. This should prevent the incorrect offset.

    Thread Starter onechrisjones

    (@onechrisjones)

    Very nice….
    thanks so much for the help, man….
    I spent hours working on that.

    Thread Starter onechrisjones

    (@onechrisjones)

    so you are really getting php in the source?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    On your urbanfloral page, yes, I am.

    <body>
    <div id=\"envelope\">
      <div id=\"content\">What THE HECK IS THIS??<br />
        Content, My Friend, Content.<br />
        <?php include \"header.php\"; ?>
    
        <div id=\"container\">

    Note the php bits? Just go to that urbanfloral link earlier and view source. You see PHP code, where PHP code should not be.

    Root

    (@root)

    What are all these \ slashes?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    The slashes are this forum being annoying. It inserts them in front of quote marks.

    Root

    (@root)

    Annoying? It certainly is. What is Matt doing?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘New Blogroll manager and Theme Development complications.’ is closed to new replies.