Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2138

    Hi.

    Is there a way to show / hide certain months or months older than….?

    In WP or in the theme?

    #36811

    Hey,

    Assuming you mean the Sidebar News widget, you can adjust the query parameters by editing this line:

    $additional_loop = new WP_Query("cat=".$cat."&posts_per_page=".$count);

    The Query Posts article in the WordPress codex http://codex.wordpress.org/Function_Reference/query_posts (scroll down to Time Parameters) should give you the information you need depending on the restrictions you require.

    James

    #36812

    Hi.

    I’m sorry for my innexperience. Which files should I look for?

    #36813

    You need to edit sidebar_news.php located under newscast > framework > theme_widgets > sidebar_news.php

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘control over months shown in Archive widget’ is closed to new replies.