Home › Forums › Calendar Products › Events Calendar PRO › "View More" link not working
- This topic has 9 replies, 2 voices, and was last updated 10 years, 5 months ago by
Cliff.
-
AuthorPosts
-
November 10, 2015 at 12:26 pm #1023895
Sheila
ParticipantI 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?November 10, 2015 at 12:43 pm #1023902Sheila
ParticipantI 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.
November 10, 2015 at 9:11 pm #1024035Cliff
MemberHi 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?
November 11, 2015 at 9:29 am #1024257Sheila
ParticipantThanks 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?
November 11, 2015 at 12:59 pm #1024326Cliff
MemberGlad to help and thanks for the details.
So this means you have a theme conflict.
- Either your parent theme is conflicting
- 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.
November 11, 2015 at 6:30 pm #1024429Sheila
ParticipantWhen I activate the Parent theme, the link is fixed. So it’s something in the child theme’s “tribe-events” folder?
November 11, 2015 at 6:50 pm #1024432Sheila
ParticipantAnother 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?
November 12, 2015 at 1:38 pm #1024925Cliff
MemberThanks 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:

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.
November 13, 2015 at 8:29 am #1025370Sheila
ParticipantThat’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!!
November 13, 2015 at 11:07 am #1025419Cliff
MemberExcellent! Good job tracking that down.
-
AuthorPosts
- The topic ‘"View More" link not working’ is closed to new replies.
