• Hi wpDiscuz Team,

    Would it be possible to expose the standalone Article Rating as a PHP function/template tag?

    For example:

    <?php echo wpdiscuz_post_rating(); ?>

    or

    <?php wpdiscuz_post_rating(); ?>

    Similar to how many themes provide template tags such as:

    <?php echo $td_mod_single->get_social_sharing_top(); ?>

    This would allow developers to place the Article Rating anywhere in their theme or Elementor templates without relying on the fixed positions (Before Content, After Content, or Before Comment Form).

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    Hi,

    I’m sorry, but the wpDiscuz doesn’t have such a feature.

    Thread Starter vijaiya

    (@vijaiya)

    Thank you for the clarification.

    I understand that this functionality is not currently available.

    Would you consider adding a PHP template tag or function in a future release? I believe it would greatly improve flexibility for developers using custom themes and Elementor templates, allowing the Article Rating to be placed anywhere without relying on the predefined locations.

    Even a simple function such as:

    <?php wpdiscuz_post_rating(); ?>

    would make integration much easier while remaining fully backward compatible.

    Thank you for considering the suggestion.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.