Register with your Envato account

Support forums

Homepage Support GoodGame WordPress Magazine Schemas and autor is broken

Schemas and autor is broken

Homepage Support GoodGame WordPress Magazine Schemas and autor is broken

This topic contains 5 replies, has 2 voices, and was last updated by  Planetshine Support 8 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10083

    gaizkagzgr
    Participant

    Hi,

    The schema NewsArticle is broken and the autor don’t work.

    Only on one post has appeared

    Actualización de Equilibrio | Apex Legends

    And the autor permalink is broken too, it redirect to webpage instead of autor url.

    Attachments:
    You must be logged in to view attached files.
    #10086

    gaizkagzgr
    Participant

    More info:

    WP : 5.1.1
    VisualComposer: 5.7

    The author is well configured in Yoast (activated).

    #10087

    gaizkagzgr
    Participant

    All fixed:

    Errors:

    Author & Author Link.

    Author:

    post-author.php:4

    If the author don’t choose description, the author don’t appear on post. This is the line:

    if (!empty($description) && strlen($description) > 0) {

    I think choosing a description isn’t needed.

    Fix: Removed that line.

    Author Link:

    post-author.php:17

    <h2>“><?php echo get_the_author(); ?>

    Wrong author url.

    Fix: esc_url( get_author_posts_url( get_the_author_meta( ‘ID’ ) ) ) // for get path with url to author.

    Schema NewsArticle:

    theme.php:285

    Is better BlogPosting instead of NewsArticle, anyway the schema is bad implemented, it need author, pusblisher and dates. With that schema is doing errors.

    Fix: Changed to my custom BlogPosting.

    #10094

    Hey,

    Thanks for sharing.

    I will just clarify few things.

    if (!empty($description) && strlen($description) > 0) {
    this check is performed because without description, author information will look poor. Basically corresponding element’s design requires it. I must agree with you that this is not best solution at all.

    <h2><a href="<?php echo esc_url(get_the_author_meta('url')); ?>"><?php echo get_the_author(); ?></a></h2>
    here we want to share authors personal blog, not his posts archive.

    #10098

    gaizkagzgr
    Participant

    Thanks for response.

    here we want to share authors personal blog, not his posts archive.

    So, If any author can put their own blog, they can just spam links to their niche (with exact anchor) and grown their website thanks to webpage owner, the link is follow. We could put rel=”nofollow” but always the website owner will decreasing their PR on each page of author because is external link.

    Anyway, if the option is empty, it will be nice don’t echo URL because always output the link of same page (Link to same page with the anchor of name’s Author).

    At personal preference, If we use Ultimate Member for grow community, I think the URL must be author archive or user (/user/namesauthor) for PR Flow in the same domain.

    What do you think?

    #10102

    From our point of view the whole idea behind this author’s block was to share most of the information added in wp-admin’s Profile section. We were not focused on SEO here.

    Anyway, if the option is empty, it will be nice don’t echo URL because always output the link of same page (Link to same page with the anchor of name’s Author).

    Yes, you are correct, here we missed extra if statement.

    At personal preference, If we use Ultimate Member for grow community, I think the URL must be author archive or user (/user/namesauthor) for PR Flow in the same domain.

    If you are focused on SEO then yes, this is better approach.

Viewing 6 posts - 1 through 6 (of 6 total)
You must have active support license to create new replies.

Learn more about Renewing Item Support and Themeforest Item Support Policy.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close