WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Archive List Widget
[resolved] Expand all years by default (3 posts)

  1. schumiholic
    Member
    Posted 10 months ago #

    Hi! This is a wonderful plugin, but i have one question: is it possible to include another type of expansion, only for years and also with showing posts under months? I mean to show all the years expanded and under months to be able to see the posts when I expand them manually. The available types of expansion cannot create that. Thanks!

    http://wordpress.org/plugins/jquery-archive-list-widget/

  2. Miguel Useche
    Member
    Plugin Author

    Posted 10 months ago #

    You can modify plugin's source code to include this function, there's a variable called $currentYear that you can modify to include your situation, or modify the if sentence at line 360:

    if ($currentYear || $instance['expand'] == 'all') {

    To include your situations.
    I'm available to do this as a separated freelance project.

  3. schumiholic
    Member
    Posted 10 months ago #

    I got some help and I was able to modify it. Thanks for the tip!

Reply

You must log in to post.

About this Plugin

About this Topic