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 :)
624alicante
tagDiv Member

ok find the solution in other tread

https://forum.tagdiv.com/topic/mobile-theme-categories-are-the-same/

Thanks anyway this works for me

624alicante
tagDiv Member

yes i know this, its also already discussed in some forum treads here, but i hope some one can take a view on this issue and give many people here a solution for this problem.

624alicante
tagDiv Member

Hi there i have some functions code but it not real works any idea of that:

/**
* Hide categories under “Latest Articles” in Newspaper Mobile Theme.
*/
function hide_newspaper_mobile_cats( $query_args ) {
if ( td_is_mobile() && is_home() ) {
$excluded_categories = array( 5, 6 );
$query_args[‘category__not_in’] = $excluded_categories;
}
return $query_args;
}
add_filter( ‘pre_get_posts’, ‘hide_newspaper_mobile_cats’ );

624alicante
tagDiv Member

ok thx i guess was a cache issue

624alicante
tagDiv Member

Hello,

i have the same issue, it works on desktop version but on Mobile theme the custom css does not work to hide the views.

Any other css for?

Thanks alot

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