How to Translate our Plugins Using the CodeStyling Localization Plugin

Here is a step by step guide to help you translate the WP Rich Snippets plugin using the CodeStyling Localization Plugin that can be downloaded from website.

1- Install the CodeStyling Localization Plugin

The CodeStyling Localization is a free plugin that can be download it from here (you also can install it directly within your WordPress dashboard), start with downloading/installing the plugin on your WordPress website, then head to the Localization page under the Tools menu.

2- Add New Language

Click on the Add New Language button as showing below:

localization add new language

3- Choose Language

A window will pop up, choose your Language from the list, and click on the Create po-file button as shown below:

localization choose new language

4- Click on the Edit button

Now, click on the Edit button.

localization new language po-file

5- Start translating to your own Language.

A new page will open and you will see all wording that you can translate to your own Language.

localization translate language file

6- Translate & Save

Now it’s all about translating every word and save the translation.

localization star translating

 7 – Generate mo-file

Once you are done with the translating , click on the generate mo-file button and make sure you select Textdomain: “wprs”.

localization generate mo file

8- Check via FTP

Make sure that you’ve got two files in the languages folder that is located at:

wp-content/plugins/wp-rich-snippets/lib/languages  folder.

localization language files

9- Check your wp-config.php file

Make sure you are have this line in your wp-config.php file with the exact Language of the file name, example:

define ('WPLANG', 'ar_EG');

If you have a different name set on that line above, then make sure to edit the files name to match it.

10- Backup the translation files

It’s highly recommended that you make backup of the .po and .mo files and save them in a safe place on your computer, so when you upgrade the plugin you can always upload these two files again to the Languages folder. (Let us know if you have created translations so we can add it to the plugin core files).

You are done!

Compare Add-on for WP Rich Snippets Plugin

The Compare add-on allow you to add a comparasion between two or more products or services in a table via a simple shortcode. (This add-on requires the WP Rich Snippets plugin)


Use: [wprs-compare type="rating" cpt="post" ids="83,120,75"]

Other shortcode parameters

[wprs-compare type="aggregate" cpt="post" ids="83,120,75" num=2 images=no price=no rating=no criteria=no description=no action=no]

Here is a live demo of the comparison table.

And, here is how it looks:


Ranking Table Add-on for WP Rich Snippets Plugin

The Ranking Table add-on allow you to display sort-able items in a table via a simple shortcode, which gives your website visitors an easy way to find the best recommendations for their needs. Items can be sorted by rank, rating and price.

Table Shortcode

Use shortcode :

[wprs-table cpt="post"]

Other shortcode parameters:

[wprs-table cpt="post" cat=1 num=10 type="user" rank=no title="My awesome product" images=no summary=no price=no rating=no action=no]

View the table in action.

This is how the table looks like:


How to Upgrade Your License

In some cases you’ve purchased a single-site license, then decided latter to upgrade your license to a multi-sites or even better grab the best offer and get ultimate license.


If you would like to upgrade your license, login to your account, then click on the “Payment History” tab, you will find the upgrade link if your account legit for a license upgrade.

Here are the steps:

  1. Login to your account
  2. Click on the “Payment History” tab.
  3. You should see an upgrade link under “Your Subscriptions”, click it.
  4. You should see a popup with options, choose your preferred license upgrade and check out.

You are done!

WPRS Item link settings

The review link settings tab deal mostly with call to action button links in your review entry, you can use it to include links to product pages or if you are an affiliate marketer then you can add an affiliate link (I recommend using the ThirstyAffiliate plugin). Also, there is a feature to add an extra button (for example a product demo page).


Links will be displayed in the Rating Box as a button to increase conversion.

Links are mostly external, means it link to a page outside of your site, so basically we add rel=”nofollow” attribute to those links. However in some cases you may need to dofollow a link, so we’ve added an option for that in the review link tab. Also, you have the option to set the button text.