• I’m creating a site for an annual lecture series (https://slatermaguirelectures.ca)and want to display links to external sites for lecturers online works in each lecturer post.

    I’ve created a custom post type for lectures but I’d like to add a place in the admin of custom post type for the user to add several external links that would display on the specific post. I’d like the user to input the name of the link and the url in separate metaboxes, but only display the link name on the site – like the built in link manager does.

    Any thoughts appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • https://www.advancedcustomfields.com/

    Use the above to do stuff like that all the time. Set up a field group with either multiple text boxes for as many links as you want to allow (or just use the handy Repeater field type). For the field group, you can set ACF to only put those text boxes for Post Type of Lectures.

    Make sense? Great tool that I use on almost every site I build now.

    Thread Starter Don Betts

    (@dbetts)

    I’ll check it out. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add links metabox to custom post type’ is closed to new replies.