Home › Forums › General Issues › Archive / Listing as selectable 'Page' › Reply To: Archive / Listing as selectable 'Page'
you can add custom post type where wp will create posts when you create taxonomies and than create template for this post type but its a very long way =)))
function taxpostcreate( $a,$b,$c )
{
$post = array(
'post_name' => 'term'.$b,
'post_title' => 'term'.$b,
'post_status' => 'publish',
'post_type' => 'terms_scrapyard',
'post_excerpt' => $b,
);
wp_insert_post( $post, $wp_error );
return $a;
}
add_filter('created_term', 'taxpostcreate', 10, 3);
something like that
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.