1. Home
  2. ReHub Theme
  3. Advanced tips and customizations
  4. How to get title, excerpt, review values as shortcode

How to get title, excerpt, review values as shortcode

If you want to get some value from post in your custom plugin, here is our helper shortcodes for this

[rehub_title]

generates title of post

[rehub_title link="post"]

generates title with link on post.

[rehub_title link="affiliate"]

generates title with link on affiliate product

[rehub_exerpt length="120"]

generates excerpt with 120 symbols

[rehub_exerpt reviewtext="1"]

will grab description from your review

[rehub_exerpt reviewpros="1"]

will grab PROS field from your review

[rehub_exerpt reviewcons="1"]

will grab CONS field from your review