Changeset 2946872
- Timestamp:
- 08/03/2023 02:18:26 AM (2 years ago)
- Location:
- ryviu/trunk
- Files:
-
- 3 edited
-
includes/settings.php (modified) (5 diffs)
-
readme.txt (modified) (1 diff)
-
ryviu.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ryviu/trunk/includes/settings.php
r2922607 r2946872 106 106 'ryviu-setting-admin' // Page 107 107 ); 108 109 108 foreach ($this->general_settings() as $field) { 110 109 add_settings_field( … … 158 157 159 158 $fields_setting[] = array( 160 'name' => 'priority_position_display ',159 'name' => 'priority_position_display_widget', 161 160 'title' => 'Priority position' 162 161 ); … … 262 261 public function select_field($name){ 263 262 $select = isset($this->options[$name])? $this->options[$name] : 1; 264 $priority_select = isset($this->options['priority_'.$name])?$this->options['priority_'.$name] : 10;265 263 echo '<select id="position_display" class="ryviu_settings_reviews" name="ryviu_settings_reviews['.$name.']">'; 266 264 foreach (ryviu_display_position_hook($name) as $key => $data) { … … 269 267 echo '</select>'; 270 268 if($name == 'position_display_widget'){ 269 $priority_select = isset($this->options['priority_'.$name]) ? $this->options['priority_'.$name] : 10; 271 270 echo '<span class="priority-label">Priority</span><select name="ryviu_settings_reviews[priority_'.$name.']">'; 272 271 foreach([6, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80] as $priority){ … … 355 354 echo '</select>'; 356 355 357 echo '<p class="description">Show Question and Answer on the default position (Only support premium accounts)</p>';356 echo '<p class="description">Show Question and Answer on the default position (Only support Ryviu\'s premium accounts)</p>'; 358 357 echo '<p class="custom_position_display_reviews r--alshow">Add our PHP code or Shortcode anywhere in the single product page: <code><input class="medium-text" type="text" readonly="readonly" value="<?php do_action( \'ryviu_question_and_answer\' ); ?>" style="min-width: 315px;color: #000;" /><input class="medium-text" type="text" readonly="readonly" value="[ryviu_question_and_answer]" style="min-width: 315px;color: #000;" /></code></p>'; 359 358 } -
ryviu/trunk/readme.txt
r2922607 r2946872 6 6 Tested up to: 6.2 7 7 WC requires at least: 3.0 8 WC tested up to: 7. 78 WC tested up to: 7.8 9 9 Stable tag: 5.* 10 10 License: GPLv2 or later -
ryviu/trunk/ryviu.php
r2922607 r2946872 20 20 * Tested up to: 6.2 21 21 * WC requires at least: 3.0 22 * WC tested up to: 7. 722 * WC tested up to: 7.8 23 23 * Author: Ryviu 24 24 * Author URI: https://www.ryviu.com
Note: See TracChangeset
for help on using the changeset viewer.