AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Third party shortcodes not working

10 Posts
2 Users
2 Reactions
2,778 Views
Posts: 9
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
(@nawaz10)
Active Member
Joined: 6 years ago
[#11019]

I am trying to display a quiz from "WP Quiz" plugin using a shortcode [wp_quiz id="1128"] 

But the shortcode always displays as a plain text. There is no quiz addon for WPforo & I have already purchased the embed addon but nothing seems to work?

 Any other to display the third party shortcodes?

I don't want to embed the blog post I only want the shortcode to be displayed directly in the forum body.


9 Replies
Sofy
Posts: 5774
 Sofy
Admin
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
(@sofy)
Support Team
Joined: 8 years ago

Hi @nawaz10,

Please navigate to Dashboard > Forums > Settings > Features admin page, enable the "WordPress Shortcodes in Post Content" option, then delete all caches and check again. 


8 Replies
(@nawaz10)
Joined: 6 years ago

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

@sofy

Thank you very much. It worked!


(@nawaz10)
Joined: 6 years ago

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

@sofy

But the css & layout is all broken

 Untitled

Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5774
Sofy
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

@nawaz10

Please provide us the following example URLs:

  • 1. How it looks in wpForo post content
  • 2. How it looks in other posts/pages 

(@nawaz10)
Joined: 6 years ago

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

@sofy


Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5774
Sofy
Sofy
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

@nawaz10

Please navigate to Dashboard > Forums > Settings > Styles admin page, put the CSS code below in the "Custom CSS code"  textarea, save it, delete all caches and check again. The issue should be solved. 

.wq_questionTextWrapper.quiz-pro-clearfix {
clear: none !important;
}

.wq_questionTextWrapper.quiz-pro-clearfix {
height: 60px !important;
}

.wq-quiz.wq-skin-flat .wq_singleAnswerCtr {
background-color: var(--wq-background-color, #ecf0f1) !important;
color: var(--wq-font-color, #5f5f5f) !important;
border: 3px solid transparent;
padding: 5px 7px !important;
margin: 0 0 15px 0 !important;
border-radius: 3px !important;
line-height: 30px !important;
}

.wq_singleAnswerCtr .wq_answerTxtCtr {
font-size: 18px !important;
padding-left: 25px !important;
}

Please don't forget to press Ctrl+F5 (twice) on the frontend before checking to reload the updated CSS file.  


(@nawaz10)
Joined: 6 years ago

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

@sofy

The blocks are looking nice but they are not functional now. (When you select the answer it should turn red for wrong answer and green for a correct answer. Right now it's doing nothing) 

Try clicking on the answer on both links and you will understand what I am saying. 

 

 

 Comparision

Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5774
Sofy
Sofy
Sofy
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

@nawaz10

This issue doesn't come from the wpForo plugin. You should contact the WP Quiz plugin and let them know about the issue. wpForo is only responsible for the embedding of the shortcode in the post content. 


(@nawaz10)
Joined: 6 years ago

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

@sofy

Thank you very much for the help!


Share: