Hello,
I found a solution. You can do it using this code. I have created a menu with categories :).
add_filter( ‘wp_nav_menu_objects’, ‘hide_empty_categories_from_menu’, 10, 2 );
function hide_empty_categories_from_menu( $items, $args ) {
foreach ( $items as $key => $item ) {
if ( $item->object == ‘category’ ) {
$category = get_category( $item->object_id );
if ( $category->count == 0 ) {
unset( $items[ $key ] );
}
}
}
return $items;
}
Can i send on PM link of my site?
Thank You
Why you do not help only me?
Can you help me?
Regardin css… I know, but this is request from our client!
I was find here that css code: /wp-content/themes/Newspaper/includes/td_css_generator.php, but if i delete doesn’t make any changes, still shows in view source…
Please kindly give me one option if it is possible to remove these lines of css code, this is very important for us…
Hey Bogdan B.
Regardin CSS this is not compile code from my settings in theme panel, but I can’t know from where it is… my site don’t have connections with woocommerce or bb-forum, so for us is very important to remove some of css not used on our site.
1. Is possible crop all images in desktop with dimensions: 780 x 439px?
2. ok, i am checking
Thank you again for your support!
Please try on your demo and tell me how to do. All what i need is to remove css (from view source) that do not use in my site.
Also i have other questions
1. How to set standard dimensions for featured images (I am using POST TEMPLATE STYLE 2)
2. I have installed SSL for my site but if i search with http everything is okay but if i search with https:// images and css are not working properly
Thank You!!
Hello Bogdan B.
Thank you for your answer. I tried but still same… still showing on view source under “<!– Header style compiled by theme –>
”
Thank You
Hello there,
please do not misunderstand me. In our country is this culture… if people seen that we are using purchased template for our website, immediately he make criticisms. Your theme is the best theme I’ve seen and for this reason i have purchased.
Hope you undersand me what i mean…
Thank you the best theme 🙂
Sorry but I’m disappointed with it you have named all classes with ‘td’. Put on your mind, we are purchasing this theme, and we don’t like everyone to know that we have purchased and have same theme with all others website. I have tried for more than 2 weeks to find and replace this ‘td’ name but he is causing too much problems after that.
Hi,
1. Okay, I understand
2. I mean to remove “About Us” and “Follow Us”, not to translate
3. For me this works:
@media (max-width: 500px) {
.td-theme-slider.iosSlider-col-3 .td-module-title a {
font-size: 18px;
line-height: 2px;
}}
@media (max-width: 500px) {
.iosSlider-col-3 .entry-title.td-module-title {
line-height: 24px;
}}
Thank You the best theme 🙂
also how can i remove fade in effect of images in this slider… i need to have no effect in hover when i set mouse to photo
I like to make similar with slider of this page: http://www.thetimes.co.uk/
Thank You
Hi,
1. I understant that it would not be easy to change, but can you help me to do that?
Actualy height size i have changed to 250px and this is fine but image in to slide still is in old dimensions… how to fit it?
2. This is a clear
3. For example if i change .td-medicine from demo_style.css and I save, it cause any problem in my site? Can you tell me if after that i need to make changes in another file of my site also?
*Sorry for my Englisht… hope u unterstand me!
Thank You
Any answer please?
Thank You
I give you 5 *. I’m very happy with your support
Thank You 🙂
Hi,
I have send email.
Thank You
How can i send to PM?
Thanks
Hi,
How can i set style on css like as in picture, but only for sidebar… If i change from block headers style it will effect all of the site but i need to change only for sidebar… Thank You! :))
Hi Catalln,
But i don’t like to make also for Block Title of side bars… hope u understand what I mean. Thank You! 🙂 