Hi,
I have some trouble crawling in Google News. The scanning is done in blocks and the articles are published a with delay (about 12/15/20 hours)
In the search console, on the news tab there is an error marked as “1”: “Title not found”
I’m using version 7.4 of Newspaper theme. How could I solve please?
Info on Title error: https://support.google.com/webmasters/answer/2409702?hl=en
Thankyou
Hello,
Our theme has the proper markup for the title as it is a h1 tag . There is no other markup needed for this error. Here is a description:
Title not found – this error is less common but occasionally an article template is coded in such a way that the editorial headline is not easily identifiable or even accessible to crawlers. Be sure to place your headlines in simple HTML text right at the top of the article body, in an H1 tag.
The markup is already there so you do not need to do anything extra. But google news should scan posts not the homage blocks. AA block does not have a post title. It renders an instance of it in a h3 element but posts are the ones that will have to be grabbed by google, not the homepage blocks.
Please check your cache and only use these settings: https://forum.tagdiv.com/cache-plugin-install-and-configure/
Thank you!
One issue we’ve seen with Google News, is with certain layouts where the “category pills” are ABOVE the headline on the page, vs moving them below the content (we moved them below the author box … ).
Stupidly, they are “supposed” to read the Google News XML site map you should be feeding them, which has the title in it, and not managed by the theme in any way.
But in some odd cases they do seem to prefer
[menus/logo]
[breadcrumbs]
[headline/h1]
[sub head/h2 – optional]
[body of news item]
versus
[menus/logo]
[breadcrumbs]
[category links] x
[headline/h1]
[sub head/h2 – optional]
[body of news item]
Be sure to view the page source of your posts to also ensure you have Open Graph tags for og:title as well.
Hi Bogdan,
Thanks for response. We solve the issue with Google News. The problem was “Varnish Cache” on Server. We disabled it and now work fine.
Can I ask you 2 question, please?
1) How can i do to show correct “Also Read” and “Other from author”? I tried with Custom CSS and color tab but nothing changes Please see: https://www.uploady.com/#!/download/p~yapqDQTir/8IkxuY2SOZJwcRAW https://www.uploady.com/#!/download/f2ZnYBf9~af/qvBQFtPPWgyGundm
2) I can change Ads (728×90) in header area to the right of the logo and set it for certain categories? Which files i can change please? (i.e) I want to show in home one Ads, but in certain categories other banner
Thanks
Hi,
1. I guess you have set white background and text color globally from Theme Panel > Theme Colors – http://screencast.com/t/kYSvK5ML48x This setting affects also the Related Articles block.
If you really need to use it like that, then you can overwrite it using custom css in Theme Panel > Custom Css – http://screencast.com/t/bYOalphRQ
.td_block_related_posts .td-related-title .td-cur-simple-item {
color: #222;
}
2. You will need custom modifications for this. You can try to add a condition here in this file and display a custom ad for your specific categories – http://screencast.com/t/XjqcaUqmsM You can use is_category function – https://developer.wordpress.org/reference/functions/is_category/ and do_shortcode for a custom ad – https://developer.wordpress.org/reference/functions/do_shortcode/
Thanks!
Hi
Thanks,
Doesen’t work. the header Ads appaire every were
https://www.uploady.com/#!/download/BnDTguh6Dsm/8VMj7HcT_q4mC3Mf
Please, can you help me? I’m not expert for this
Hello,
It does not work because you have the code in the else statement. I’m not sure if you want to only show the header ad on the new_category or everywhere but the one category. Make sure the category name is the same otherwise use the category ID instead. For example: http://screencast.com/t/bv9R7y5y
Mind the syntax though.
Thanks
Thanks
Like this? I used this code in “part > header > header-style-1.php” for Custom Ad bottom menu. It’s work fine.
<?php
if (in_category(array(‘CATEGORY_ID_EXAMPLE_1’,))){
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘);
}
else{
locate_template(‘parts/header/ads.php’, true);
}
?>
<?php
if (in_category(array(‘CATEGORY_ID_EXAMPLE_2’,))){
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_2"]‘);
}
else{
locate_template(‘parts/header/ads.php’, true);
}
?>
I used “if in_category” to show the Ads in all post on each category. But doesn’t work in “part > header > ads.php”.
I would like to show Ads in some category (get banner from Ads panel or Custom Ad)
Can you help me please?
Thanks
Hello,
You will have to use the function exactly as wordpress intends to: https://developer.wordpress.org/reference/functions/in_category/
I tested this simple example and the ad spot only gets rendered for the gadgets category:
http://screencast.com/t/e4joXGQ8Oj
Thank you!
