Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
marc_antonio
tagDiv Member

hanks. Please consider that Megamenu works fine with Custom Posts when they are registered on Custom taxonomies.

Only it doesn’t work when Custom Posts are registered on WordPress standard categories.

marc_antonio
tagDiv Member

It is difficult to show the problem with a video. It is easier with a list:

1- created custom post type called “evento”
2- registered custom post type on standard categories with following code:

function add_categories_to_custom_post_type() {
register_taxonomy_for_object_type(‘category’, ‘evento’);
register_taxonomy_for_object_type(‘category’, ‘luogo’);
}
add_action(‘init’, ‘add_categories_to_custom_post_type’);

3- It works fine, I mean that I can add standard categories to custom posts. It works when I filter custom posts and categories with Big Grid Flex and other Newspaper theme functions

4- created menu including standard categories and set as Megamenu

5- Megamenu only show standard posts related to categories (custom posts related to same categories do not appear in Megamenu)

marc_antonio
tagDiv Member

Hey guys, why the theme is no more on Envato Theme Forest?

Viewing 3 posts - 1 through 3 (of 3 total)