Title: ducod's Replies | WordPress.org

---

# ducod

  [  ](https://wordpress.org/support/users/ducod/)

 *   [Profile](https://wordpress.org/support/users/ducod/)
 *   [Topics Started](https://wordpress.org/support/users/ducod/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ducod/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ducod/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ducod/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ducod/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ducod/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/ducod/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/ducod/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BP Star Ratings] How to align the plugin to center?](https://wordpress.org/support/topic/how-to-align-the-plugin-to-center-2/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/how-to-align-the-plugin-to-center-2/#post-15101592)
 *     ```
       .bp-star-ratings.top-left,
       .bp-star-ratings.top-right {
           position: absolute;
       	left: 40%;
       	top: -3%;
       }
   
       @media only screen and (max-width: 600px) {
   
       .bp-star-ratings.top-left,
       .bp-star-ratings.top-right {
           position: absolute;
       	left: 20%;
       	margin-top:10px;
   
       }
       }
   
       @media only screen and (min-width: 600px) {
   
       .bp-star-ratings.top-left,
       .bp-star-ratings.top-right {
           position: absolute;
       	left: 28%;
       	margin-top:10px;
       }
       }
   
       @media only screen and (min-width: 768px) {
   
       .bp-star-ratings.top-left,
       .bp-star-ratings.top-right {
           position: absolute;
       	left: 35%;
       	margin:10px 0px 25px 0px;
       }
       }
   
       @media only screen and (min-width: 992px) {
   
       .bp-star-ratings.top-left,
       .bp-star-ratings.top-right {
           position: absolute;
       	left: 40%;
       	top: -3%;
       }
       }
   
       @media only screen and (min-width: 1200px) {
       .bp-star-ratings.top-left,
       .bp-star-ratings.top-right {
           position: absolute;
       	left: 40%;
       	top: -3%;
       }
       }
       ```
   
 * I am currently using these codes, but it’s better to have the options selected
   at the backend, thank you.
    -  This reply was modified 4 years, 7 months ago by [ducod](https://wordpress.org/support/users/ducod/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Google said: Page cannot be reached](https://wordpress.org/support/topic/google-said-page-cannot-be-reached/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/google-said-page-cannot-be-reached/#post-13671987)
 * Set this topic as Resolved, as I have found the issue: I tried to manually upload
   an advanced-cache.php to wp-contents, thought this will get my site working even
   faster, but this blocks Google to fetch my website, I tried to delete this PHP
   file and everything looks fine now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals] Any previous version that supports PHP lower than 7.0?](https://wordpress.org/support/topic/any-previous-version-that-supports-php-lower-than-7-0/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/any-previous-version-that-supports-php-lower-than-7-0/#post-13342757)
 * Thank for your reply, but unfortunately, the plugin couldn’t be installed as 
   the WordPress notes that this plugin doesn’t support current PHP version, even
   I tried to upload the folder to the wp-content/plugin, and try to activate it,
   the result stayed the same.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Can Site Reviews do like this?](https://wordpress.org/support/topic/can-site-reviews-do-like-this/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/can-site-reviews-do-like-this/page/2/#post-11432818)
 * Yes, I noted the new changes, thanks very much for your help and indeed, I’ve
   customized with my own style, it looks great to fit my theme right now. Also,
   have submitted my 5/5 review in the plugin review’s page. Thanks again for your
   help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Can Site Reviews do like this?](https://wordpress.org/support/topic/can-site-reviews-do-like-this/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/can-site-reviews-do-like-this/#post-11431884)
 * The Schema code is working! Thanks so much for your help! As for the custom text
   with link issue I’ve contacted with the email support, so, it’s time to close
   this thread, thanks very much for your help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Can Site Reviews do like this?](https://wordpress.org/support/topic/can-site-reviews-do-like-this/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/can-site-reviews-do-like-this/#post-11428926)
 * BTW, sorry for my lack of code skills,
 * I tried to use the schema feature with the Custom section(check this [screenshot](https://ibb.co/fFKnnJv))
   and after testing in Google Construction tool, the result shows that I need to
   add the required operatingsystem and applicationcategory value, though I checked
   the schema.org document in the document page. and then add the code as follow:
 *     ```
       add_filter( 'site-reviews/schema/Custom', function( array $schema ) {
       	$schema['SoftwareApplication'] = [
       		'@type' => 'Entrypoint',
       		'applicationCategory' => 'Backup,Restore',
       		'operatingSystem' => 'Windows,Mac',	
       	];
       	return $schema;
       });
       ```
   
 * But it seems it doesn’t work. What should I do then?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Can Site Reviews do like this?](https://wordpress.org/support/topic/can-site-reviews-do-like-this/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/can-site-reviews-do-like-this/#post-11428895)
 * Yes, I did paste the code in the plain text area, check the [screenshot](https://ibb.co/z2XMHPm),
 * But the result I got is only:No URL, check this [screenshot](https://ibb.co/FmW904B)
 * For the category and assigned_to feature, that means I need to create a review
   page separately for product 1 and product 2.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Can Site Reviews do like this?](https://wordpress.org/support/topic/can-site-reviews-do-like-this/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/can-site-reviews-do-like-this/#post-11428568)
 * Hi, I finally used the solution as below:
 * 1. Assign_to the review page and then added the code from Pastebin link.
    2. 
   Add drop_menu in the same review page where has two categories.
 * Added the shortcode to the product page 1:
    `[site_reviews_summary category=1417
   assigned_to="2600" schema=true hide=rating,bars]`
 * Added the shortcode to the product page 2:
    `[site_reviews_summary category=1418
   assigned_to="2600" schema=true hide=rating,bars]`
 * Both of these two pages can have the stars and review numbers showing as like
   the [screenshot](https://ibb.co/VVxbnpB).
 * However, the `text="<a href='/reviews'>Reviews ({num})</a>"`code isn’t working
   on my theme, don’t know why.
 * BTW,
    1. How can I add the search bar in the Review page if someone wants to 
   search for the target keywords to filter the current results? Check this [screenshot](https://ibb.co/74Y6T3y)
   2. How to add the category name beside each review —Check this [screenshot](https://ibb.co/x8Kb7hT)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Can Site Reviews do like this?](https://wordpress.org/support/topic/can-site-reviews-do-like-this/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/can-site-reviews-do-like-this/#post-11427863)
 * `[site_reviews_summary text="<a href='/reviews'>Reviews({num})</a>" schema="true"
   class="text-align:center" hide="rating,bars"]`
 * Yes, I used the single quotes to the URL, however, I got the result finally like
   this:
 * [Screenshot](https://ibb.co/PhCZnbH)
 * What’s wrong?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Can Site Reviews do like this?](https://wordpress.org/support/topic/can-site-reviews-do-like-this/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/can-site-reviews-do-like-this/#post-11420709)
 * I’ve added the code to function.php and then the shortcode to the page.
 *     ```
       //Reviews add Link
       add_filter( 'site-reviews/rendered/template/reviews-summary', function( $template, $data ) {
           if( !empty( $data['context']['assigned_to'] )) {
               $permalink = get_the_permalink( $data['context']['assigned_to'] );
               $title = get_the_title( $data['context']['assigned_to'] );
               if( $permalink && $title ) {
                   $assignedToPermalink = sprintf( ' of <a href="%s">%s</a>', $permalink, $title );
                   $template = preg_replace( '/(\(based on \d+ reviews?)(\))/', '$1'.$assignedToPermalink.'$2', $template );
               }
           }
           return $template;
       }, 10, 2 );
       ```
   
 * However, the link isn’t working,
 * showing like this:
 *     ```
       Stars
       <a href='/reviews'>Reviews (2)</a>
       ```
   
 * What should I do now? Thanks.
    -  This reply was modified 7 years, 2 months ago by [ducod](https://wordpress.org/support/users/ducod/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Can Site Reviews do like this?](https://wordpress.org/support/topic/can-site-reviews-do-like-this/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/can-site-reviews-do-like-this/#post-11420682)
 * OK, I will try it. Thanks again for your help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Can Site Reviews do like this?](https://wordpress.org/support/topic/can-site-reviews-do-like-this/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/can-site-reviews-do-like-this/#post-11420645)
 * Thanks so much for your quick response!
 * Should I assign to the reviews page in the homepage’s shortcode? the reviews 
   page id is 2600. Or will the {num} from the homepage auto add numbers once getting
   new reviews.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rate My Post - Star Rating Plugin by FeedbackWP] There are two creativework on my page](https://wordpress.org/support/topic/there-are-two-creativework-on-my-page/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/there-are-two-creativework-on-my-page/#post-11031384)
 * Thanks, [@blazk](https://wordpress.org/support/users/blazk/)
 * I’ve embedded
    `<?php echo do_shortcode('[ratemypost-result]'); ?>`
 * and
 * `<?php echo do_shortcode('[ratemypost]'); ?><br/>`
 * to my theme’s single page, it’s working now.
 * You can check this post now.
 * [https://r-datarecovery.com/check-disk-for-consistency.html](https://r-datarecovery.com/check-disk-for-consistency.html)
 * Many Thanks for your help!
    -  This reply was modified 7 years, 5 months ago by [ducod](https://wordpress.org/support/users/ducod/).
    -  This reply was modified 7 years, 5 months ago by [ducod](https://wordpress.org/support/users/ducod/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rate My Post - Star Rating Plugin by FeedbackWP] There are two creativework on my page](https://wordpress.org/support/topic/there-are-two-creativework-on-my-page/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/there-are-two-creativework-on-my-page/#post-11028419)
 * Thanks, [@blazk](https://wordpress.org/support/users/blazk/),
 * The link is:
 * [https://r-datarecovery.com/wp-admin/post.php?post=1141&action=edit](https://r-datarecovery.com/wp-admin/post.php?post=1141&action=edit)
 * I’ve inserted code to my function.php before so that I can check the POST ID 
   directly in my backend, that’s why I attached the screenshot to show you the 
   POST ID there in the picture.
 * Also, you can find the POST ID with this screenshot.
 * [https://bit.ly/2TaydwI](https://bit.ly/2TaydwI)
 * Thanks for your help and what should we do next?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rate My Post - Star Rating Plugin by FeedbackWP] There are two creativework on my page](https://wordpress.org/support/topic/there-are-two-creativework-on-my-page/)
 *  Thread Starter [ducod](https://wordpress.org/support/users/ducod/)
 * (@ducod)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/there-are-two-creativework-on-my-page/#post-11026200)
 * If I added the post ID, the exclude feature is all right, but I only need to 
   remove the extra RMP result from the bottom of the post. and that footer is a
   PAGE, the ID is 1141, the exclude feature does not work on removing this one.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/ducod/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/ducod/replies/page/2/?output_format=md)