Hi,
If you want to change the FEatured category from Mobile Theme, you need to make some change into the core, like here -> https://www.screencast.com/t/lj0DjbbHdaN
Thanks.
Hi,
I have tried to change the Featured category as indicated by the image:
http://folhanobre.com.br/wp-content/uploads/2019/03/2019-03-22_1333.png
I have also changed the name to the new category here:
http://folhanobre.com.br/wp-content/uploads/2019/03/config-01.jpg
But it has not worked, what else should I modify?
Thanks.
-
This reply was modified 7 years by
tec99. Reason: Error image
Hi,
In that section, are talking about the type of your sort order like FEatured, Latest, ASC, DESC and not the slug of the category. If you want to do this, you need to add a category_ID parameter. Please check the following useful topic from here -> https://forum.tagdiv.com/topic/mobile-theme-featured-posts/
Thank you!
Hi Catalin,
Thanks for the reply.
I made the modification in the file by placing the category ID as follows:
<?php
//show mobile grid only if Featured cat exists
if ( get_cat_ID(TD_FEATURED_CAT) !== 0) {
echo do_shortcode('[td_block_big_grid_mob_1 category_id="29" sort="featured"]');
}
?>
<?php the_content(); ?>
But when wanting to use only the posts in the category (id=29) are not shown in the Theme Mobile.
I’m forgetting to do something?
Thanks.
Hi,
Probably, you do not have posts from that category added in the Featured and that’s why does not work. Try to change the sort order to the latest and check the results. -> https://www.screencast.com/t/J6zTtGq7YlU
Thank you!
