Small issues with Posts Author's name / Social Counter

Posted in: Newspaper
Post count: 1

Hi,
I’ve been using Newspaper for a local news outlet, and I’ve noticed that some features are working in a somewhat unusual way, and I’m not sure they’re showing their correct behaviour. The website is http://www.dietrolequinteonline.it but right now is not public yet.

– Is there a way to show the author name on the Custom Template Headers?
Some authors pointed out that in contrast to the default header template, the theme header templates were missing the author’s name near the category, which as you may imagine, is creating a bit of “political” issues between the authors when some posts are published for various reasons with different headers. is there a way to show the author’s name for those templates?

– Also right now the “Social Counter” widget shows just a single facebook follower, while the actual page actually sports an higher number.
Is that a bug? or is it due to the website using a “maintenance mode” plugin right now (specifically WP Maintenance Mode)?

Post count: 6600

Hi,

1. Form theme version 4.4 we have added option in panel to show the author under the title of the post but this option when enabled will show the author just in the posts headers under the title and also in modules 1,7 and search for post layout’s.
If you also need the author to appear on the other modules you can enable it by uncommenting it from module file, like this: http://screencast.com/t/IvtjSib4cm3 Do the same for each module.

2. Actually we do seem to have some issue with tagdiv social counter plugin but first please make sure you use it right: https://forum.tagdiv.com/how-to-manage-the-social-counter/
If still doesn’t start working please send an email at contact@tagdiv.com specifying this in your subject and we will send you the fixed version of this plugin as we had some issue with it and we managed to fix them but the new version of this plugin won’t be available until next theme update.

Thanks

Post count: 77

Hi guys,

I just saw on Google Webmaster Tools that my site has almost 100 errors in Structured Data > hentry section. The Error is “Missing: Author”.
I googled the issue and found this article:
http://www.acceleratormarketing.com/trench-report/google-analytics-errors-and-structured-data/

In the article they recommend to fix the single.php file by finding the following: <?php the_author(); ?> and changing it to: <span class=”vcard author post-author”><span class=”fn”><?php the_author(); ?></span></span>

I couldn’t find that line in the theme’s single.php file.

What’s the solution to fixing this?

Thanks!

Post count: 6600

Hi,

You need to edit the loop-single.php file and add it like this: http://screencast.com/t/28cAy2usIbr
This is the line you need to add: ?> <span class="vcard author post-author"><span class="fn"> <?php echo $td_mod_single->get_author(); ?> </span></span> <?php and replace the echo $td_mod_single->get_author(); line.

Thanks

  • This reply was modified 11 years by Lucian.
Post count: 77

Thanks!

Post count: 77

Hi again – I changed the loop-single.php as instructed 3 days ago, and check now with google tools and I even got more new “Missing: Author” errors…

Any idea what to do?

Thanks!

Post count: 77

Hi guys – the “Missing: Author” errors are piling up on my google tools.

Can you please tell me what to do?

As mentioned – I changed the loop-single.php as you instructed, but it’s not changing the situation…

Thanks!

Post count: 6600

Hi,

Please try to make this changes to other post templates as well as when you set and use other than the default one other files are used so make this changes to this files also if you have enabled the author: http://screencast.com/t/CupmzFUJdrj
Please let me know and also provide your site’s URL.

Thanks

Post count: 77

Hi there,

Thanks for the reply.
First of all – what do you mean by “if you have enabled the author”??
I haven’t enabled anything that has to do with “author” since installing the theme,
is there something I am missing?

Well, I followed your advise and replaced the line in the loop-single-1.php as well.

But when I wanted to replace it also in the Single_Template-2, Single_Template-3 and so on,
I noticed it’s not the same lines as in the loop-single files.
The lines in the Single_Template files are like this:

<header>
<?php echo $td_mod_single->get_title();?>

<div class=”meta-info”>
<?php echo $td_mod_single->get_category();?>
<?php //echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_commentsAndViews();?>
</div>
</header>

So should I replace the line: echo $td_mod_single->get_author(); in the exact same way in these files as I did in the loop-single files?

The URL for the site is this:
http://www.cobras.org

Thanks!

Post count: 6600

Hi,

I refer to this line: get_author();?> form other post templates other than the default post type if you have enabled the author which I understood now that you didn’t.
I have also tested your site with the Structured Data Testing Tool and haven’t found missing author errors anymore: https://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fwww.cobras.org

Thanks

Post count: 77

Hi Lucian,

Thanks for the reply.
Sorry – I gave you the wrong URL, the wordpress theme is on this URL:
http://cobras.org/Home/
From my latest check on webmaster tools there are 96 Missing Author errors:
http://www.screencast.com/t/xdpzARo76c

Can you please elaborate on what it means to “enable the author”??

So should I replace these lines: <?php //echo $td_mod_single->get_author();?>
in each of the Single_Templates you mentioned with this line:
?> <span class=”vcard author post-author”><span class=”fn”> <?php echo $td_mod_single->get_author(); ?> </span></span> <?php

??

Thanks!

Post count: 6600

Hi,

Checked this URL also and as you can see no errors: https://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fcobras.org%2FHome%2F
I have noticed in your screen this page URL: http://screencast.com/t/ttHLfQCxsKl which could be your issue as this is a page from the demo data you’ve installed.
Please make sure that you delete those pages an posts and check again.
Hope this helps!

Thanks

Post count: 77

Hi Lucian,

Thanks for the answer.

Two things:

1) Well I don’t understand how you get to your results of no errors for my site, because when I go into my Google Webmaster Tools, into: Structured Data > hentry, then I currently get 55 errors. This a screenshot of part of them. All errors are the MISSING AUTHOR.
http://www.screencast.com/t/uyTH9gxyB3v

2) The issue of td_d_slug page: I deleted all the pages and posts from the Demo long time ago, but there is something strange – as if the theme is automatically creating pages by it’s own?!?! I just noticed in Google Webmaster Tools, in the Crawl Errors, a list of 159 URL errors, most of them td_d_slug pages counting upwards. You can see these in this screenshot:
http://www.screencast.com/t/M9ldP8cLt
I never created these td_d_slug pages and can’t find them anywhere in my system.

I can see on that list many pages I deleted in the past, and they do not exist anymore on my wordpress. Is there a way to permanently delete these pages from the web?

Thanks!

Post count: 6600

Hi,

1. Please send me more details about this and to do so click on the missing author error and send me an image with that screen: http://screencast.com/t/ME6VemUscNp
Please also try to enable the author box on your post pages as the theme already has vcard author built and check again: http://screencast.com/t/4PrpBRjA259X

2. The 404 is returned for those pages because they don’t exist anymore so either because you deleted or renamed it without redirecting the old URL to a new page, or because of a typo in a link, so those pages where create when you added the demo content and when you removed them the 404 error was given by google as no pages where found at those addressees.
You can find here more info about this: https://support.google.com/webmasters/answer/2409439?hl=en

Thanks

Post count: 77

Hi Lucian,

Thanks for the detailed explanations.

As you requested – here’s the screenshot of one of the missing author error window:
http://www.screencast.com/t/m0JeJdvq5k

I enabled the author box for now, but it’s not a feature I want to be present on each post – is there a way around it that it doesn’t need to show on each post?

Thanks!

Post count: 6600

Hi,

I suggest you give it some time and your posts errors will be corrected in time, when your web page gets crawled.
Check your webmaster structure data and check where the error is showing by clicking on the error and when the pop up window opens click on the live test data and check your url with live data.
I have also checked the post page for which you provided the screenshot and when you click on the live test data like this: http://screencast.com/t/BCiddsGxR7x you will get this result from your structured data tool in which you can notice that the author is present: http://screencast.com/t/TjswbYaJQ
You can also check in webmaster what is the last detected error date and if your error containing url is not crawled after your adaptation then you have to wait until your web page is crawled. Then you will see the updated result.

Thanks

Viewing 16 posts - 1 through 16 (of 16 total)
You must be logged in to reply to this topic.