Home › Forums › Pro Version › Put rating in the post thumbnail
- This topic has 7 replies, 3 voices, and was last updated 5 years ago by
Masonry Guy.
- AuthorPosts
- October 1, 2014 at 6:26 pm #2014
Jonas
ParticipantI need to put [yasr_overall_rating size=”small”] (it is a rating plugin code) to be available to see in the thumbnail the rating starts in the flow of masonry posts. How to put it? I am not afraid of little coding or going through the php files, just please guide me what and where to write.
Example of masonry posts: http://atrasklietuva.lt/2/wordpress/pinterest/
Example of post: http://atrasklietuva.lt/2/wordpress/naujas-postas/October 5, 2014 at 12:29 pm #2125Masonry Guy
KeymasterHi Jonas,
First copy the masonry layout to your theme. You can follow topic 7 here https://www.masonrylayout.com/documentations/
Once the copy is done, you will get the location of new path. Please go to there and open layout.php. There you can place the code you have.
Thanks
March 15, 2016 at 1:07 pm #10901Jesús
GuestHi,
I’ve tried this:
<?php echo do_shortcode(“[yasr_visitor_votes size=”medium”]”); ?>
But it has not worked.Thanks
March 16, 2016 at 4:48 pm #10914Masonry Guy
KeymasterHi Jesus,
Do you get any error message after keeping the code in layout.php ?
Thanks
March 18, 2016 at 1:15 pm #10950Jesús
GuestI get no error message. The page does not load.
I’m not a programmer, where should I put the code?Thanks
March 18, 2016 at 5:04 pm #10956Masonry Guy
KeymasterHi Jesus,
Please kindly check this msg.
First copy the masonry layout to your theme. You can follow topic 7 here https://www.masonrylayout.com/documentations/
Once the copy is done, you will get the location of new path. Please go to there and open layout.php. There you can place the code you have.
Thanks
March 23, 2016 at 9:27 am #11041Jesús
GuestI did so and did not work.
Thanks.
March 23, 2016 at 5:40 pm #11048Masonry Guy
KeymasterHi Jesus,
Please do send me an email at info (AATT) masonrylayout (DOOT) com with following details and i will try to fix it from here.
1. Wp-admin details.
2. layout you are using.
3. Explanation of changes you have made so far.Thanks
- AuthorPosts
- The forum ‘Pro Version’ is closed to new topics and replies.