Site logo

[Support request] Code makes my blog post not align

Home Forums Support [Support request] Code makes my blog post not align

Home Forums Support Code makes my blog post not align

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #2410791
    Terrell Jerry

    Hello, this CODE: (Loading…<script>(function(i,s,o,g,r,a,m){var ql=document.querySelectorAll(‘A[quiz],DIV[quiz],A[data-quiz],DIV[data-quiz]’); if(ql){if(ql.length){for(var k=0;k<ql.length;k++){ql[k].id=’quiz-embed-‘+k;ql[k].href=”javascript:var i=document.getElementById(‘quiz-embed-“+k+”‘);try{qz.startQuiz(i)}catch(e){i.start=1;i.style.cursor=’wait’;i.style.opacity=’0.5′};void(0);”}}};i[‘QP’]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,’script’,’https://take.quiz-maker.com/3012/CDN/quiz-embed-v1.js&#8217;,’qp’);</script>) rearanges my blog post makes the content go middle, right, left & look crazy.

    What hook will keep it from doing that it’s a quiz that I would like to put at the end of each blog post if possible.

    thanks,

    JERRY

    #2410816
    Fernando
    Customer Support

    Hi Jerry,

    For reference, can you provide the link to where we can view this Quiz on your site?

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2410831
    Terrell Jerry

    See private information!

    #2410852
    Fernando
    Customer Support

    I can’t see the script added to this page.

    May we know where this script is from? Do they say where to add this specifically?

    #2410856
    Terrell Jerry

    See private information

    #2410859
    Terrell Jerry

    Put the link below in the private area.

    #2410873
    Fernando
    Customer Support

    I can’t find a document from this site saying how it can be added to a WordPress site.

    Have you considered using a plugin instead?

    I found this article which may be helpful: https://www.wpbeginner.com/showcase/best-quiz-plugins-for-wordpress/

    #2410878
    Terrell Jerry

    You can embed the code on to your website.

    #2410882
    Fernando
    Customer Support

    How are you adding it? Are you adding it through an HTML Block or a Hook Element for instance?

    #2410886
    Terrell Jerry

    I tried the hook

    #2410887
    Fernando
    Customer Support

    Can you try adding it again so we can see the issue? You can add it on a Test page if your testing in your live site.

    #2410888
    Terrell Jerry

    I did HTML blocks and hit converted to blocks it seems to be working now.

    #2410890
    Terrell Jerry

    How do I use this across certain pages global?

    #2410891
    Fernando
    Customer Support

    I see. Glad it’s working now!

    #2410893
    Terrell Jerry

    How do I use this across certain pages global? Will I have to do HTML blocks manually to each page & post?

Viewing 15 posts - 1 through 15 (of 22 total)
  • You must be logged in to reply to this topic.