How to add a page to "Post grid to columns"

Closed
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme February 14, 2020
Login to reply
Igor Sunz Support Agent
4 years ago

categories break logic for purpose of Pages. So, I don't know what you do and why.

Please, note, that customization help is only for buyers with actual support. Currently, you can expect only help with possible bugs of theme

https://themeforest.net/page/item_support_policy

keiji maeda commented privately
Igor Sunz Support Agent
4 years ago

Your last question is not clear. Please, send details

keiji maeda
4 years ago

How do I display "Pages" instead of "Posts"?

Igor Sunz Support Agent
4 years ago

the same option is available in all post modules of wp bakery page builder

keiji maeda
4 years ago

I do not use elementers.

It is heavy.

Please tell me how to solve it only with visualComposer.

keiji maeda
4 years ago

What is this image?

Where can I do this setting?

Igor Sunz Support Agent
4 years ago

all post modules has option to choose post type https://share.getcloudapp.com/JruWA2rl

keiji maeda
4 years ago

What code should I add to functions.php to list pages instead of posts in visualPoster's "Post grid in columns"?

I have added the following code: But not displayed. Please tell me how.


add_action('init','add_categories_for_pages'); 

function add_categories_for_pages(){
   register_taxonomy_for_object_type('category', 'page');
}
add_action( 'pre_get_posts', 'nobita_merge_page_categories_at_category_archive' );
function nobita_merge_page_categories_at_category_archive( $query ) {

if ( $query->is_category== true && $query->is_main_query() ) {
$query->set('post_type', array( 'post', 'page', 'nav_menu_item'));
}
}