Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hesham Zebida

    (@hishaman)

    Hi, yes that would be possible.

    You can filter and override author markup output using this filter: schema_wp_author, here is an example of code:

    add_filter( 'schema_wp_author', 'schema_author_output_modify_8198771356' );
    /**
     * Modify The Author Schema Markup in Schema Plugin
     *
     * @param array $author
     * @return array 
     */
    function schema_author_output_modify_8198771356( $author ) {
      	
    	// Modify author name
    	$author['name'] = 'Another Name';
    	
    	// Modify description
    	$author['description'] = 'Some other description';
    	
    	// Remove Author URL from the markup
    	unset($author['url']);
    	
    	// Return the array
    	return $author; 
    }

    P.S. Find more details and other example of how to modify author markup.

    So practically, you can check if there is a guest author for a post, then get data from author post meta and return it.

    I hope this helps.

    Thread Starter kevincollins1

    (@kevincollins1)

    Awesome, thanks Hesham!

    Plugin Author Hesham Zebida

    (@hishaman)

    You are welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Integration with Molongui Authorship plugin’ is closed to new replies.