WordPress.org

Ready to get started?Download WordPress

Forums

Urgent help , custom Sidebar and pages (1 post)

  1. arjunshrivatsan
    Member
    Posted 6 years ago #

    Hi,

    I know this must have been posted everywhere... my search failed.

    I need an urgent solution to the following problem

    My requirement.

    1. All blog pages must show sidebar categories as parent categories .
    2. All pages ( which are also in common with some of the category names) must have sidebar categories list as child categories of that page.

    What I have done.

    1. create a custom page template and called a new sidebar (sidebar2.php)
    2.used child_of attribute in wp_list_categories for specific category (ID=8).

    what happened is ... all categories are listed included the child of 8 that has a posting( other children do not have postings yet).

    I do not want that.

    simply said. the page categories must list only the child categories and anything else must be omitted or must go to bottom.

    How do i do that.

    Someone, please help..as this thing has to be sorted quite urgently.

    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic