when i put custom post id or custom categories id to widgets or to shortcode it is doesn’t work
sorry for my english
the theme only work with normal category. not cpt tax or category.
new version had filter on the featured category query. just choose any category and saved the theme option and add this to your custom functions.php or wp-content/meso-custom-functions.php
let’s say you want a custom post type for first feat block.
function meso_custom_featname() {
$query = 'My Device';
return $query;
}
add_filter('meso_featcat_name_one','meso_custom_featname');
function meso_custom_featlink() {
$query = 'http://yoursite.com/device/';
return $query;
}
add_filter('meso_featcat_link_one','meso_custom_featlink');
function meso_custom_featquery() {
$query = 'post_type=device&showposts=5';
return $query;
}
add_filter('meso_featcat_query_one','meso_custom_featquery');
thank you very much!
so it’s mean that i cant add variable custom posts to sidebar for example?
affaid you can’t for theme builtin sidebar featured cat widget. alternative wp plugin might be more convenient.