Support » Plugin: Custom Content Type Manager » How to display post title on relation field

  • Resolved sandras21


    Thanks for great plugin! I created 2 custom content types – books and authors. Now I want to display name and link to specific author under the books. I made custom relation field for that and set as output filter “Link href only”. However it displays link to specific Author but how could I change it so, that the name of the link will be taken from the Title field of Autor posts?
    $hrefs = get_custom_field(‘Autor:to_link_href’,’’);
    foreach($hrefs as $h) {
    printf(‘What shall i write here?
    ‘, $h);

    Thanks for advice:)

Viewing 1 replies (of 1 total)
  • sandras21


    figured it out, it was about output filter, got it working when set filter to Full link.

Viewing 1 replies (of 1 total)
  • The topic ‘How to display post title on relation field’ is closed to new replies.