Broken Links
-
I have a broken link issue similar to forum topic: https://ww.wp.xz.cn/support/topic/broken-links-60. This is what they said below:
Hi,
I have just configured eventbrite API on a new website I am working on. I am able to retrieve the posts but the links are broken. They show up as http://www.mydomain.com/home/event-title but I would like the posts to be linked to the original eventbrite content.
How can I achieve that?
Here is my test site: http://hakafitness.net/test-site/site/eventbrite-api/
Right now, the links on the event list page are broken and won’t go to the single event page. I would rather have the title links on the event list page link back to the event on Eventbrite.
I am not sure what your answer meant in the previous forum topic below:
If you just want to change the event titles to link directly to Eventbrite, rather than the WordPress single view, you can use the post_pink filter in a new plugin, as we do here: https://github.com/Automattic/eventbrite-api/blob/master/inc/class-eventbrite-query.php#L30
Where do I need to add this new code? Did you mean I need to create my own plugin first?
The topic ‘Broken Links’ is closed to new replies.