- TutorialsDefault Block Settings Guide
Thanks, Catalin for your tablet shot – is that actually from a tablet or from tablet view on desktop? My problem is that on the iPad the header text and some excerpt has moved into the image. I should say the iPad is an iPad 2 (from 2011) running iOS 9.3.5 – could that be a factor?
We’re running into a weird problem with our home page. The block elements will display perfectly for a time, and then when we check back hours later, the only thing that displays is the header and menu. Selecting “edit page” and then “update” will cause the block elements to display and work again, but the home page keeps eventually reverting to being, essentially, blank. When I try to use TD Composer to edit the home page, I get this error message:
Error at rows: 2(models) : 1(dom). The model does not match the content
I have looked through the other forum messages and have seen the recommendation to edit the .htaccess file. My attempts to do that yesterday broke the site, and I had to revert to a backup to get things running again.
What can I do to keep the home page working?
Our url is http://www.akledger.com
Please let me know if you need any other information. Thank you.
Hi, I have made some changes in header menu. The changes are showing perfectly correct on desktop but when I use my website on my mobile the changes are not getting updated immediately. Why it’s happening? Please help in solving my issue.
Is there any way in which I can have a video on desktop, but when viewed on mobile it shows an image?
Ive been having trouble with images in the header being blurry (I’m using the spa heaven demo). Even when I’ve replaced it with the one that came with the them it shows as blurry. Is there anything that could be causing this?
Hi there is an extra ad showing in the header, can you tell me where to fix it ? https://www.screencast.com/t/TUpnyYscO9
my website : https://themaghrebtimes.com
Hello good night, I know what they said, and if it is very good, but when I put the Ads of google, it only comes out in rectangular 300 x 250 and what I want is in automatic, the code that I paste is auto, I would like that came out in 728 x 90 on the computer and on the cell phone in the auto header.
Also in the post below the title does not come out, only rectangular, I would like it to come out in 728 x 90 below the title of the posts, thank you I hope your help.
Att Reyna http://casayfamiliatv.com
I have now worked around this rendering problem on tablet by adjusting margin for tablet portrait and landscape under the CSS tab – is this the default way to get your columns equal? That’s ok if so, but please advise if there is another method.
However, I am still seeing header and text moving up and overlaying image on the iPad. This problem does not occur when resizing desktop browser to tab size. Can you explain/resolve this iPad problem? Do you have a tablet you could test http://jazzreview.co.uk and tell me if you see header and text overlaying image?
Thanks again – your help is invaluable. This is a test site I want to launch to another url on Thursday.
I am getting these errors in my error logs for a few months and I’m unsure how to fix it:
[Tue Jan 15 16:23:37.427323 2019] [proxy_fcgi:error] [pid 18936:tid 139923457767168] [client 172.86.21.103:53892] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/DOMAIN.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/DOMAIN.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n'
What do I need to do to fix this?
The following themes are installed but incomplete.
Name Description
Newspaper Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.
Hi!
1. Can you give me guide or code for this http://prntscr.com/m7pp8y and for this http://prntscr.com/m7ppwe, i try to use style 15 but my ads doesnt show on bottom of article, p.s i added adsense code in template 15
2. i wanna make text logo on style 10 header. which resolutin of picture is best for desktop, retina and mobile and mobile retina.
Hi,
I would like to insert my translation widget in the Header menu, below or above the social icons.
How can I do?
my site: https://blucode.com
Thanks
Bux
-
This reply was modified 7 years by
Blucode.
I searched and couldn’t find a forum topic or anything in the learning docs that dealt with this ….
I would like to edit the menu that is at the top of Block 1. I found the Block Header Template in Block Settings but it does not allow me to edit the menu items that are displayed. A template without any menu items or the All dropdown would be ideal. Absent that, a template that displays the Main Menu, as configured, would be acceptable.
Hi,
Please replace the above css with this one:
@media (max-width: 767px){
.td-header-top-menu-full, .td-header-sp-top-menu {
display: block!Important;
}
}
Se results: https://www.screencast.com/t/ULs1sH71CHQ7
Thank you.
Hello!
Since yesterday I have a spontaneous error message on my website. I have not changed or updated the website. But when publishing new messages, I get to see this error message above the message:
> **Warning** : Illegal string offset 'td_post_template' in **/home/vhosting/r/vhost0013083/domains/112-uitgeest.nl/htdocs/www/wordpress/wp-content/themes/Newspaper/includes/wp_booster/td_single_template_vars.php** on line **67**
The entire code of td_single_template_vars.php is:
> <?php
>
> /**
>
> * Created by PhpStorm.
>
> * User: tagdiv
>
> * Date: 10.07.2015
>
> * Time: 15:58
>
> */
>
>
>
> global $loop_module_id, $loop_sidebar_position, $post, $td_sidebar_position;
>
>
>
> //global $wp_query;
>
> //var_dump($wp_query->query_vars);
>
>
>
> td_global::load_single_post($post);
>
>
>
>
>
> /* ----------------------------------------------------------------------------
>
> the post template (single article template)
>
> */
>
>
>
> //get_header();
>
>
>
>
>
> //set the template id, used to get the template specific settings
>
> $template_id = 'home'; //home = blog index = blog - use the same settings from the blog index
>
>
>
> //prepare the loop variables
>
>
>
> //read the global settings
>
> $loop_sidebar_position = td_util::get_option('tds_' . $template_id . '_sidebar_pos'); //sidebar right is default (empty)
>
> $loop_module_id = 1; //use the default 1 module (full post)
>
>
>
> //read the primary category sidebar position! - we have to make the page after the primary category or after the global setting
>
> $primary_category_id = td_global::get_primary_category_id();
>
> if (!empty($primary_category_id)) {
>
> $tax_meta_sidebar = td_util::get_category_option($primary_category_id, 'tdc_sidebar_pos');//swich by RADU A, get_tax_meta($primary_category_id, 'tdc_sidebar_pos');
>
> if (!empty($tax_meta_sidebar)) {
>
> //update the sidebar position from the category setting
>
> $loop_sidebar_position = $tax_meta_sidebar;
>
> }
>
> }
>
>
>
>
>
> //read the custom single post settings - this setting overids all of them
>
> $td_post_theme_settings = get_post_meta($post->ID, 'td_post_theme_settings', true);
>
> if (!empty($td_post_theme_settings['td_sidebar_position'])) {
>
> $loop_sidebar_position = $td_post_theme_settings['td_sidebar_position'];
>
> }
>
>
>
> //set the content width if needed (we already have the default in functions)
>
> if ($loop_sidebar_position == 'no_sidebar') {
>
> $content_width = 980;
>
> }
>
>
>
> //send the sidebar position to gallery
>
> td_global::$cur_single_template_sidebar_pos = $loop_sidebar_position;
>
>
>
> //increment the views counter
>
> td_page_views::update_page_views($post->ID);
>
>
>
>
>
> //added by Radu A. check if this post have a post template to be display with.
>
> //if not use the default site post template from Theme Panel -> Post Settings -> Default site post template
>
> $td_default_site_post_template = td_util::get_option('td_default_site_post_template');
>
>
>
> if(empty($td_post_theme_settings['td_post_template']) and !empty($td_default_site_post_template)) {
>
> $td_post_theme_settings['td_post_template'] = $td_default_site_post_template;
>
> }
>
>
>
> // sidebar position used to align the breadcrumb on sidebar left
>
> $td_sidebar_position = '';
>
> if($loop_sidebar_position == 'sidebar_left') {
>
> $td_sidebar_position = 'td-sidebar-left';
>
> }
So it has to be something with:
$ primary_category_id = td_global :: get_primary_category_id ();
but I can not figure it out. Does anyone have a solution for me?
Thanks in advance
Hi,
Is seems like you have a ad in header section -> https://www.screencast.com/t/rRunixBes
and if I understand correctly you want to set some ads under title in posts.
In order to do that the easiest way will be to use a single post template from tagDiv Cloud Library and edit the template and ad the ad box under simple post title
https://www.screencast.com/t/LWwsRR7b
and select a custom ad from theme panel were you have set the custom code for ads
-> https://www.screencast.com/t/S7hLleBP
-> https://www.screencast.com/t/58kMISGCpP6
Hope that this will helping you!
Thanks.
Hi,
If you want to change this aspect, you need to edit the line-height value from these headings. -> https://www.screencast.com/t/7PagJV64
Check the code ->
.td-post-content h3 {
line-height: 22px!important;
}
.td-post-header .entry-title {
line-height: 48px!important;
}
Thanks.
Hi,
How can I move my logo to the left margin and to start in the same position as the NTF menu link as shown in this link;
https://ntftennis.com/ntf/
The logo is almost at the center which is not cool for the header layout choosen.
Hope to hear form you soon.
Thank you for your effort.
With regards
Hi
On my site at WomensGolf.com the post subtitles are italic – I would like them to be normal.
The subtitle settings in the theme panel are all default – https://www.dropbox.com/s/1495xw9uam6edsy/subtitle%20post%20style%20theme%20panel.JPG?dl=0
and My Custom CSS in the Theme panel doesn’t have a subtitle reference:
.td-social-boxed .td_social_type span { line-height: 21px; }
.my_block .td-excerpt{
color:black;
}
.entry-crumbs, .entry-crumbs a{
color:black;
}
*/#td-outer-wrap{
position:relative!important;;
*/top:50px!important;
}?/*
.wp-caption-text, .wp-caption-dd {
text-align: center;
font-style: normal;
}
.td-header-top-menu-full {
margin-bottom: 40px!important;
}
.td-header-gradient:before { display:none; }
.td-header-style-1 .td-header-sp-recs, .td-header-style-1 .td-header-sp-logo {
margin-bottom: 25px!important;
}
.td-header-sp-logo img{
margin:0
}
I’m using the default post template (not a cloud template).
Thank you
Richard
Hi! Is there a chance that top header menu could show on mobile menu aswell? At the moment the only menu visible on mobile is the main menu.
Hi,
Please try this custom css
header .entry-title {
border-style: solid;
border-width: 0px 0px 4px 0px;
}
https://www.screencast.com/t/VJgsfEc2
Hope this will help you!
Thank you.
Hi,
If you want to make some changes over the header template, you need to edit the header templates for here -> https://www.screencast.com/t/fkM6M3soZ3T
Thanks for the message!
Preferably with a little header for pros and cons. Thanks 🙂
Hello
We wanna use the Header ad place for a different banner.
On http://www.piratenradio.ch we have there placed a banner with a hyperlink to our player.
Now we realized, that if you use an ad blocker software in your browser, the banner will not appear.
Can you tell me, what we can do, that this banner will not work longer as an ad? Can we replace the ad-place with an other div?
Andreas
I have a news website and it’s too slow. There are over 7000 articles.
How can I reduce the size of database? I tried using wp sweep but it’s not working.

I checked which table is the biggest and find out that wp-option table is over 800mb.
https://imgur.com/r4uSN4I
I tried to identify wp-option table is a handful of huge records, or if there’s just a ton of junk in there.
This is what I’ve found. It has 3813795 total rows.
These have the largest length.
https://imgur.com/PYoGZX3
Which of these I can delete, because I see some of there are from Newspaper theme (td_011, td_011_remote_cache,td_011_log)?
Here is also my htaccess code:
# BEGIN WordPress
# BEGIN Math Captcha
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post.php*
RewriteCond %{HTTP_REFERER} !.*www.otisak.ba.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
</IfModule>
# END Math Captcha
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# BEGIN Compress text files
<ifModule mod_deflate.c>
<filesMatch "\.(css|js|x?html?|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</ifModule>
# END Compress text files
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType application/x-shockwave-flash "access plus 604800 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"
#ExpiresByType text/html "access plus 600 seconds"
#ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers
php_value max_input_vars 5000
Site is run on
CentOS 7.1 x64
10GB RAM
6 CPU
Hi,
If you want to disable the Search functionality, you need to use a bit of CSS code for this to hide it. Use the code below and place it in Theme panel -> Custom CSS area.
Check the code ->
.header-search-wrap .td-icon-search{
display:none;
}
If you want to integrate the Google Search, you can use the following tutorial from here -> https://www.getcooltricks.com/wordpress/google-cse-integration-to-newspaper-wordpress-theme/ -> https://forum.tagdiv.com/topic/how-to-create-a-google-custom-search-page/
Thanks.