How to Hyperlink a Post Object?
-
Hey Eliot!
I am needing to find out if something changed on creating a link to a Post Object since the shortcode shakeup a while back with WordPress.
I have my code setup like this (see below) and I can’t get it to create a hyperlink related to the post object selected in my custom post type. (Using ACF to setup the fields BTW). The post object links used to work and just recently was notified by some of my website patrons that the link just takes them back to the same post/page they were on originally.
[related field_name] <a href="[field url]">[field title]</a> [/related]
If I just put
[related field_name][field url][/related]
it returns the URL to the post object as text. I just can’t get it to work as a link in HTML.Thanks,
Jerrad
- The topic ‘How to Hyperlink a Post Object?’ is closed to new replies.