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

  1. schumiholic
    Posted 2 years 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!


  2. Miguel Useche
    Plugin Author

    Posted 2 years 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
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Archive List Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic