WP Review
[resolved] how to use filter-list.php (3 posts)

  1. todaydownloadz
    Posted 1 year ago #

    hi downloaded the filter-list.php and uploaded it to plugin directory and did the changes like review color code and position. but there is no changes can be seen on new post editor.

    and also to position i need always use the shortcode which is more customizable. so in php what value i should use? only "bottom" is mentioned as defaults.

    please help me to solve this situation. im stucked.. what would i missed in the process possibly ?

    thank you


  2. MyThemeShop
    Plugin Author

    Posted 1 year ago #

    Hi, you need to copy any filter which you want to use in functions.php file of your theme.

    Using only shortcode feature - This feature is still in development and will be added in next update. We are going to release next update in two or three days, so stay tuned.

  3. MyThemeShop
    Plugin Author

    Posted 1 year ago #

    Hi, can you please give a try to this code in functions.php file
    This code will set custom position i.e. shortcode for all reviews and then hide the position option in post editor.

    // Set default Shortcode location for all old reviews
    function mts_new_review_location($position, $id) {
    $position = 'custom';
    return $position;
    add_filter( 'wp_review_location', 'mts_new_review_location', 10, 2 );
    // Set default Shortcode location for new reviews
    function mts_new_default_review_location($position) {
    $position = 'custom';
    return $position;
    add_filter( 'wp_review_default_location', 'mts_new_default_review_location' );
    // Hide location field in "item" meta box from post editor
    function mts_hide_item_metabox_fields($fields) {
    return $fields;
    add_filter( 'wp_review_metabox_item_fields', 'mts_hide_item_metabox_fields' );

    Hope this helps, thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Review
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic