• Resolved danmont

    (@danmont)


    Is <?php if (function_exists avalable with this plugin?

    I would like to display the average star rating in my theme in the loop. To do so i need to use the php not short code. Is there a way to call the overall star rating by <?php if (function_exists?

    thanks

    https://ww.wp.xz.cn/plugins/rich-reviews/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Nuanced Media

    (@nuanced-media)

    You can use the shortcode as well, like so

    <?php
          echo do_shortcode("[RICH_REVIEWS_SNIPPET]");
    ?>

    But yes function_exists() is a native php function and should be accessible anywhere. As long as it is used somewhere in the loop after plugins are loaded, which for use in a template file would be no problem.

    Let me know if this doesn’t help,
    Thanks,
    Charlie Maxwell
    [NM_Devleoper]

Viewing 1 replies (of 1 total)

The topic ‘Is’ is closed to new replies.