custom post type

Remove featured image on custom post type

I have a custom post type called finalists, which has a featured image (which I want to display elsewhere). I have tried this code to remove the featured image but can’t get it to work. Do you have any ideas. add_action( 'after_setup_theme','generate_remove_single_featured_images' ); function generate_remove_single_featured_images() { if ( is_singular( $post_types = 'finalist' ) ){ remove_action('generate_before_content','generate_featured_page_header_inside_single', … Read more

Specific display for custom taxonomie

Hello, I use this plugin : https://wordpress.org/plugins/custom-post-type-ui/ For a specific taxonomies i want display (or not display) the elements (sidebar, read more) I think make a copy og archives.php but after ? what is the process ? Thx

Making custom post type looking as normal single post (first)

Hi Tom, i’m going crazy to create a custom post type looking like normal single post. I’ve created a custom post type, copied your single post template (single.php) and content-single.php. After naming the copy as my post type e.g. single-test.php it is used as wanted. But: After the the title there’s no author and date … Read more

Custom post type portfolio – show categories

Hi again Tom, I am deeply into making GP and especially the blog add-on work for custom post types and in particular portfolio. I am using the portfolio post type plugin, and the masonry layout and added this to my child theme functions to make the masonry layout work. `add_filter( ‘generate_blog_masonry’,’generate_adjust_masonry’ ); function generate_adjust_masonry( $masonry … Read more

Custom Post Type – Current Page

Hi Tom Am using GP with a child theme for a new project I’m working on. Have created several Custom Post Types and when I go to a Single Custom Post Type, the News button (I assigned my News page to list my Blog entries) on the menu displays as the current page. So in … Read more

archive.custom-post-type.php not working?

I’ve copied and renamed from the parent theme to the child theme… This is all I get… Oops! That page can’t be found. It looks like nothing was found at this location. Maybe try one of the links below or a search?

How do I create a CPT archive page that lists all my CPTS?

How do I create a CPT archive page that lists all my CPTS like archive.php does for my categories? My CPT is called “profile” and so I copied the archive.php file into my child theme and renamed it archive-profile.php but it ain’t doin’ nutin’. WP says this… archive-{post_type}.php If your custom post type were ‘product’, … Read more