- 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,
Unfortunately i didn’t do any tests with this one, you could try to add the script in the header – http://screencast.com/t/Wh8grZfkB
And the div in loop-single (if you use the other styles you have to edit all loop-single 1-8 files) – http://screencast.com/t/1NjDdBiLgsf
Also make sure the quotes are not formated, they should look like this:
class="pluso"
Not like this:
class=”pluso”
Thank you, Emil G.
hi
my site’s url is http://yourpitstop.com/
the issue is:
when i checked in newpaper theme’s live preview the “sticky menu” works fine that is when you scroll up in any post the header menu appears but when i installed the theme on my wordpress site the sticky menu wasnt working as shown in live preview of theme.
thanks
-
This reply was modified 11 years by
YourPitStop.
-
This reply was modified 11 years by
YourPitStop.
Hi Emil,
Thank you for your reply.
Unfortunately, that solution hasn’t worked because the initial header loads without the full colour box. I changed all 99 instances of the colour I was trying to remove and they are gone but it still doesn’t look good because I am using the full colour box in option number two. I have noticed that the menu background flashes black too so there are also other style clashes going on.
Do you have an email address I can send my url to?
Regards,
Wayne
-
This reply was modified 11 years by
sidsmut.
Hi,
You can use Header style 4, but this will place the header ad bellow the menu also on desktop view, but I think that you know that already.
If you don’t want that you can try some custom modifications, so if you think that you don’t use header style 3 you can edit like this: http://screencast.com/t/lkgEkz1PaI – http://screencast.com/t/j1vA42wVUx7
custom_ad_1
Make this change in header.php: http://screencast.com/t/3Ok7opMJBIZ
Disable header ad on mobile view: http://screencast.com/t/6vl70FnD8
Paste your ad code in Custom Ad 1 and enable it for mobile: http://screencast.com/t/X7sRpdrLrW9c
Result:
Desktop view: http://screencast.com/t/9ivDNcpghz
Mobile view: http://screencast.com/t/39Z68Lz8
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Indeed, in the header.php:
Comment out this one (or remove) and that solved it.
<?php td_util::author_meta(); ?>
Thanks for your help, Chris!
hi,
how can i have sticky menu as shown in your theme’s live preview when i scroll up the header menu appears but its not working like that in our theme.

thanks
That’s because it’s correct “markup” for sharing to pull the “author” as the author of the item. I think on one of our sites we hacked that to show the OG author tag as the site name. Not sure how to do that with Newspaper, however. Possibly in the header file.
Hi,
2. Your inline ad is visible now: http://screencast.com/t/WlFfywVdNIiE
5. Google ad sense can be disabled from Theme Panel. You can try to find a plugin to display yours ads if you want to disable on mobile and tablets or hide it with css: http://screencast.com/t/h0flnhGxa
@media (max-width: 1024px){
.td-header-sp-ads{
display: none !important;
}
}
Thanks!
I am using header style 1
I would like to put the header ad below the menu and not above the menu
How can I change this ?
Same here- code didn’t change the widget headers
Hi,
Could you provide the url so i can check the header movement issue?
The css is loaded in a cascade, one after the other. The theme CSS loads first then the custom css is loaded.
A way to fix this may be to edit the style.css file , find and replace the theme default color with your own – http://screencast.com/t/sujORnpYJTy
Thank you, Emil G.
Hi,
The Td speed booster plugin is breaking my homepage header whilst the page is loading?
I have the header set to setting 2 for a full background colour.
When I load my page I see the page move to the right by about 10 px and then flip back into position when fully loaded. Whilst this is happening the header colour I have set in the customization panel reverts back to the original default site colour (electric blue) with white background. The header clicks back into my selected colour once fully loaded….Kinda like it’s loading an original style and then finding the proper one.
The header is ok once loaded but during the second or two of loading it does not look good at all.
Turning the speed plugin off sorts it but that’s not a great fix. Any advice would be appreciated.
Regards,
Sid
Hi,
Please try this custom css for:
Post Template 3: http://screencast.com/t/6VoYhUeOgT6x
.single_template_3 .header-content-rec .td-a-rec-id-header{
top:5px !important;
margin-bottom:5px;
}
Post Template 4: http://screencast.com/t/GHrvFyyoIN
.single_template_4 .header-content-rec .td-a-rec-id-header{
top:5px !important;
margin-bottom:10px;
}
Post template 5: http://screencast.com/t/L37YQhnEDO
.single_template_5 .header-content-rec .td-a-rec-id-header{
top:5px !important;
margin-bottom:5px;
}
Hope this helps!
Hi,
Add this in AD section in Theme panel: http://pastebin.com/vhD8Efmh
and in Custom CSS section, this one:
.td-a-rec-id-header {
height: 100%;
width: 100%;
}
.td-a-rec-id-header object {
height: 100%;
width: 100%;
display: block;
}
embed {
height: 100%;
width: 100%;
display: block !important;
}
@media (max-width: 767px) {
.td-header-sp-ads .td-header-ad-wrap {
display: block !important;
height: 100px;
}}
Hope this help!
Thanks!
-
This reply was modified 11 years by
Marius.
Hi,
1. I’m not sure what you mean with created a sidebar as a widget. You can create a custom sidebar from Theme Panel > Template Settings(you can choose a different sidebar for each template) for posts for example: http://screencast.com/t/1Q7yZTzG And it is normal to find it empty in Widgets section, just add widgets to it: http://screencast.com/t/cUctIPwK5tc
And set it to display: http://screencast.com/t/h7SQeDjTM
Result: http://screencast.com/t/88S4IiqgYpZB
2. You use Header Style 3 with blog-stack that why is that issue on mobile. For Classic Block stack we made a special header, this one http://screencast.com/t/FEoXVhLMpcv and in combination with other headers is not guaranteed that everything will work fine.
So if you want to use it like this, please paste this css for mobile view in Theme Panel > Custom Css:
@media (max-width: 767px) {
#td-top-menu .sf-menu {
display: none !important;
}
.blog-stack #td-top-search{
right: -50px;
top: -75px;
}
.header-search-wrap .dropdown-menu {
left: -56px!important;
}
.header-style-3 .td-logo img{
width: 30px;
}
}
Result: http://screencast.com/t/0e2v9SlcLw4e
Thanks!
Hi,
You can use this custom css in Theme Panel > Custom Css: http://screencast.com/t/MGhkwxsVegHO
.td-header-top-menu {
display: block !important;
}
Result: http://screencast.com/t/q2DYx26Abfa
Please also note that the top menu hasn’t been designed to be used on mobile screens so you might need additional customization to it.
Thanks!
In case someone need this, here is the easy full steps for a separate mobile menu.
(line number for NewsMag theme v1.5)
1) themedir \parts\menu-mobile.php
Line 18 change to 'theme_location' => 'mobile-menu',
2) themedir \includes\wp_booster\td_menu.php
Line 9 change to var $is_header_menu_mobile = false;
@wishdigital: you just need to modify here.
3) same file as 2)
Line 235 add this line 'mobile-menu' => 'Mobile Menu',
before 'footer-menu' => 'Footer Menu'
That’s it. Of course you need to create a new menu for the “Mobile menu”.
Hope this help.
Hi, thanks for the great theme. 🙂
But i found a little bug on my theme. The header ad isn’t shown correctly when post template 3,4 or 5 (fullwith headline) is activated. For example: http://www.dinge-die.de/man-sehen-muss/photomath-diese-geniale-app-loest-jetzt-deine-matheprobleme/
Only the half header ad (banner) is show. It’s the same with a google adsense ad.
Hope you can help me in this case.
Thanks a lot and kind regards!
Hi!
That line is no on the file – Please advice!
<?php
/**
* Category page BIG GRID
*
* the way it works
*
* - if the current current category have posts then display those posts
* - if the current category does't have posts then check the subcategories of this (current category)
* - if the subcategories have posts then those posts will be displayed
* - if the subcategories does't have posts then an empty area will be displayed
*
* - if the current category does't have post or subcategories then, the area where the subcategories links will be displayed + the area of the big grid will be removed
*
**/
//category list
// $global_flag_to_hide_no_post_to_display - is a flag to hide the 'No posts to display' message if on category page there are between 1 and 5 posts
global $cur_cat_obj, $loop_sidebar_position, $loop_module_id, $cur_cat_id, $paged, $global_flag_to_hide_no_post_to_display, $wp_query ;
$buffy = '';
//get the option to show or not the big grid
$td_disable_big_grid = td_util::get_category_option($cur_cat_id, 'tdc_slider');
//get the link of this category
$category_link = get_category_link($cur_cat_id);
//if we are on a cat without subcats
$td_cat_without_subcats = 0;
//the subcategories
if (!empty($cur_cat_obj->cat_ID)) {
$td_sub_cats = get_categories(array(
'parent' => $cur_cat_obj->cat_ID,
'hide_empty' => 0
));
//if the current category dose't have subcategories then get all the categories from the same level as current category
if (empty($td_sub_cats)) {
$td_cat_without_subcats = 1;
if($cur_cat_obj->category_count == 0) {
$td_disable_big_grid = 'yes';
}
//exclude uncategorized category
$Obj_cat_uncategorized = get_category_by_slug('uncategorized');
$id_cat_uncategorized = $Obj_cat_uncategorized->term_id;
//exclude featured category
$Obj_cat_featured = get_category_by_slug('featured');
$id_cat_featured = $Obj_cat_featured->term_id;
$td_sub_cats = get_categories(array(
'parent' => $cur_cat_obj->parent,
'exclude' => array($id_cat_uncategorized, $id_cat_featured),
'hide_empty' => 0
));
}
}
if (!empty($td_sub_cats)) {
$buffy = '<div class="td-category-header">';
$buffy .= '<ul class="td-category td-category-page-subcats">';
foreach ($td_sub_cats as $td_sub_cat) {
if (!empty($td_sub_cat->name) and td_util::get_category_option($td_sub_cat->cat_ID,'tdc_hide_on_post') != 'hide') {
$tax_meta_subcat_color = td_util::get_category_option($td_sub_cat->cat_ID, 'tdc_color');
$td_cat_color = '';
/* if (!empty($tax_meta_subcat_color)) {
$td_cat_color = ' style="background-color:' . $tax_meta_subcat_color . ';"';
} else { */
if($td_cat_without_subcats == 1 and $td_sub_cat->cat_ID == $cur_cat_id) {
$td_cat_color = ' style="background-color:#222222;color:#ffffff;"';
}
/*} */
$buffy .= '<li class="entry-category">cat_ID) . '">' . $td_sub_cat->name . '';
}
}
$buffy .= '';
$buffy .= '<div class="clearfix"></div>';
$buffy .= '</div>';
}
//get the filter_by URL ($_GET) variable
$filter_by = get_query_var('filter_by');
$td_category_big_grid_drop_down_filter_options = array(
array('id' => 'latest', 'value' => $category_link, 'caption' => __td('Latest')),
array('id' => 'featured' , 'value' => add_query_arg('filter_by', 'featured', $category_link), 'caption' => __td('Featured posts')),
array('id' => 'popular', 'value' => add_query_arg('filter_by', 'popular', $category_link), 'caption' => __td('Most popular')),
array('id' => 'popular7' , 'value' => add_query_arg('filter_by', 'popular7', $category_link), 'caption' => __td('7 days popular')),
array('id' => 'review_high' , 'value' => add_query_arg('filter_by', 'review_high', $category_link), 'caption' => __td('By review score')),
array('id' => 'random_posts' , 'value' => add_query_arg('filter_by', 'random_posts', $category_link), 'caption' => __td('Random'))
);
// is a flag to hide the 'No posts to display' message if on category page there are between 1 and 5 posts
$global_flag_to_hide_no_post_to_display = '';
//this flag is checked in the loop.php file to hide the No posts to display message if we have the big grid on the page and there are between 1 and 5 posts
$global_flag_to_hide_no_post_to_display = $wp_query->post_count;
//if there are post to display add also the drop down category filter
if($td_disable_big_grid != 'yes') {
echo $buffy;
//create the drop-down filter on category pages
echo td_util::generate_category_pull_down($td_category_big_grid_drop_down_filter_options, $filter_by);
//print_r($global_flag_to_hide_no_post_to_display);
//only show the big grid on first page
if($paged < 2) {
//parameters to filter to for big grid
$atts_for_big_grid = array(
'limit' => '5',
'category_id' => $cur_cat_id
);
//add the sorting option to the big_grid
if(!empty($filter_by)) {
$atts_for_big_grid['sort'] = $filter_by;
}
//show the big grid
echo td_global_blocks::get_instance('td_block_big_grid')->render($atts_for_big_grid);
}
}
Hi,
The ad is practically under the header container and that’s why it’s not clickable for example around the logo, when you click on that area you actually click on the header container.
Thank you, Emil G.
Hi,
I can’t provide you a solution for woocommerce without your site URL(see if we can change something like you want).
Instead for login/out you have to edit menu-top.php and change this span like this: http://screencast.com/t/p8OMviAvQ1
And add this custom css in Theme Panel > Custom Css: http://screencast.com/t/ngCtXMccDpq
.td-header-menu-wrap .td-social-wrap {
float: right;
}
Result:
http://screencast.com/t/u89LqXzk9pJ
http://screencast.com/t/e78PBV4d
Thanks!
Dunno. Works on our web server where we “host” our sites. Might be some other mis-configuration with your system setup which you can review by looking at your error logs since you manage your own server. Error logs great place to start.
Perhaps try clean install of the plugin?
Do full delete of the folder in /plugins/js-composer/
then do clean install of the plugin.
Try with all other plugins OFF, caching off, mod_pagespeed off, cache cleared.
If you have 4GB RAM for php, and a modern CPU, should work just fine.
The 501/505 error seems to refer to an http header problem.
I’m assuming your site works with WordPress and the default twenty-fifteen theme?
Ref 501/505 errors
http://www.getnetgoing.com/HTTP-505.html
Tagdiv doesnt do custom work, so likely need to hire developer to help remove the default call to menu in header.php and put in shortcode or other element to hook into wordpress menu system, and..or.. Mod the style.css and functions.php to add the plugins stuff to theme.
works thanks! it’s possible to appear the background ads, after header?
Additional .htaccess optimizations for Apache servers.
# END WordPress
AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/truetype "access plus 2500000 seconds"
ExpiresByType font/opentype "access plus 2500000 seconds"
ExpiresByType application/x-font-woff "access plus 2500000 seconds"
ExpiresByType image/svg+xml "access plus 2500000 seconds"
ExpiresByType application/vnd.ms-fontobject "access plus 2500000 seconds"
</IfModule>
# END Expire headers
# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
# END Cache-Control Headers
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
All of this “obviously” goes AFTER the WordPress elements generated when WP is setup.
-
This reply was modified 11 years by
simchris.