Next Month Links not Working

Home Forums Calendar Products Events Calendar PRO Next Month Links not Working

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #100543
    Patrick Scriven
    Participant

    On the month view, the links to advance to the next month and to go backward to the previous month do not work. Clicking on them simply causes the view of the current month to ‘refresh.’
    When I applied the ‘fix’ suggested here (https://theeventscalendar.com/support/forums/topic/next-month-button-in-lower-right-corner-not-advancing-to-next-month/) the links did work but the events on the calendar were no longer selectable. My site is live so deactivating all of my other plugins and selecting a base theme is not a viable option. I can confirm the calendar was working well until the last update we performed.

    #101047
    Neill
    Member

    Hi Patrick,

    Sorry to hear about the issue you are having – we’ve dug a little deeper since the first gist we offered and came up with a little more info.

    We’ve isolated some of these issue being to the fact that the theme does not support the body_class(); function (for more info: http://codex.wordpress.org/Function_Reference/body_class) . Try opening up your header.php file and see if this is in there:

    <body <?php body_class(); ?>>
    
    

    If not I’d add it and see how the calendar works at this point. Would you like to give it a go and let us know if it worked?

    Neill

    #101246
    jwhouse
    Participant

    I have the same problem. Using the Builder framework from iThemes, with a customized child theme. I will try this suggestion and report back in.

    Some additional info: The next month and previous month links do change the URL in the location box. So if you hit the next month link and then refresh, you do get the next month.

    I hope this helps to diagnose the problem. 🙂

    #101312
    Neill
    Member

    Hi Jwhouse. Thanks for jumping in here and giving us your input. If the above fix doesn’t work for you also then please go ahead and start your own thread so that we can give you the right attention also, as there may be different issues at play here.

    Neill

    #101903
    Peppermint Soda
    Participant

    I have the same problem using a child theme of the popular Avada theme. The line of code in my header.php file looks like this:
    <body <?php body_class(array($avada_color_scheme,$body_class)); ?>>
    It works fine if I turn off the PRO version- but I really need to and want to use the PRO version.
    The site I have it on is hosted locally at present.

    #101969
    Neill
    Member

    Hi Patrick
    Just want to touch base here and see if you are all set? Did the above solution work for you?

    @pepermintsoda, would you be able to start a new thread with details of your specific issue? If the solution above didn’t work then we’d be able to give you the right attention in your own thread. It also helps is make sure we don’t miss any details the could be key in your particular issue

    #101984
    Patrick Scriven
    Participant

    This reply is private.

    #102146
    Peppermint Soda
    Participant

    OK. I’ll start a new thread about my issues with the next/previous. Thank you.

    #102722
    Neill
    Member

    Patrick – I understand – take your time and let us know if we can give you any more pointers.

    Also thank you @pepermintsoda.

    Neill

    #102726
    Peppermint Soda
    Participant

    Neill, My new thread is here:
    https://tri.be/support/forums/topic/nextprevious-not-working-conflicts/
    I have not gotten any response yet. Can you look into this?
    🙂

    #103070
    Patrick Scriven
    Participant

    Neill, I got a chance to add the line suggested which resulted in this error.
    Parse error: syntax error, unexpected ‘<‘ in /home/content/95/8201095/html/wp-content/themes/yoo_lava_wp2/header.php on line 11

    #103134
    Peppermint Soda
    Participant

    I fixed all the problems- seemingly plugin incompatabilities, the NEXT/PRevious buttons in the calendar mode… all by increasing the memory allocation to WordPress. I followed the instructions here: http://wpengine.com/support/debug-mode-warning/

    #103338
    Neill
    Member

    Hi Patrick can you copy and paste what you have in that file via a snippi (http://snippi.com/)? That way we’ll see what else might be causing the issue. Snippi should be pretty easy to use if you are unfamiliar with it. Just copy and paste all the code from the header.php file – Give it a title – select PHP as the language and hit “Create Snippet” (screenshot: https://cloudup.com/c4I7hhU1aDX) – the resulting URL you will be able to share and we will be able to see exactly what you are using without any risk of formatting going awry

    @pepperminsoda – it looks like you are in the safe hands of Brook on the other thread. Thanks for your info!

    Neill

    #103341
    Neill
    Member

    Patrick –

    I’m sorry scratch what I just said above – it looks like there was a formatting issue on my end – one too many Angle brackets in the pasted code above – Try this:

    <body <?php body_class(); ?>
    
    
    #103420
    Patrick Scriven
    Participant

    I’m still having the even with the modified code. This is the code in the header.php file sans the additional line.

    http://snippi.com/s/djgy09q

Viewing 15 posts - 1 through 15 (of 18 total)
  • The topic ‘Next Month Links not Working’ is closed to new replies.