Title: json jobtitle
Last modified: January 6, 2020

---

# json jobtitle

 *  Resolved [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/json-jobtitle/)
 * Hello,
 * I have modified my theme to add the profession next to the name as you can see
   here :
 * [https://www.docteur-fitness.com/est-il-plus-avantageux-de-diviser-votre-entrainement-en-plusieurs-seances-par-jour](https://www.docteur-fitness.com/est-il-plus-avantageux-de-diviser-votre-entrainement-en-plusieurs-seances-par-jour)
 * –> Jimmy THAI, Science Journalist
 * I cheated a little. To display the profession, I use the “last_name” input in
   the WordPress profile.
 * (because I don’t have the skills to create a new input etc.).
 * Now I’d just like to add it to the “json.”
 * Currently I have this
 * author
    [@type](https://wordpress.org/support/users/type/) Person name Jimmy 
   THAI
 * Can you help me add “jobTitle”: $last_name
 * I don’t know if you get the idea…
 * Many thanks for help

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Rank Math SEO](https://wordpress.org/support/users/rankmath/)
 * (@rankmath)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/json-jobtitle/#post-12301744)
 * Hello [@espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * Thank you for contacting the support.
 * Please add the following filter to change the author name by adding the code 
   in your theme’s functions.php file:
 *     ```
       add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
       	if ( isset( $data['richSnippet']['author'] ) ) {
       		$data['richSnippet']['author']['name'] = $data['richSnippet']['author']['name'] . 'ADD_LAST_NAME_HERE';
       	}
       	return $data;
       }, 99, 2);
       ```
   
 * Hope that helps.
 *  Thread Starter [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * (@espacemusculation)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/json-jobtitle/#post-12301783)
 * [@rankmath](https://wordpress.org/support/users/rankmath/)
 * thanks for trying to help me.
    but I don’t want to do that.
 * I want to add “jobTitle”
 * [http://schema.org/jobTitle](http://schema.org/jobTitle)
 * I have modified my theme to add the profession next to the name as you can see
   here :
 * [https://www.docteur-fitness.com/est-il-plus-avantageux-de-diviser-votre-entrainement-en-plusieurs-seances-par-jour](https://www.docteur-fitness.com/est-il-plus-avantageux-de-diviser-votre-entrainement-en-plusieurs-seances-par-jour)
 * –> Jimmy THAI, Science Journalist
 * I cheated a little. To display the profession, I use the “last_name” input in
   the WordPress profile.
 * (because I don’t have the skills to create a new input etc.).
 * Now I’d just like to add it to the “json.”
 * Currently I have this
 * author
    [@type](https://wordpress.org/support/users/type/) Person name Jimmy 
   THAI
 * Can you help me add “jobTitle”: $last_name
 * I don’t know if you get the idea…
 * Many thanks for help

Viewing 2 replies - 1 through 2 (of 2 total)

 The topic ‘json jobtitle’ is closed to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [espacemusculation](https://wordpress.org/support/users/espacemusculation/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/json-jobtitle/#post-12301783)
 * Status: resolved