Support » Fixing WordPress » Software ignores arguments on WP_Widget_Archives

  • Resolved DDS_nl

    (@dds_nl)


    I’m trying to modify the WP_Widget_Archives function with a couple of arguments, but they don’t seem to be working correctly. Is this a bug, or am I doing something wrong?

    I’m using this code:
    <?php the_widget( 'WP_Widget_Archives', 'dropdown=1', "title=Maandelijks archief" ); ?>

    When I do that, the title is completely ignored. I’m not sure why. When I switch out the dropdown and title like this…

    <?php the_widget( 'WP_Widget_Archives', "title=Maandelijks archief", 'dropdown=1' ); ?>

    …then the dropdown is ignored. How does that happen, and how do I fix this? I’d love to know!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Software ignores arguments on WP_Widget_Archives’ is closed to new replies.