• Resolved cjhill

    (@cjhill)


    Hi,

    I think the plugin is great by the way, just what I need.

    However i am having trouble getting the expand feature to work.

    Currently i have set it up so that it displays the years ‘2014’ & ‘2015’

    When i select one of these It should then expand the months, however it does not.
    If i hit the ‘+’ icon next to ‘2015’ it just loads up the page with the posts for that year, whereas it should expand the list of months in the menu so that i can then select the month of posts that I want to display.

    I am using Jquery 1.11.1 by the way

    Any advice would be greatly appreciated.

    Thanks,

    https://www.ads-software.com/plugins/jquery-archive-list-widget/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Miguel Useche

    (@skatox)

    Could you give me an url to test? Seems like you have a JS problem caused by an external plugin.

    Thread Starter cjhill

    (@cjhill)

    Sure. try this…

    demo

    This is the only widget i have installed, the other items in the sidebar have been hand coded in. I guess something must be conflicting or not set up correctly.

    You’ll see the widget at the bottom of the sidebar with ‘2015’ displayed. Hitting the ‘+’ does not expand the list of months, just opens a page that shows all the posts for 2015.

    Thanks

    Plugin Author Miguel Useche

    (@skatox)

    I visited the site and in the JS console says that jQuery is not defined, do you have a wp_head() in the header of your template? Seems like your theme is not including jQuery in the source code, that’s why it doesn’t work.

    Thread Starter cjhill

    (@cjhill)

    Ah that might be why…

    Put <?php wp_head() ?> in the header.php doc then defined jquery by adding

    <?php wp_enqueue_script(‘jquery’); ?> at the top of the header.php doc

    This seems to have cured the problem.

    Thanks for your help

    Plugin Author Miguel Useche

    (@skatox)

    You’re welcome. My plugin already does wp_enqueue_script(‘jquery’); so there’s no need to add it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Expand feature not working’ is closed to new replies.