Home>Support>Missing Author in regular pages

Missing Author in regular pages

Hi,

After having searched similar posts regarding this issue with Vantage, but not found any solution, I need your help.

In Google Structured Data i get this error :

Missing: author

More or less of my published pages have this error.

I have set the correct setting in : Theme settings : Blog – but since I only uses pages I don´t expect this to have any influence ?

Please help.

Thanks,

URL: http://sats-gruppen.dk/toemrer-arbejde/nyt-tag/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 16 days ago Andrew Misplon
    Hi, I Work Here

    Hi Kim

    Thanks for reaching out.

    Vantage is based off the highly developed starter theme Underscores. Underscores only uses author and updated info tags on posts, presumably because, as far as I know, the structured data tests are intended for syndicated content, which is posts, not pages. Dynamic, time sensitive, not static content. However, we’re more than happy to have a go at integrating this info into your pages.

    Here is a child theme you can try:

    https://siteorigin.com/wp-content/uploads/2015/08/vantage-child-google-auth-august-2015.zip

    Download the ZIP to your desktop and install from Appearance > Themes > Add New: Upload Theme. Activate. It’s normal for a child theme to reset your menu location and Customizer settings, those, unfortunately, need to be redone.

    Let us know how you come along :)

  2. 9 years, 15 days ago Kim Larsen

    Hi Andrew.

    I got a error since I already had a child theme installed. Btw also a Vantage Child theme.

    This is what is in css. so far :

    /*
    Theme Name: Vantage Premium Child
    Template: vantage
    Author: Child Theme Configurator
    Version: 1.0.1442220121
    Updated: 2015-09-14 08:42:01
    */

    @charset “UTF-8″;

    add_action(‘wp_head’, ‘Add_hreflang’);
    function Add_hreflang(){
    echo ”;
    }

    Can we add whats needed here or do I need to uninstall the current child theme and then install the one from you ?

    Thanks

  3. 9 years, 15 days ago Andrew Misplon
    Hi, I Work Here

    When your child theme is activated and you go to Appearance > Editor, is style.css on the only file there?

  4. 9 years, 15 days ago Kim Larsen

    There are 2 files :

    functions.php
    styles.css

    That´s all.

    Kim

  5. 9 years, 15 days ago Andrew Misplon
    Hi, I Work Here

    Can you please, paste the contents of functions.php here. Instructions below the comment field on how to wrap code.

    Thanks.

  6. 9 years, 15 days ago Kim Larsen
     <?php
    // Exit if accessed directly
    if ( !defined( 'ABSPATH' ) ) exit;
    
    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED - Do not modify or remove comment markers above or below:
    
            
    if ( !function_exists( 'chld_thm_cfg_parent_css' ) ):
        function chld_thm_cfg_parent_css() {
            wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css' );
        }
    endif;
    add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css' );
    
    // END ENQUEUE PARENT ACTION
     
  7. 9 years, 15 days ago Andrew Misplon
    Hi, I Work Here

    It looks like you can delete your child theme and install the one I recommended. There isn’t anything in this child theme except for:

    add_action(‘wp_head’, ‘Add_hreflang’);
    function Add_hreflang(){
    echo ”;
    }
    

    However, that was in your style.css file. CSS can’t parse PHP which is the language that’s in so it wouldn’t be doing anything.

  8. 9 years, 15 days ago Kim Larsen

    Dohhh ! – That is was coming out of working late night ! Thanks…..

    I´ll try your recipe !

    Will let you know how it goes

  9. 9 years, 15 days ago Andrew Misplon
    Hi, I Work Here

    For sure. Let us know how you come along.

  10. 9 years, 15 days ago Kim Larsen

    Child theme has now been changed. No settings where lost ( so it seems ).

    Now I´m hope i will have effect on Google Structured Data, but that is first to be seen in a few days.

    Until now everything seems to work fine and dandy. You will know more, when there is a update from Google

    Thanks so far !

  11. 9 years, 15 days ago Andrew Misplon
    Hi, I Work Here

    For sure :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More