javascript - Add a "select link of an existing content" to a metabox in wordpress -
i building wordpress template , insert slider on home page call action . i'm using carousel bootstrap , custom post type . in administrative part of custom post type added metabox has input insert link goes in button displayed in slide . include in metabox ability select dropdown list links existing page or post or cutom post type of website. there way without having create loop displays pages , posts ? function wp_dropdown_page ? in advance help
one solutions use cmb2 manage metaboxes.
https://github.com/webdevstudios/cmb2 or https://github.com/humanmade/custom-meta-boxes
with plugin can make easy nice metaboxes autocomplete , on.
Comments
Post a Comment