4 comments found.
can this plugin be used to create shortcodes of different menus to show on different pages?
Yes. You can create different shortcodes of different menus to show them on different pages.
You can check the creating menu shortcode documentation at: https://surror.com/doc/shortcodehub/menu-shortcodes/If you still have any questions then let us know we are happy to resolve them.
Hi, I have two presale question:
1) Its possible display with Your plugin data from woocommerce hook via shortcode? Ex. I put shortcode and it display woocommerce_single_product_summary hook.
2) Its possible display with Your plugin any value from product or WP option? I have for ex. shortcode like [post:meta_key_value] and it display this value in content.
Let me know.
Hello,
First of all, I apologies for the delayed. Please check below comments:
1) It’s possible to display with Your plugin data from WooCommerce hook via shortcode? Ex. I put the shortcode and it displays woocommerce_single_product_summary hook.
> Yes, ShortcodeHub builds to add content on any hook. It works with any plugin or any theme. You just need to add the hooks in the filter `sh_hooks`.
Below is the code snippet which adds the WooCommerce product summary before & after hooks. https://gist.github.com/b4b17ecff67f5bbb5539d401a7bd8758After adding the above code snippet our hooks are listed like the screenshot https://i.imgur.com/hwpGDwt.png in the backend.
And the added content in that hook is visible as expected like screenshot https://i.imgur.com/b8p8Iii.png
2) It’s possible to display with Your plugin any value from the product or WP option? I have for example. shortcode like [post:meta_key_value] and it display this value in content.
> Yes, We can show any post meta value with the help of meta key. By using shortcode `sh_post_meta`
E.g. [sh_post_meta key=”first-meta-key”]
Above shortcode print the meta value of the current post type.
Screenshot of Backend End – https://i.imgur.com/RuN4X7E.png Screenshot of Front End – https://i.imgur.com/EpOaHfQ.png
Also, If we need to show the meta value of any other post type then we just need to pass that post id.
E.g. [sh_post_meta key=”first-meta-key” id=”123”]
Congratulations! Nice Work, GLWS 
Thanks a lot. 