The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] Article Rating shown three time
Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
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...
Apr 01, 2022 2:05 pm
(@richterslars)
Active Member
Joined: 4 years ago
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
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...
Apr 01, 2022 5:43 pm
(@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.
(@richterslars)
Joined: 4 years ago
Active Member
Posts: 3
Apr 06, 2022 7:56 pm
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)
Joined: 8 years ago
Illustrious Member
Posts: 8300
Apr 07, 2022 3:57 pm
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...
@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;}
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...
Apr 07, 2022 4:35 pm
(@richterslars)
Active Member
Joined: 4 years ago
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
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...
Apr 07, 2022 4:41 pm
(@kristo)
New Member
Joined: 4 years ago
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?
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8300
Apr 07, 2022 5:42 pm
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...
@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.
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...
Apr 08, 2022 10:50 am
(@kristo)
New Member
Joined: 4 years ago
Super Globals
Options and Features