Hi
Try this code in functions.php file and add the id of category that you want to be displayed:
function exclude_category($query)
{
$query->set('cat', '-29, -23');
return $query;
}
add_filter('pre_get_posts', 'exclude_category');
Thanks!
Hi
I am not aware of the changes that you made in theme files and I can’t say how they affect the theme’s functionality. Try to revert the changes that you made in panel area, one by one, and see which create issues.
Unfortunately we can’t offer any customization services at the moment so if you can’t do this by yourself my advice is to look for someone to help you or hire a freelancer from sites like http://studio.envato.com/
Thanks!
Hi
I am not sure what you mean, please provide more details and a link where I can inspect this issue.
Thanks!
Hi
Please check this link, here are some useful informations in this regaard: https://www.siteground.com/tutorials/wordpress/wordpress_category.htm
Thanks!
Hi
Thanks @Chris S for your answer.
@tradenet to get the shortcode of an element from Visual Composer just switch in backend editor after you added the element into a page: http://screencast.com/t/ksXi4zyLc4ex – http://screencast.com/t/JLpRq3nD
Thanks!
Hi
Replied you here: https://forum.tagdiv.com/topic/installing-newsmag-demos-fail/
Thanks!
Hi
Unfortunately this error could come from a big number of problems. It is a general error and we cannot point it to a specific thing. I believe it happens due to your server configuration which is not responding, it could be due to a delay or it could also be a temporary issues so you can try this a few times and if you still get this error please contact your host provider and let him know about this, ask them to unblock our demo in order to retrieve the theme data. It could also happen due to your wp install or other plugins might also cause this so you could also test this on a fresh wp install and let us know if you still get the same result. Also make sure that your permission for the upload folder are set correct. You can check this by trying to upload an image in media library. If the process succeeds then the permission are ok. If not you can use the c-panel to change permissions (set them to 777) or if you do not have access to the cpanel, please contact your hosting provider.
Thanks!
Hi
You can add this code in loop-single-7.php like here: http://screencast.com/t/Q5KkKi6tsH
<?php
// override the default featured image by the templates (single.php and home.php/index.php - blog loop)
if (in_category('your-category-name/slug-or-id')){
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
echo $td_mod_single->get_image('td_640x480');
}
}
?>
Just add your category name or slug or id in the first condition. To get the category id follow this link: http://screencast.com/t/gvpydfeCuIu
Let me know how it goes!
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hi
The only change that must be done is at point 1: the new nav-menu must be registered in td-menu.php
like this: http://screencast.com/t/qqX2Ht3AFOlo The steps 2 and 3 are the same.
Thanks!
Hi
I am not sure what you mean so please provide more specific details about what you’re tying to do and maybe I can help you. Meanwhile the news tiker can be edited from Visual Composer: http://screencast.com/t/qMumrdahJa
Thanks!
Hi
You can change the front page from Settings > Readings: http://screencast.com/t/28MwIVsCYW Just change the actual page with another one.
Thanks!
Hi
Thanks for the suggestion. Our themes already have a responsiveness system implemented but we will try to improve it in the feature. Our developers will analyze this new WordPress feature and how can be used to improve the themes functionality.
Thanks for the message!
Hi
The solution I provided works fine on my side: http://screencast.com/t/rNqRKaco – http://screencast.com/t/Vzsa4lwhyH It could be a cache issue so please make sure that you empty all caches then test again.
I’ve looked over your site and the following are translated in Spanish:
1: http://screencast.com/t/aJBa1QPIkcW
2: http://screencast.com/t/WjuVDPrji2So
3: http://screencast.com/t/xvXYD63IYdAW
4. I couldn’t find a drop-down widget on your site and I am not sure how you tried to create it. However the translation from theme panel applies only for this parts: http://screencast.com/t/6lZE9wqL
Thanks!
Hi
I’ve tested you’re code in child theme and works fine on my side: http://screencast.com/t/tdFHg1x6cI I am not sure why this code doesn’t work on your side but you can try to remove any other customizations from child theme, or also try to deactivate the child theme and insert the code in functions.php in parent theme.
Thanks!
Hi
You need to edit td_module_single_base.php and add a condition like here: http://screencast.com/t/6PmoFo2Lwvd
if (td_util::is_ad_spot_enabled('content_top') and is_single()) {
if (in_category('you-category-name')){
echo do_shortcode('[td_block_ad_box spot_id="post_style_1"]');
}
else {
$content = td_global_blocks::get_instance('td_block_ad_box')->render(array('spot_id' => 'content_top')) . $content;
}
}
You need to replace your-category-name with the name/slug of your category.
Thanks!
Hi
I am not sure why this happens but it could be a cache problem. Try to clear all caches, deactivate all others plugins except Visual Composer, just to make sure that there is no conflict with some other plugin, then test again.
Thanks!
Hi
I’ve checked your site and the theme works fine. On the indicated page you don’t have any content to be displayed, you have only a sign up form: http://screencast.com/t/jDlHBxudAY Also others pages are displayed fine: http://screencast.com/t/vcogrygK3qFU
If this is not what you mean please provide more specific details about this issue so I can inspect it closer.
Thanks!
Hi
Glad you could manage to solve it!
Thanks for letting us know and for your message!
Hi
Please check this topic, I’ve posted a solution here: https://forum.tagdiv.com/topic/different-header-ads-on-each-page/
Thanks!
Hi
I am not sure I understand your request. Please provide more specific details about what you’re trying to do, also some screens pointing the desired result or your site url would be helpful.
Thanks!
Hi
You can try to keep the number of the thumb types used on the site as low as possible then deactivate the thumbs which are not used from theme panel > block settings: http://screencast.com/t/f33XshooOx In order to keep the thumbs type number low you have to use the same blocks and modules for every page. For example you can chose 2-3 blocks and use them on every page. Like this you will need only the thumbs used for those blocks, not all available thumbs. Also for post displayed by the loop.php file, like those from category page, archive page or latest article part you can use a module already used by the blocks from your pages.
A practical example will look like this:
– if i build a page with page-builder + latest as page template, and also i use block 1 on that page, the number of thumbs types used will be equal with 1. For every post the theme will use module 1 which have a thumb by 300x160px: http://screencast.com/t/XJRUBrkcN – http://screencast.com/t/dQ4Io1kXg
This is just a basic example pointing the way in which you can reduce the thumbs types used on the page. You can combine 3-4 or more blocks which have at least one commune module. You can check which module it’s used for a specific block here: http://screencast.com/t/m2AWJrkM Make sure that you deactivate all unused thumbs from theme panel then regenerate your thumbnails using the Force Regenerate Thumbnails plugin. The plugin will delete all the images corresponding for the thumbs which are deactivated from theme panel.
This can be a tricky task but it’s the only way to reduce the size of uploads folder.
Hope this help.
Thanks!
Hi
You can select the image position in post content using this options: http://screencast.com/t/9ydjlCdyRm For more details please check this links, here are explained the steps you need to take in this regard: https://www.webhostinghero.com/how-to-properly-wrap-text-around-an-object-wordpress/ http://www.templatemonster.com/help/wordpress-wrap-text-around-image.html#gref
http://www.wpbeginner.com/plugins/how-to-add-multi-column-content-in-wordpress-posts-no-html-required/
Hope this help.
Thanks!
Hi
Please check our documentation regarding posts with pagination here: https://forum.tagdiv.com/newsmag-posts-with-pagination/
Thanks!
Hi
The smart list weren’t designed to display ads, that’s why they don’t appear. We intent to add new smart list types, which will include ads in smart lists, in the next theme’s updates. It will be something similar with this smart list from Newspaper: http://demo.tagdiv.com/newspaper/10-landscapes-wont-even-imagined-exist/
Thanks!
Hi
I am not sure what you mean so please provide more details about this and also a link where I can inspect it.
Thanks!