Support

Account

Home Forums Front-end Issues how to display page link with link text

Solving

how to display page link with link text

    • ytkah

    • July 11, 2019 at 6:48 pm

    We add a field (field type: page link, filter by post type: page, Select multiple values: yes),now we want to display like this,how to coding

    <a href="a.com/page1">this is page 1</a>
    <a href="a.com/page2">this is page 2</a>
    
  • This is explained in the documentation https://www.advancedcustomfields.com/resources/link/. Let me know if there’s something you don’t understand from there.

    • ytkah

    • July 12, 2019 at 10:57 am

    field type is page link, not link

  • The page link field does not have a text component, you would usually use another field to allow entry of the link text. https://www.advancedcustomfields.com/resources/page-link/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.