WPIntell

Source evidence

do_shortcode() not wirkng

Five-Star Ratings Shortcode · support · 2023-10-28T12:49:00+00:00

mixedsentiment
lowseverity
0.63relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 29 rows with source links

20.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

23 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
hartodespam resolved
Hello I installed Five star rating plugin and inserted a shortcode in a post working as expected, but when I use do_shortcode(‘[rating stars=”5.0″]’) in a function, it shows 0.0 out of 5.0 stars0.0 instead of five stars. What is wrong? Thanks for your support The page I need help with: [ log in to see the link] Hi, That’s not how this plugin (or any plugin) works. Please use the shortcode. do_shortcode() is only meant to be used in PHP files, such as theme files, plugin files, or functions.php. If you read the documentation, you’ll see there is nothing there that discusses using do_shortcode() . Closing this as the plugin works as intended. This reply was modified 2 years, 7 months ago by Chris J. Zähller .

Comments

1 shown
Chris J. Zähller 2023-10-28T16:48:00+00:00

Hi, That’s not how this plugin (or any plugin) works. Please use the shortcode. do_shortcode() is only meant to be used in PHP files, such as theme files, plugin files, or functions.php. If you read the documentation, you’ll see there is nothing there that discusses using do_shortcode() . Closing this as the plugin works as intended. This reply was modified 2 years, 7 months ago by Chris J. Zähller .