- 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,
Try to apply this solution to the get_header function – http://screencast.com/t/1STUPrfBQ9 please note that this is a general wp issue it is also happens on a default theme and the error from webmaster will disappear after a while, after your page will be re-indexed.
If you still don’t manage to implement the code please send us an email at contact@tagdiv.com and provide wp-admin and ftp access and we will try to find a solution. Also paste a link to this topic so we can know who you are and what your issue is.
Thanks!
Hi @catalin.
When i set this code, the website shows all cateogries but produce an arror, i cant upload images and i cant view my media gallery.
If i reset the original code everything works OK
In error log i found this
[08-Dec-2015 18:40:15 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/neo4rfdr/public_html/interauto.com.mx/wp-content/themes/Newsmag/includes/td_config.php:1) in /home/neo4rfdr/public_html/interauto.com.mx/wp-includes/pluggable.php on line 1207
[08-Dec-2015 18:58:30 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'td_config' not found in /home/neo4rfdr/public_html/interauto.com.mx/wp-includes/plugin.php on line 503
[08-Dec-2015 18:58:30 UTC] PHP Fatal error: Class 'td_module_single' not found in /home/neo4rfdr/public_html/interauto.com.mx/wp-content/themes/Newsmag/loop-single.php on line 9
Here Code in our Newsmag theme is different from the link you given , So send me the correct code to fix this
<?php
/* —————————————————————————-
the blog index template
*/
get_header();
//set the template id, used to get the template specific settings – this was the old home.php template
$template_id = ‘home’;
//prepare the loop variables
global $loop_module_id, $loop_sidebar_position;
$loop_module_id = td_util::get_option(‘tds_’ . $template_id . ‘_page_layout’, 15); //module 1 is default
$loop_sidebar_position = td_util::get_option(‘tds_’ . $template_id . ‘_sidebar_pos’); //sidebar right is default (empty)
?>
Hello,
You need to follow the embed method specified by facebook. There are 2 pieces of code. One must be added in header.php and only then will the embed work. Please follow this topic to see how to do it: https://forum.tagdiv.com/topic/how-do-i-embed-facebooktwitter-post/
Thank you!
Hello,
It can be done with css but unfortunately that size will not leave enough size for the header ad. It will have to be adjusted as well. And this also depends on the ad you place. I can edit the ad i have set up, but it is not probably the same size as your ad.
Please provide a link so we can inspect your website and see exactly what we are dealing with.
Thank you!
I also need the top header ad to be fully aligned to the right – it doesnt seem to want to fully move to the right
I want to modify the default header, it is the one I prefer but the logo is too small. I want the default header with a full size logo of “535 x 97” – how do I do this because whenever I adjust the size of the logo in the css it makes the padding of the header with huge white spaces round it.
You could create a query to print assigned categories from post using an “if single” query in the post header.php file into a manually set keywords meta tag in your header file.
<meta name="keywords" content="
{{PUT YOUR QUERY HERE FOR OUTSIDE LOOP}}
">
Hello aldemi,
Please try the code below and place it in Theme panel->Custom Css area like this: http://screencast.com/t/zJ8Ir3xFz
.td-header-style-1 .td-header-sp-logo {
width:187px;
height: 150px;
}
.td-header-style-1 .td-header-sp-logo img {
max-height: 150px;
}
.td-header-sp-logo a:hover {
opacity: 0.8;
}
The result you should see here: http://screencast.com/t/SGoRcKfIMBvw
If is not what you mean, please provide more information about this.
Hope this helps and let us know how it goes!
Thank you!
Hi,
Unfortunately there is no way to add it from visual composer outside of the page content. Anything other than that needs to be edited from the theme files. Unfortunately as the theme has no option for it, this is the only way to do it. The theme provides only one ad spot in the header, positioned different for each header style.
Thank you!
Hi,
I see what you mean, there is a different css for homepage – http://screencast.com/t/OImICyUg
Please add this custom css in Theme Panel > Custom Css to change it – http://screencast.com/t/xd9Fa4yYvig
.home .td-post-template-8 .td-post-header-holder {
vertical-align: bottom !important;
}
Thanks!
Hello,
Our health and fitness demo uses header style 6. I see you use header style 7. Here is a list of header styles you can chose from: https://forum.tagdiv.com/header-styles/
Thank you!
Hello louisdalligos,
If you want to remove/disable the link for author on single post, please try the code below and place it in Theme panel->Custom Css area, like this: http://screencast.com/t/ZirMbQhhkX3
.td-post-header .td-post-author-name {
pointer-events: none;
}
Hope this helps and let us know how it goes!
Thank you for the message!
Hello @PierreBoullier,
If you want to achieve a different header logo on your page, it is necessary to add a set of conditions in header-style file and load a different logo image for each page. Below, I gave you an example for header_style_7.
This code should load a different logo image for the pages but only when header style 7 it’s used. If you change the header style you need to apply the customization in the file corresponding with the header style used. Look here: http://screencast.com/t/jSTSxWh2xdl – http://screencast.com/t/girlnlQWHzE
<?php
if (is_page('PAGE-ID')){
echo '<img src="url image 1">';
}
else {
locate_template('parts/header/logo.php', true);
}
?>
Also, @szmarinov if you want to add a different logo for each category, you have to replace in code above the function is_page with is_category like this: http://screencast.com/t/RDofG5R4YL – http://screencast.com/t/oIF2jUCn
<?php
if (is_category('CATEG ID')){
echo '<img src="url image 1">';
}
elseif (is_category('CATEG ID')){
echo '<img src="url image 2">';
}
else {
locate_template('parts/header/logo.php', true);
}
?>
For more information about function Reference you should see here: https://codex.wordpress.org/Function_Reference/is_page
Hope this helps and let us know how it goes!
Thank you for the message!
Hello,
I used the code on my test site and it behaves as you described it. It disappears on click. Unfortunately i could not find the problem with it. You can maybe hire a freelancer to help you out on this one.
You can maybe add the search form like the one in the sidebar using the do_shortcode function. So you will have the search form in your header except there won’t be an icon, just the form itself.
Sorry for not being able to help but we are a small team and time does not allow us to provide any custom work at the moment.
Thank you!
Hi Bogdan,
We are getting closer 😉
Ok, so the colour to get it boxed thanks, that is going to help then I don’t have to set an image.
Think of it this way, having ADSENSE as a background, so ADSENSE has advert tags and one for a background advert “takeover” as they call it. I need to have that as a background but selectively.
For now I am fine, I have hard coded the adsense (similar) tags in and set the categories where they need to display with a background image and the images are set to not display so they are not visible over the adverts.
If you look on this page, the background you see is an ADSENSE advert tag, the HEADER banner is it’s own advert adsense tag.
http://www.thesouthafrican.com/wine-south-africa/
I guess what would save time is to explain it this way…
Instead of just having image option for background, have adsense or your own JS/html insert option global and then also per category. Hope this explains it 😉
Hello solo,
The meta box contains some information about the post, such as: Author name, Post date, views and comments. If you want to remove this, on your all post pages, it is necessary to use a BIT of Css to hide them. Please try the code below and place it in your Theme panel->Custom Css area, like this: http://screencast.com/t/1rsaswhD9vXj
header .meta-info {
display: none;
}
The result: http://screencast.com/t/IGHRpE7IRJ
You can create your side bar if you are using the Visual Composer like in the next screenshot -> http://screencast.com/t/jbNcO9iPlIqg . For more information about how to use this, please consult our documentaion here: https://forum.tagdiv.com/newsmag-how-to-use-visual-composer/
Also, for more information about post templates, smart side bar, please consult this: https://forum.tagdiv.com/newsmag-post-templates/ – https://forum.tagdiv.com/newsmag-smart-sidebar/
You can take a look over our You Tube section, because this contains a lot of tutorials and it may be useful
https://www.youtube.com/results?search_query=tagdiv+newsmag+
Hope this helps and let us know how it goes!
If is not what you mean, please provide more details about this, so I can be able to provide a more accurate response!
Thank for choosing our theme and thank you for your message!
Hello Syambarkah,
Unfortunately, there is no option for it in Theme panel, but you should try the code below to achieve what you want. Place the code in your Theme panel->Custom Css area alike this:
http://screencast.com/t/jRq4GQnNHb
If you want to have a full image in your header container, it is necessary to choose a correct size of image otherwise, you will have a free space in your header. The size of the container is 1021*130 px.
.td-header-header {
background-image: url("http://www.gettyimages.ca/gi-resources/images/Homepage/Hero/UK/CMS_Creative_164657191_Kingfisher.jpg");
background-repeat: no-repeat;
}
Here, you should see the result: http://screencast.com/t/4C8rrxjj
Hope this helps and let us know how it goes!
Thank you!
Hello,
Try this code insted:
.td-header-menu-wrap{
border-bottom: 1px solid black;
}
thank you!
Hello,
I have newspaper theme v6.5 running on my website.
URL : https://www.naukrinama.com
I have placed google Adsense code in the header section of my website.
The Ads are showing up on the Inner Page, Post Page but it is not showing on the Landing Page (Home Page) Header section. When I see the source code of the home page the Ad Code is there but it is not getting displayed.
Please see and let me know how can this be resolved.
Hello,
I have a menu so the main menu has “MY ACCOUNT”, that one menu item I want to set the font for larger so that it stand out. I cannot for the life of me, with this header, get that to work.
So to be clear, the one menu title “MY ACCOUNT” I want it to be 16px font, not the standard 14px.
PLEASE HELP! 😉
Site is southafricanshop . com
Thank you in advance.
Hi, i want to display one post at the top of my page (in this case under the ‘Projects’ header). The ‘slide’ element gives me the look i’m after, when set to display 1 post, but i now need to remove the navigation arrows, is this possible?
http://www.dynamicevents.org/test/
Thanks
Hi, how can i change my sites header style like Health&Fitness ?
No problem @Catalin-l
So here is the logo header I want to appear on all pages of my website : http://pasteboard.co/2Ew9rL1g.jpg
Except on this page, where I want to chose a different logo header : http://pasteboard.co/2Ew8iX5l.jpg
Hox could I upload a different header to this page but keep the same 1st header on all other pages ?
Hope you understand, I can provide more screenshots if it’s unclear.
Thank you very much,
Pierre Boullier