I created a CPT and ACF for a website. On my archive-cpt.php page I only want the post titles showing (not the content) I used
remove_action( 'genesis_post_content', 'genesis_do_post_content' );
on the archive-cpt.php page but the content of the post is showing on this page. Is there a way to only show titles and then show content on single-cpt.php page? (the content works fine on the single page)
If the content is still showing you may be using html5? The hook has changed so you need to use
remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
Need a custom Genesis Child Theme? http://wpzombies.com
I tried that but it’s not HTML5. I’m using the education child theme
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.