Title: Changing Schema Type without function.php
Last modified: August 24, 2016

---

# Changing Schema Type without function.php

 *  Resolved [TerraBite](https://wordpress.org/support/users/terrabite/)
 * (@terrabite)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-schema-type-without-functionphp/)
 * Hello
 * thank you very much for doing this awesome plugin.
 * I use your plugin on 5 sites of my website (so not globally) and would like to
   change the Schema.org-Type from Article to SoftwareApplication without touching
   the function.php of my theme (to insert the code you reccomanded in the readme).
 * Is there a possibility to do so using your wp-postratings/wp-postratings.php 
   file? If yes how?
 * I tried to change this line there to SoftwareApplication:
    —————————————– // 
   Check To See Whether User Has Voted $user_voted = check_rated($ratings_id); //
   HTML Attributes if( is_single() || is_page() ) { $itemtype = apply_filters(‘wp_postratings_schema_itemtype’,‘
   itemscope itemtype=”[http://schema.org/SoftwareApplication](http://schema.org/SoftwareApplication)“‘);
   $attributes = ‘id=”post-ratings-‘.$ratings_id.'” class=”post-ratings” ‘.$itemtype;}
   else { $attributes = ‘id=”post-ratings-‘.$ratings_id.'” class=”post-ratings”‘;}
 * ————————–
 * but after doing so the google structured data analyzer tool claims that there
   are no aggregate data for SoftwareApplication.
 * Please help changing the Schema Type
 * Many Thanks
 * [https://wordpress.org/plugins/wp-postratings/](https://wordpress.org/plugins/wp-postratings/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/changing-schema-type-without-functionphp/#post-5963933)
 * Sorry, I don’t provide support for modification of the plugin.
 * Having said that, I would recommend using the function instead of modifying the
   plugin instead because if there is a security update to the plugin, you will 
   lose your changes.

Viewing 1 replies (of 1 total)

The topic ‘Changing Schema Type without function.php’ is closed to new replies.

 * ![](https://ps.w.org/wp-postratings/assets/icon.svg?rev=978014)
 * [WP-PostRatings](https://wordpress.org/plugins/wp-postratings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-postratings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-postratings/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-postratings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-postratings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-postratings/reviews/)

## Tags

 * [function.php](https://wordpress.org/support/topic-tag/function-php/)
 * [schema type](https://wordpress.org/support/topic-tag/schema-type/)
 * [schema.org](https://wordpress.org/support/topic-tag/schema-org/)

 * 1 reply
 * 2 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/changing-schema-type-without-functionphp/#post-5963933)
 * Status: resolved