Once you have installed v3.0:
1. Create a folder inside of your active theme folder called “site-reviews”.
i.e. /wp-content/themes/your-theme/site-reviews/
2. Next, copy over the “review.php” template file from the plugin into this new folder. You can find this file in the “views/templates” folder in the plugin.
For example, copy this:
/wp-content/plugins/site-reviews/views/templates/review.php
to here:
/wp-content/themes/your-theme/site-reviews/review.php
3. Finally, edit the “review.php” file in a text editor and change the order of the fields. For example, this is what the file looks like when you open it in an editor:
<?php defined( 'WPINC' ) || die; ?>
<div class="glsr-review">
{{ title }}
{{ rating }}
{{ date }}
{{ assigned_to }}
{{ content }}
{{ avatar }}
{{ author }}
{{ response }}
</div>
If you wanted to place the rating after the author name, you would change it to this:
<?php defined( 'WPINC' ) || die; ?>
<div class="glsr-review">
{{ title }}
{{ date }}
{{ assigned_to }}
{{ content }}
{{ avatar }}
{{ author }}
{{ rating }}
{{ response }}
</div>
-
This reply was modified 6 years, 2 months ago by Gemini Labs.
-
This reply was modified 6 years, 2 months ago by Gemini Labs.
-
This reply was modified 6 years, 2 months ago by Gemini Labs.
-
This reply was modified 6 years, 2 months ago by Gemini Labs.