Show category label in grids for custom post types

Posted in: Newspaper
Post count: 41

Hello

I am using
register_taxonomy_for_object_type ('category', 'page')
and
"taxonomies" => array ("category")
when creating a custom post type ‘program’. I need to show the labels of the categories in the grids.

http://prntscr.com/pmi6wy

In the plugins file -> td-composer -> legacy -> common -> wp_booster -> td_module.php on line 605:
$ builtin_post_types = get_post_types (array ('_ builtin' => true));
It does not allow to obtain the categories used in ‘page’ and ‘program’.

Is it possible to show category labels on grids with any template settings?

‘_builtin’ => true does not allow obtaining all post types, only WordPress natives.

Best regards

Joseph

Post count: 35449

Hi,

You can cater template for custom post types, but this will be display only instead the post, if you want to have the category on the block/module then you can achieve this only with custom work.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.