The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Article Rating show...
 
Notifications
Clear all

[Solved] Article Rating shown three time

8 Posts
3 Users
2 Reactions
1,129 Views
Posts: 3
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
(@richterslars)
Active Member
Joined: 4 years ago
[#3843]

Hi there!

I have a problem showing article ratings in my Avada theme. When I choose the option "show before content" or "after content" the article raing is shown three times 🙁

I think that's because I use the Layouts-Feature provided by avada and handles each section I add to a layout as "content". When I disable Layouts everything is fine. But I need the different layouts 😉

Is there any way to place the rating with a shortcode (or some php-code) manually?

 

Regards

Lars

articlerating1and2
articlerating3

 

 


7 Replies
Asti
Posts: 8228
 Asti
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
(@asti)
Illustrious Member
Joined: 8 years ago

Hello Lars,

Please leave a screenshot of the section "Display Ratings" option and an example URL as well. 


2 Replies
(@richterslars)
Joined: 4 years ago

Active Member
Posts: 3
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

@asti Of course 🙂

 

You can see it on this page for example: https://customerdriveninnovation.digital/kollaboratives-arbeiten/

 

Settings

Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8228
Asti
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

@richterslars,

This issue comes from the structure of the content on your website. Actually, wpDiscuz displays the rating before or after (depends on the option you've chosen) the content of the page using the hook. In your case, the hook can be used several times on the same page, so it displays the rating section several times. 

The easiest way you can hide the first two sections using the CSS code: 

section.fusion-tb-header > #wpd-post-rating, .fusion-page-title-bar > #wpd-post-rating {display: none !important;}

 


Posts: 3
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
(@richterslars)
Active Member
Joined: 4 years ago
Posted by: @asti
section.fusion-tb-header > #wpd-post-rating, .fusion-page-title-bar > #wpd-post-rating {display: none !important;}

 

Many thanks, that works fine.

regards from germany
Lars


Posts: 2
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
(@kristo)
New Member
Joined: 4 years ago
Posted by: @asti

The easiest way you can hide the first two sections using the CSS code: 

 

Dear Asti, will using your code in CSS remove wpDiscuz duplicates from source code?


1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8228
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

@kristo,

No, the code doesn't remove it from the source code, it just hides the first two sections. If you want to remove it from the source code you should find the problem maker. 

It may be a theme or some builder plugin. 


Posts: 2
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
(@kristo)
New Member
Joined: 4 years ago

Okay, thank you.