"View More" link not working

Home Forums Calendar Products Events Calendar PRO "View More" link not working

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1023895
    Sheila
    Participant

    I found another thread about this, but most of the information in the conversation was marked private so I couldn’t make use of it. Can anyone help? I am using AMR Any Shortcode to put the shortcode for the Events Calendar Pro Mini Calendar into my homepage, in a block in the center of the page (rather than in a sidebar). (I tried using one of the Events Calendar Pro widget shortcodes, but that was not effective)
    However, the “View More” link below the calendar just takes me right back to the homepage, rather than to the full calendar. How do I get it to take the viewer to the full calendar / events page?

    #1023902
    Sheila
    Participant

    I used the Events Calendar Pro widget shortcode, and I do have the same problem: the “View More” link won’t connect to the calendar page.

    #1024035
    Cliff
    Member

    Hi Julianna.

    I tested the Events List widget on my local site and the link “View More…” link works correctly.

    Could you try temporarily activating the default Twenty Fifteen theme, and seeing if the issue persists.

    If disabling the theme fixes it, we have narrowed the issue down to a theme conflict. Do you have any theme overrides for the Events Calendar? If so could you try disabling them by renaming your [themename]/tribe-events/ folder to ‘tribe-events-bak’. Did that fix it?

    If the issue persists in the default Twenty Fifteen theme, then we have a different set of debugging steps. Please keep the Twenty Fifteen theme enabled, and also disable any plugins other than the ones from Modern Tribe to see if that fixes it. If it does, please try re-enabling the plugins one at a time until the issue resurfaces. When it does resurface, can you let me know which plugin caused that to happen?

    #1024257
    Sheila
    Participant

    Thanks for your response and your help!
    – Disabling my theme, and activating Twenty-Fifteen, works!
    – Renaming the theme override (tribe-events-bak) also works, when I re-enable my theme.

    Now what? How do I keep my overrides, but get the link in the widget to work correctly?

    #1024326
    Cliff
    Member

    Glad to help and thanks for the details.

    So this means you have a theme conflict.

    1. Either your parent theme is conflicting
    2. Or your child theme’s “tribe-events” folder is conflicting

    Please test this scenario for me:

    • If you activate the Parent theme (without any “tribe-events” folder in it), is the link fixed?
    • If yes, then enable the Child theme (the one with the “tribe-events” folder in it). Is the link broken now?

    Once we figure out the source of the problem, we can address the issue.

    #1024429
    Sheila
    Participant

    When I activate the Parent theme, the link is fixed. So it’s something in the child theme’s “tribe-events” folder?

    #1024432
    Sheila
    Participant

    Another clue: I started to go through and rename all the folders in the “tribe-events” folder, one by one, with a -bak, to see if I could figure out where the conflict was. It seems that the conflict is in the tribe-events/pro/widgets folder, and is in the list-widget.php file. When I rename that file to list-widget-bak.php the “view more” link works — although the display of the widget is, of course, messed up. Next?

    #1024925
    Cliff
    Member

    Thanks so much for narrowing down the issue. Great job!

    Here’s a screenshot of the code from /wp-content/plugins/events-calendar-pro/src/views/pro/widgets/list-widget.php that generates the “View More” link in that widget:

    Screenshot 2015-11-12 15.34.57

    See that $link_to_all ?

    Your child theme’s list-widget must have something different there — or is affecting what that variable is set to.

    One option is to debug your child theme widget and figure it out.

    Another option is to copy the list-widget.php file from PRO plugin folder to replace your current child theme list-widget.php file — and then make your modifications all over again.

    I hope this gets you on your way! Let me know if you need anything else.

     

    #1025370
    Sheila
    Participant

    That’s it! For some reason that piece of the php code was missing the _e just after the esc_attr portion. Now it works. Thank you very much!!

    #1025419
    Cliff
    Member

    Excellent! Good job tracking that down.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘"View More" link not working’ is closed to new replies.