Like counter inside a query loop block
-
Hello
This plugin is wonderful. I have been looking for days for something similar and your plugin has amazed me for the simplicity and ease of use.
I am trying to display the likes button inside a Gutenberg query loop block by using the shortcode [oacsspl post_id] which as I understood reading the online documentation shows the likes counter of the current post.
For this I am using Generate Press and Generate Blocks. In the help forum of Generate Blocks, they indicate this way to execute a shortcode inside its own Query Block: https://generate.support/topic/shortcode-inside-gb-query-loop/#post-15556
With the above snippet I have managed to execute correctly other shortcodes, but however, it does not work using the shortcode [oacsspl post_id] nor the shortcode [oacsspl post_id=256] that should show the likes counter of my post ID: 256.
My question is am I trying to do something that is going to be incompatible with the way the Solid Post Likes plugin works?
What is the correct way to display the likes counter in a query loop?
Thanks for the help
Daniel
- The topic ‘Like counter inside a query loop block’ is closed to new replies.