enter image description here

Have a WP widget for the archive page of post, can click left or right on the arrows but the only way it updates is when clicking on the month selected and not dynamically when clicking the arrow.

<div class="campaigns-left">
                      </i> <?php if ( is_active_sidebar( 'calendar-2' ) ) : ?>
                            <?php dynamic_sidebar( 'calendar-2' ); ?>
                        <?php endif; ?>
                       <strong><i class="fa fa-angle-left"></i><em></em><i class="fa fa-angle-right"></i></strong>
                        <a href="/event/<?php echo date('Y/m/d/'); ?>">Today</a>
                    </div>

Read more here: WordPress Archive Not Dynamically Updating onClick


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: