Support

Account

Home Forums ACF PRO Page Link fields without mandatory "Archives" option

Helping

Page Link fields without mandatory "Archives" option

  • ACF Pro needs to have the ability to create Page Link fields that only show the requested post types, not an un-requested “Archives” header. This was how they worked in previous versions of ACF.

    As it is, I simply can’t ship the projects that I’ve upgraded to ACF Pro because of this issue. There can’t be a 100% useless, wrong choice in every Page Link field in every part of my design.

    Are there plans to fix this soon? Am I missing some way to fix is that already exists?

  • Hi @pmcurtis

    Why not change the field type to post_object. This will remove the ‘Archives’ choices, and only show posts.

    Your code will need to change slightly to use get_permalink( $post_id ) where $post_id is the selected post ID.

    Thanks
    E

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

You must be logged in to reply to this topic.