Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1244479

    Hello Enfold Support Team,

    This is a two part question :

    I have a custom post type named “Journal” . This custome post type has a custom field with slug “wpcf-field_link_url” which has an external url(each post has different url)

    Part 1:
    when I go to the archive page for this custom post type (arhive-journal.php – same as archive.php no customizations done), I am shown all the posts related to this post type.
    When I click on “Read More” or the “title” , it navigates me to that Custom Post’s single page view i.e. by default we get taken to the Custom Post (single-journal.php which has same code as single.php – no customizations yet).

    Question 1:
    How do I change the Link to point to the custom field “wpcf-filed_link_url” when clicked on “read more” and “title” instead of the self link

    Part 2:
    When i go to the single page view of the custom post type , (single-journal.php which has same code as single.php -no customizations yet) i am shown the feature image , title, description etc.
    The featured image and title are links which point to the same page.

    Question 2:
    How do I change the link for the title and image in Single custom post view to use the url defined in custom field “wpcf-filed_link_url” i.e. when Title or Image is clicked in the Single post view, it needs to open the link defined in custom field “wpcf-filed_link_url”

    NOTE: I have use toolset plugin to create custom posts and custom fields and manually created the single-journal.php , but could create the Display i wanted. On reading many forums i realized that Enfold theme is not compatible with toolset plugin. so i am not able to create a view from front end and now i am trying to make changes in template files directly.

    • This topic was modified 3 years, 6 months ago by abhi. Reason: provided additional info
    #1245036

    Hey, can someone please help me out? i think i provided enough detail and havent received a response yet

    #1245044

    you can close this out. i figured on how this can be done

    #1245315

    Hi abhi,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Redirect each Custom Post Type URL to an exernal URL defined as custom field’ is closed to new replies.