This topic has 10 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #211718
     Dexo
    Participant

    Hello,

    When I ran the Google Structured Data Tool, I received errors in the Article schema for Posts.  This is not affecting the pages as far as I can tell, just the blog posts. I see that is also doing the same on your demo. I have attached a screen shot of the errors.

    This is the tool I use for testing the schema.

    https://search.google.com/structured-data/testing-tool/u/0/

     

    Thanks again for all that you do.

    Attachments:
    You must be logged in to view attached files.
    #211759
     Laura
    Moderator

    Hello, have you tested using yoast seo plugin? this could help setting up metadata por posts and pages

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #211765
     Dexo
    Participant

    Hi Laura,

    Thanks for replying. Yes, I use Yoast and am still getting those errors after I disable it. There are not any settings in Yoast to map those fields. The pages work fine, it is just the posts giving the schema errors. It’s not good for SEO. 


    #211803
     Laura
    Moderator

    Hello, have you tried https://wordpress.org/plugins/schema/ ? Hope it helps 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #211833
     Dexo
    Participant

    Hi Laura,

    I use a paid schema plugin already. The problem is that it creates a second “Article” schema that is correct while the one with the errors still remains.

    I think Kleo is awesome. All I am trying to do is let you all know that the errors exist. Like I mentioned above, the other schemas work correctly.

    Attachments:
    You must be logged in to view attached files.
    #211857
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #211869
     Radu
    Moderator

    HI,

    I cannot see your article page cuz it’s maintenance mode, i need an account to can see it.

    What Url did you had used on the google structured tool for test ? any post url ?

    You can provide to me the FTP and wp admin to can take a closer look at that in a private reply.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #211873
     Dexo
    Participant
    This reply has been set as private.
    #212007
     Radu
    Moderator

    Hi,

    I see i will forward to the developer that, you an use this function to stop our schema to be added
    to body.

    The code will be added in wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    
    /* SQR Remove Schema org for body */
    if ( ! function_exists( 'kleo_get_schema_org_markup' ) ) {
    
        function kleo_get_schema_org_markup() {
            $schema = 'http://schema.org/';
            if ( is_singular( 'post' ) ) {
                $type = "Article";
            } elseif ( is_singular( 'portfolio' ) ) {
                $type = "VisualArtwork";
            }
            elseif ( function_exists('bp_is_active') && bp_is_user() ) {
                $type = 'ProfilePage';
            }
            elseif ( is_author() ) {
                $type = 'ProfilePage';
            } // Is search results page
            elseif ( is_search() ) {
                $type = 'SearchResultsPage';
            }
            else {
                $type = 'WebPage';
            }
    
            $type = apply_filters( 'kleo_schema_org_type', $type );
    
    //        return 'itemscope itemtype="' . $schema . $type . '"';
            
        }
    
    }
    

    Let me know

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #212033
     Dexo
    Participant

    Thank you Radu!

    #212118
     Radu
    Moderator

    No problem
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 11 posts - 1 through 11 (of 11 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?