Custom post type linking
-
Hi folks,
I have an odd one. I use a custom post type to display Courses for my aikido club website. On Chrome the links work fine, on some other browsers, I’m looking at you Safari, display the completely wrong template.
I have other custom post types on the same site that work fine.The url is westmidlandsaikido.org.uk
At the top of the site is a green box with the next course linked in it. That link should point to https://westmidlandsaikido.org.uk/courses/west-midlands-aikido-summer-school-2017
That link is made up by getting the slug or the post type and adding the slug of the post to it. The get_permalink() wouldnt return the “pretty” url.
Why is it that the site doesn’t work sometimes?
Thanks
- The topic ‘Custom post type linking’ is closed to new replies.