[resolved] Theme Problem (3 posts)

  1. hesam
    Posted 7 years ago #


    I edited a theme of wordpress 2.3.3, I got two problems

    my theme has got three clomuns, I wanted in both sidebars list some items of my specified categories, but when I used query post, in my archive listing, that post query affected the list should be shown on the archieve page, for the I think thats because a code of my left sidebar is called sooner than the code in the archive listing page! So how I can fix it.

    And also I needed to list one of my blogroll, by category, but I couldn't find a code that just list my links without listing category at the links top!

  2. Kafkaesqui

    Posted 7 years ago #

    Issue 1:

    Issue 2:

    <?php $bookmarks = wp_list_bookmarks('category=1&category_before=&category_after=&echo=0'); echo preg_replace('/<h2>.*<\/h2>/', '', $bookmarks); ?>

    Just change the value for 'category' to your link category ID # (1 above). Not pretty, but it works. :)

  3. hesam
    Posted 7 years ago #

    thanks Kafkaesqui, I think its solved for me now,

Topic Closed

This topic has been closed to new replies.

About this Topic