The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] rating in archives
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
(@face2005)
Posts: 4
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
[#1674]
Hey!
How do I display the rating on the archive page?
shortcode doesn't work like that.
[wpdrating metakey="all" show-label=false itemprop=false]
Posted : 15/02/2021 6:31 pm
(@asti)
Posts: 8267
Illustrious Member Support
(@face2005)
Posts: 4
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
there is no function to display the rating by the post id?
Posted : 16/02/2021 3:53 pm
(@asti)
Posts: 8267
Illustrious Member Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@face2005,
Please add the post_id attribute in the shortcode.
Your shortcode should look like this:
[wpdrating metakey="all" show-lable=true show-count=true show-average=true itemprop=true post_id="CURRENT_POST_ID"]
For example for the post with post_id= 5555 you should use the following shortcode:
[wpdrating metakey="all" show-lable=true show-count=true show-average=true itemprop=true post_id="5555"]
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
Posted : 16/02/2021 4:22 pm
(@face2005)
Posts: 4
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@asti
<?php $rating = new WP_Query( array(
'post_type' => 'teachers',
'p' => 555
) ); ?>
<?php while ( $rating->have_posts() ) : $rating->the_post(); ?>
<div class="lessonRating">
<?php echo do_shortcode( ' [wpdrating] ' ); ?>
</div>
<?php endwhile; wp_reset_postdata(); ?>
Posted : 16/02/2021 4:37 pm
(@face2005)
Posts: 4
Active Member
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Posted : 16/02/2021 4:42 pm
Super Globals
Options and Features