issue showing related Actors
-
Hello. First: Excellent piece of work this plugin!
I followed the instructions to create two post types: episodes and actors. On Episodes I created a relation type of field to actors, generated a new single-episode.php.
Then I related two actors to 1 episode, but the post shows ‘Click Here’ instead of the names of the actors. Code is as follows:$hrefs = get_custom_field('actors:to_link_href','https://yoursite.com/default/page/'); foreach($hrefs as $h) { printf('<a href="%s">Click Here</a><br/>', $h); }
Please help,
Thanks!https://www.ads-software.com/plugins/custom-content-type-manager/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘issue showing related Actors’ is closed to new replies.