• http://x.co/Ln5B

    Right, You see the boxes in the home page. categories and archives. I’m running a plugin all exec-php. Works great and does what i need it to.

    Here is the code I’m using in the text widget for the boxes to show up:

    <div class="plan">
            <div class="title">
              <h4>Archives</h4>
            </div>
    
            <div class="content">
    
    <ul>
    <?php wp_get_archives( $args ); ?>
             </ul>
             </div>
    </div>

    The only differentiating factor is <?php wp_get_archives( $args ); ?> – This call loads the correct content. Now i’m looking into this myself. But i’ll post here too, how do i remove the bullet points from both boxes? Secondly, the category loads the word “Categories” above all the cats, I already have this as the boxes title header. How do i remove this line?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Would adding this to your style sheet work for the bullet points?

    .plan .content li {list-style:none;}

    the word “Categories” above all the cats

    Is that being generated in one of your theme files?

    Perhaps the theme support group at Bluz Themes can provide some help or documentation for customizing the Phenomenon theme.

    Thread Starter OpenAreas

    (@openareas)

    CSS Worked great, thanks! 🙂

    I don’t think it’s being generated at all. Because if i use the actual categories widget in a sidebar. It will work fine. I think it’s the call function thats doing it.

    I think this may have something to do with it, http://codex.wordpress.org/Function_Reference/wp_list_categories

    Shows the call <?php wp_get_archives( $args ); ?>

    But i’m really not sure on how to remove it from pasting categories at the top of the box.

    <?php wp_get_archives(); ?> Prints archives my month, not the categories. Unless you used wp_list_categories somewhere, I think the categories are being generated by your theme.

    I think <?php wp_list_categories(); ?> by default will print out a list of categories with the title “Categories” at the top of the list.

    This should remove the title “Categories” at the top of the list: (not in the widget title)

    <?php wp_list_categories('title_li='); ?>

    Some Reference material Template Tags/wp list categories

    “By default, wp_list_categories() generates nested unordered lists (ul) within a single list item (li) titled “Categories”.”

    See Markup and Styling of Category Lists

    Thread Starter OpenAreas

    (@openareas)

    Clayton, super star!

    Worked great, thank you very much.

    Yeah i pasted the wrong call function in my previous post, oops my bad 🙂

    All sorted now! Much appreciated buddy.

    Glad it worked!

    I have a smiliar issue. On http://hauntedplacesinengland.com/indexofhauntedplacesinengland I would like to get ride of the bullet points.

    The code I use running exec-php is <?php wp_get_archives('type=alpha'); ?>

    Thanks!
    Mark

    Your question does not relate to the original subject. Please post a new topic.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘php wp-get questions’ is closed to new replies.