- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
Thanks – I used that (or another example) and it worked fine, just wondered if there was an easier way using a child theme. Most of my changes are not progmatic, just simple things like altering the thumbnail size or similar, so I’ll continue with the API method.
Hi,
I have checked you site and you use a very old version of the theme, I suggest to update the the latest version 6.6.4 and also update the plugins that come with the theme from /plugins folder – https://forum.tagdiv.com/whats-included/ This issue was fixed in the latest theme version 6.6.4 – http://screencast.com/t/lIM4vyup9xE5
If you want to update the theme I suggest to consider it like a new theme as you have version 3, you cannot use the script to import the theme settings rename the shortcodes like it is specified in the docs for updated from version 4 – https://forum.tagdiv.com/how-to-update-the-theme-2/ so you should threat it like a new theme, recreate your homepage and go through the theme settings to reconfigure it.
If you don’t want to update and you want to use the current version, you should consider to not do any updates even to wordpress and also to the plugins that you use as they could cause issues.
There is also a quick fix for this, but also this is provided for version 6 of the theme. You could adjust this code and add it to your functions.php file – https://forum.tagdiv.com/topic/wordpress-4-4-1-pagination-new-fix/ Try this code, it might work:
add_filter('redirect_canonical', 'td_tmp_fix_wp_441_pagination', 10, 2);
function td_tmp_fix_wp_441_pagination($redirect_url, $requested_url) {
global $wp_query;
if (is_page() && !is_feed() && isset($wp_query->queried_object) && get_page_template_slug($wp_query->queried_object->ID) == 'page-homepage-loop.php') {
return false;
}
return $redirect_url;
}
Please consider to update the theme in near future as you may have other issues with the theme if you update the plugins that you use, wordpress..and we always use the latest version of the theme to help our clients and we provide fixes for problems occurred, like in this case wordpress latest version.
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
Hello manoj,
Please make sure you do not have used a background image/color because, in this case, our theme will switch to boxed layout, like this -> http://screencast.com/t/hR7Tse39 ->the theme width is ->1068 px
Unfortunately, our theme has not been designed to have such option. If you want to increase or decrease the width of the theme, all the layout will be broken and it is necessary to do a lot of customizations for a better look. Below, I gave you an example with your width desired and you can see how it look -> http://screencast.com/t/AEfGItAO
Hope this helps!
Thank you for your understanding and sorry for the inconvenience!
I don’t find a way to category wide removal of date stamp or author name. For example, is there any way to not show post dates on all posts in a particular category?
Hello Dariob,
If you want to have some pages without the menu, you have to use a bit of CSS to hide it for your desired page with your page ID. Please try the code below and add it in Theme panel->Custom CSS area.
The code is ->
.page-id-38 .td-header-main-menu {
display:none;
}
Above, I gave you an example for a random page and I have presented you how you can hide the menu for a certain page. Please try this and implement into your website.
The result you should see here -> http://screencast.com/t/uF8uXrez -> http://screencast.com/t/6lFSMSUH4
Hope this helps and let us know how it goes!
Thank you for the message!
Hi,
Thank you for helping me. But I don’t mean on block, I mean within a post. For example: I have the categories “AttualitĂ ” and “Primo Piano”. I want hide “Primo Piano” within posts.
Best Regards!
DA
Hello eduardopfreire,
If you want to change the structure of the post date, you have to alter a bit the core file. You have to use this snippet of the code <?php echo human_time_diff( get_the_time('U'), current_time('timestamp') ) . ' ago'; ?> and add it in loop-single file according with post template used like this -> http://screencast.com/t/lvlTAetg10o2 and the result you should see here -> http://screencast.com/t/jOfns1UptQ
Hope this helps and let us know how it goes!
Thank you for the message!
Hello mzirafos,
Unfortunately, our theme does not have such an option for blog mode but if you want to achieve as you want, it is necessary to alter the code. You should use do_shortcode method and add the code in index.php core file. First of all, you have to create, for example, a block with your desired configuration and then you have to copy/paste the code of this feature from Visual Composer to index.php. Please follow the steps below and try to implement this method into your backend.
Steps -> http://screencast.com/t/EcUZqBidw -> http://screencast.com/t/oZUk6Lue -> http://screencast.com/t/6DH9gcogDwk -> http://screencast.com/t/Zwn0cfQAbrt and from here you have control over your homepage in blog mode -> http://screencast.com/t/QMUb3gnfu
The example of the code is ->
Please try to follow the steps that I gave you above and please notice that after this changes, it is necessary to do some custom style modification for a better look.
If you are not aware the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom work at the moment, sorry!
Thank you for the message!
What’s the better option if I need a block with a different layout? I see you can either use the td-api plugin or a child theme. I’m not totally clear that the child theme approach lets me add a new block or only override an existing block.
Also, is there a guide somewhere in the docs that shows an example of the layout of each block? It’s kind of hit and miss with the tiny icons in the composer, and no way to see how big the thumbs and such are.
Here is a really good example of the issue: http://serrystestserver2.info/category/obituaries/
Scroll to pagination buttons and hit page 2 or page 3. It shows the same posts on page 1. Weird behavior. Hopefully is an easy fix.
Good Day,
I have a website that is nearing finish and the client is loading content on it this weekend before I migrate the site. See: http://serrystestserver2.info
I have encountered a show stopper bug when scrolling down the page using any pagination style, the first page of posts repeat over and over and over. See this page for example: http://serrystestserver2.info/category/news/
I have all caching turned off at the moment.
Any ideas on what might be causing this?
Brett
Hi, I have a problem with displaying my network post into my main site. Right now, I’m using multisite setup.
I want to set my website such as this one. Take a look to the bottom “berita bintang” & “ruang politi”. It displays post from their network.
So, how can I do it? I can’t find any settings in visual composer to display network post. Thanks
Hi there,
What I would like to achieve is the following:
Create a block, for example Block Type 3, with 3 ‘posts’ from a category. Every refresh of the site it should display 3 different pages (so no posts, just pages). Unfortunately I cannot get this to work because when I select ‘Random posts’ under Sort order while I have Post type: page it is still displaying posts, although I declare just page. Also when I try page, -post it still display posts.
Please note that I use a extra plugin so I can add categories to pages so it will allow me to make an extra selection on that.
Regardless of that it seems that selecting Random Posts under Sort order overrides all other filter options you may select / enter. Can you please look into that and advise?
Is there a way to cycle through images in the header ad without using Google Adsense? I tried adding a script tag in the area provided (using this example: http://jquery.malsup.com/cycle/basic.html), but it stripped all my other photos on the live page.
This page is great (https://forum.tagdiv.com/ads-system-full-guide/), but from what I can tell, it only offers this type of a solution for custom ads (which I can’t use in the header ad).
Hello, I installed Infinite Scroll and Load More Ajax Pagination Plugin to load Infinite posts in Single post.
I need help to configure it correctly because i can’t find Navigation Selector, Next Selector, Item Selector & Content Selector

I tried this manual but failed to find them.
http://pixellanguage.com/wordpress-infinite-and-load-more-pagination-plugin/
Thanks
you dont understand me my friend, i know admin panel > commments page. i dont say that.
for example, i am a guest on my website. I read a post and i liked it. I am writing a comment and i am clicking send button and nothing happens. I must see a sentence/few words for example “thanks your comment” etc. nothing happens.. It isnt clear to comment send. I dont understand my comment is gone or not. Hope you do understand me..
Hello,
Unfortunately the theme does not have such an option but you can however do a css trick and hide menu elements on specific pages. you can have a menu with all the elements at once (in the same menu) and simply hide or show them where you wish with display:none and display:block
For example:
I added these 2 custom menu items: http://screencast.com/t/iVdrTjtnvnB
I want to only show one the first one on the homepage and the other one on another page.
So i will go on and hide the second menu item for the homepage like so:
.home .menu-item-3146{
display:none!important;
}
So now on the homepage i only see this: http://screencast.com/t/xrgmVHlh
In order to make the switch i hide the other one on the other page using the page id (the homepage can be targeted with the home class, for another page you need the page id that can be found here: http://screencast.com/t/QC8pprLGF)
So on the other page we will use this code:
.page-id-3026 .menu-item-3145{
display:none!important;
}
and have this result:
http://screencast.com/t/iyg5I34zWFZe
I hope this helps.
Thank you!
Hi
Also on Mozilla, forexample in column ODPORÚČANÉ/.on attached prinstreen/ is for example title: KýškovĂ˝ koláč…and ÄŤ is replacing by another font. The same in other titles….
https://drive.google.com/folderview?id=0B1vAJdtrla0Tc0VwWDRpZG5sN28&usp=sharing
This is the strangest thing and we cannot find a lead on the cause. Random featured images are not getting loaded – maybe only on the home page – but the same featured images work on the individual post page and the image URLs are fine. We’ve tried all the normal troubleshooting things like turning lazy load off, looked for JS errors, checked plugins, etc. It doesn’t make sense that many work and seemingly random ones don’t, and that the images themselves are fine.
The site: http://kehilanews.com/
Example post where the featured image works on the post page but not on the home page:
http://kehilanews.com/2016/01/21/tu-bishvat-emerging-from-dormancy/
Image URL taken directly from the featured image in post edit:
http://kehilanews.com/wp-content/uploads/2016/01/almondblossom.jpg
What could be wrong with Newspaper that this is happening?
Thanks!
Hi
I am not sure how do you want to display this iframe on your site but a basic example would be like this:
-first you can add a specific class for the iframe so you can target it with css:
<iframe class="my-custom-mail" allowTransparency=”true” frameborder=”0″ scrolling=”no” style=”border:none” src=”http://www.biliranisland.com/wp-content/plugins/myMail/form.php?id=0&s=1″></iframe>
-use this custom css in theme panel > custom code > custom css to set a size for your iframe, you can modify this values as you want:
.my-custom-mail{
width: 1064px;
height: 300px;
}
– to display it on page use a raw html block from Visual Composer: http://screencast.com/t/Ue7UFyIKf The result will be like here: http://screencast.com/t/V4R0i5FuH5B Thi is a basic example but you can customize it as you want using visual composer page-builder and css code.
If you want a different implementation for this iframe please provide more details and maybe i can help you.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello willysawa,
In order to achieve as you wish on the category page, you have to set the modules on this page from Theme panel-Categories section, like this -> http://screencast.com/t/erI1PMRdsq and for header section, please try the code below and add it in Theme panel-Custom CSS area. You have to target each category by ID, like this http://screencast.com/t/kdlMdPZW9Gy3 -> http://screencast.com/t/MWkuXH5cQEnt
.category-6 .td-header-wrap {
display:none;
}
Above I gave you an example for a single random category with ID=6. You have to implement this on your website and find the category ID for each category like this -> http://screencast.com/t/pEr6PZeflN
For more details about category, please check our documentation here -> https://forum.tagdiv.com/how-category-settings-work/
Hope this helps and let us know how it goes!
Thank you for the message!
I am making the my website by wordpress. But i get a problem.
When i access other page, I want change main menu in header.
For example, i made two menu(menu1, menu2). and i made two pages(page1, page2).
When i access page1, the page include menu1 in header. and when i access page2, the page include manu2.
I have question, Can i get there? Is there solution that solve the problem.
Please help me! I will reply you, you, you and you… Please…
Hello Edge44,
If you want to change the background-color in posts and the text colour, you have to use a bit of CSS. Please try the code below and add it in Theme panel->Custom CSS area. Below I gave you an example for the steps wich you have to follow in order to achieve as you wish. Please notice that this is a basic example and if you want to implement this for our website it is necessary to make some additional customization for a better look.
.type-post {
background-color:black;
}
.td-post-content {
color:white;
}
.td-post-title .entry-title {
color:white;
}
.td-post-content h1, h2, h3, h4, h5, h6 {
color:white;
}
The result -> http://screencast.com/t/sHf3tBwz
If you are not aware the steps in this regard, please consider hiring a freelancer/developer to implement this for you in our theme because we cannot provide custom services at the moment, sorry!
Hope this helps!
Thank you for the message!
Hi
Thanks @Chris for your helpful answer!
@academoe.com I’ve checked your site and the theme works fine. Please note that if you set a category as mega menu in order to display something you need to have some posts in that category. For example on category page Arts & Entertainment the mega menu it’s displayed fine because you have posts in that category: http://screencast.com/t/Mr5B3Q35xvH If the category does not have any posts then it’s nothing to display on its page and also in mega-menu, an example from your site would be Green Products: http://screencast.com/t/0nQD7tG2Fb
For more details about mega-menu usage please check our documentation: https://forum.tagdiv.com/newsmag-mega-menu/ and if you need further instructions please let us know.
Hope this help.
Thanks!
-
This reply was modified 10 years by
Andrei L..