Go to this topic for the help
https://forum.tagdiv.com/topic/google-webmaster-hentry-missing-update/
or do the following:
Hi
The date is missing from hentry because is deactivated on your site. If you don’t want to display the date on posts it can be hidden with css. Enable the date from theme panel under post settings so google can find it and use below css to hide it:
.td-post-date, .td-author-line{
display: none!important;
}
Thanks!
Thank you for the quick response, please note that i dont want to use different thumbnails…i only want that when we generate thumbnails then force regenerate plugin dont those size and if someone gave reference to that image then 404 error wont come to us..
td_api_thumb::add(‘td_324x160’,
array(
‘name’ => ‘td_324x160’,
‘width’ => 324,
‘height’ => 160,
‘crop’ => array(‘center’, ‘top’),
‘post_format_icon_size’ => ‘normal’,
‘used_on’ => array(
‘Module 1, 2’, ‘Block 2, 3, 4’, ‘Big grid 2’
),
‘no_image_path’ => td_global::$get_template_directory_uri,
)
);
Can i use the code below from above modified code so that force regenerate plugin only generate those specific size and wont use them in theme or any where else…
td_api_thumb::add(‘td_310x165’,
array(
‘name’ => ‘td_310x165’,
‘width’ => 310,
‘height’ => 165,
‘crop’ => array(‘center’, ‘top’),
‘post_format_icon_size’ => ‘normal’,
)
);
Or these arrays defined somewhere else also..??
Issue solved by deleting the old folder and creating new…
You can close the issue it is resolved now…
You can close the issue it is resolved now…
I had checked under theme fonts>> fonts settings and line height is default line height in all settings.
Moreover, you can see search icon is also not on its location on desktop as well…it is a line above its position….this is the same in mobile menu and search icon and 1 line above…
-
This reply was modified 9 years by
lethow. Reason: more details
Website is lethow.com
I tried disable all plugins, cleared cache and reset cdn files. PLease advice how to restore the theme line height?
Also, please see the following custom code is in mobile theme…
.td-post-author-name div { display:inline; }
.error404 .td-a-rec-id-header_mob, .page .td-a-rec-id-header_mob {
display:none;
}
@media(max-width:767px){
.td-author-line{
display:none!important;
}}
@media(max-width:767px){
.td-mobile-footer-wrap{
display:none!important;
}}
And Below is the custom code in Desktop Theme…
.td-author-line{
display:none!important;
}
.error404 .td-g-rec, .page .td-g-rec {
display:none;
}
Thanks it solve the issue….can you please tell how to show ads on above & below of mobile smart list
we are using this to stop clickable images on desktop so what we use for mobile…
.td_smart_list_2 .td-slide-smart-list-figure{
pointer-events:none!important;
}
We added below also but same images are clickable on mobile…
.td_smart_list_mob_1 .td-slide-smart-list-figure{
pointer-events:none!important;
}
Please advice what to add to stop images to clickable on mobile and only BACK & NEXT will work..
-
This reply was modified 9 years by
lethow.
Top 2 errors are with PHP 7 and theme code is not compatible with PHP7 and after switching it to PHP5 error goes…
Further investigation we found the below syntax error Under mobile>>single.php line 29
<article id=”post-<?php echo $td_mod_single->post->ID;?>” class=”<?php echo join(‘ ‘, get_post_class());?>” <?php echo $td_mod_single->get_item_scope();?>>
In ending > is used twice…..it should be once only….please check the syntax and confirm…
Also, in same file in below code of piece:
<div class=”td-module-meta-info”>
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_comments();?>
<?php echo $td_mod_single->get_views();?>
</div>
Date set to false is it correct..???
Try this page instead of above…
-
This reply was modified 9 years by
lethow. Reason: wrong URL
I followed the tutorial and done this but no help…
You can check the all CSS for the desktop and they are on this URL:
Now, you see the last 4 lines we had added for the last 4 CSS but no help…
function css_mover() {
//if ($this->td_theme_name == ‘Newspaper’) { }
// wp 011 – Newspaper 6
$this->move_style_to_footer_queue(‘bbp-default-bbpress’); //bbpress old
$this->move_style_to_footer_queue(‘bbp-default’); // bbpress
$this->move_style_to_footer_queue(‘contact-form-7’);
$this->move_style_to_footer_queue(‘google_font_open_sans’);
$this->move_style_to_footer_queue(‘google_font_roboto’);
$this->move_style_to_footer_queue(‘js_composer_front’);
$this->move_style_to_footer_queue(‘td-theme’);
@nairolf
I don’t able to understand what you need to convey. You reply is completely ir-relevant to the topic. If you don’t know anything then atleast don’t spam….
Google Structural Data Tool (Live Tool) is not able to get the hentry “Updated” from the post template, which used to be in the website pages and asking to include the same in all posts.
Hello Andrei!
I can also see the no error in google structural tools….please error says missing:updated..
Data is missing in hentry
See the Updated field on this link and please advice why it says its missing
http://microformats.org/wiki/hentry
Entry Updated
an Entry Updated element is identified by class name updated
an Entry Updated element represents the concept of Atom updated
an Entry should have an Entry Updated element
use the datetime-design-pattern to encode the updated datetime
if there is no Entry Updated element,
use the Entry Published element, if present
otherwise the page is invalid hAtom
Disabling the CDN plugin and activating it again solved the issue…thanks
Its only for the mobile theme and i already go through the provided topic by you and this is the code in my .htacces file….i try to change the code with stack-exchange code but it didn’t help…
This is at the top of .htaccess
<IfModule mod_headers.c>
<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
Hello Alin!
Yes, we are using mobile theme, and i can understand your concern about mobile theme….but as you said mobile theme is lighter so it is a must for us to load fast since 80% traffic from mobile….
Next problem, is there any way that we can add more ad spots in mobile them or are you going to add few in next update…??
In this case we need to add adsense code manually to the posts to show both on mobile as well as on desktop…??
If there is any other way out please advice..?
Also, note that we put the Ad tag in TEXT Editor of WordPress instead of Visual Editor of WordPress
Please note that on mobile it is code but in desktop it is creating blank space so ads will come in some time….
for Mobile please advice after checking the below screen shot
https://s16.postimg.org/7yicdbb1x/Screenshot_20160906_132453.png
Also, please note that we want to show the ads on post and not on pages & sidebar. So please advice can we do it for posts…?
Hello Bogdan!
We had done till step 3 but how to enter classic and text mode we done know. Please explain step 4 & 5 and also w here we put the adsense code to get shortcode..
Thanks Bogdan!
May be i didn’t able to clear my intentions.
I want that is there any method of box where we can put the adsense code and get some short code like [ads1] &[ads2]
and when we enter [ads1] & [ads2] in any post then specify adsense code will be called…Since adsense had lifted the limit for 3 ad units so we can to put few additional ads unit to some specific post and not to the whole website….
please advice if it is possible…?
Disabling and re-enabling all plugins solved our problem…
Hello Bogdan!
Please advice which files need to customize or any help to get the right person to get customization for us…?