jQuery Archive List Widget
[resolved] Shortcode works fine in widget area only if widget is also published (4 posts)

  1. oneeyedkingmarketing
    Posted 3 years ago #

    I am using a shortcode to display the plugin in the widget area to allow for some additional formatting of the widget. The shortcode performs properly when the plugin's widget is also part of the widget area.

    If I remove the plugin's default widget and move it to the "inactive widget" area or the "available widget" area, the shortcode in the text widget stops working properly.

    The year is linked but it is set as a hyperlink to the years full post list, and does not expand when clicked liked when the plugin's widget is in the widget area.

    I also use the shortcode in a page and it too has stopped displaying properly.

    This error just started happening in the last few days... It used to work properly. This also prompted my question about setting the excluded categories shortcode post: http://wordpress.org/support/topic/shortcode-option-to-exclude-category


  2. Miguel Useche
    Plugin Author

    Posted 3 years ago #

    Mmm, seems like a bug. I never tested it with shortcode and no widget activated. But i see your point, i'll need to fix this in next version.

    So what you're telling me, it's that when widget is inactive it doesn't includes the JS code.

  3. oneeyedkingmarketing
    Posted 3 years ago #

    Yes, that is correct.

    Do you have a timeline on this? or a suggested hack? I have 2 sites now with inoperable archives because of this change, customers are wanting a solution.


  4. Miguel Useche
    Plugin Author

    Posted 3 years ago #

    No i don't have a planned time but you can fix it temprary, i've tested and it works, just add at filter() function (line 479 of main php file) the following code:

    if (function_exists("wp_enqueue_script")) {
        wp_enqueue_script('jquery_archive_list', $this->pluginUrl, array('jquery'), false, true);

    it will load JS code when using filters and no widget.

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


No tags yet.