QA box on single pages and products

2.45K viewsGeneral
0

Hi. I’m looking into your plugin and I was wondering if the plugin is able to be added to product pages and allow customers to ask product related questions right on the product page. I’m also wondering if it will work on single pages as well.

Question is closed for new answers.
Answered question
1

Hello,
You can make it work in single page as well in products page. You’ll have to use this shortcode:

[anspress post_parent=123]


To automatically grab current single page id, you’ll have to insert shortcode using PHP.

Posted new comment

That’s great to know! Thanks for your reply.

Do you happen to have an example of the PHP code that would be necessary? I would like to add it to a template file so that it automatically recognizes the page that it’s on