Custom Fields
Re-Envisioned
Support General WordPress Post custom field link

  • Creator
    Topic
  • #22986
    Resolved Eliodata
    Participant

    Hi,

    I am using the custom field “WordPress” > “Posts” to display an select advanced list of cpt (multiple choices is enabled). Is it possible to display the selected items as a link which could be opened in a new tab please?

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #22991
    Long Nguyen
    Moderator

    Hi,

    The field post save the post ID in the database so you can use the function get_the_permalink() to get the link of the post ID. It just likes the sample code https://docs.metabox.io/fields/post/#template-usage.

    #22994
    Eliodata
    Participant

    Thank you for the very quick answer!
    Same problem as the other topic.
    I don’t want to display the link on front end, but on the edit post / user relationship metabox.
    Maybe I didn’t understood your answer, I am not a dev, sorry. And I would understood if this this question is beyond the scope of your support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.