December 13, 2019 at 1:25 pm #62559
The only way to do it is by integrating a plugin display function into the theme template where you want it to show. Problem with non-single post/pages is that themes usually show excerpts, and the excerpts are stripped of HTML, making the auto embedding impossible for most themes. Check out this video: https://support.dev4press.com/kb/article/manual-rating-block-theme-integration/ and there are many more articles in the knowledge base with examples.
December 13, 2019 at 9:25 pm #62561
Very nice, you’re an excellent person! I am getting it to work. I am using Ajax Load More plugin repeater templates that display the posts with separate code. I have figured out that I need to put this code in the theme as video described AND the repeater template (because it’s not using default theme to call post display). It was very easy to troubleshoot, other than that, your video guide is perfect. Thanks.
December 13, 2019 at 11:13 pm #62562
I have the stars showing though the Ajax Load More plugin repeater template, they display rating correctly on front page. Something blocking from actually making a vote from homepage though. Im using:
<?php echo gdrts_posts_render_rating(array(
‘id’ => get_the_ID(),
‘name’ => ‘post’,
‘method’ => ‘stars-rating’
Exactly that in both my theme content.php + Ajax Load More repeater template (php + html allowed).
Dynamic Load ajax disabled.
Display on ALL post types (first had ‘posts only’ setting, so I changed to ‘ALL’ could be problem…not seemingly…’posts only’ is ideal, but I think can remove instances via CSS on the few pages.
My theme is very basic one, “Webpoint”.
Something stopping from from allowing to vote on home page. :/ I will keep watching video to figure out in meantime.
December 14, 2019 at 8:58 am #62564
December 15, 2019 at 12:43 am #62571
Thanks again. Think this will help you? It’s for the ajax load more plugin specifically but it talks about REST API and loading JS in repeater template. Im going to look at it now, thought maybe it would be a helpful template for you for all kind of code, LMK!
December 15, 2019 at 9:32 am #62575
- The topic ‘homepage / posts display’ is closed to new replies.