[Support request] How to add review bar to header

Home Forums Support How to add review bar to header

  • This topic has 3 replies, 2 voices, and was last updated 1 year ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1123275
    John

    I am using review software for my company but i cant seem to add the code to website so the review bar shows in my heqader of my website. Im using navigation bar as header so i disbaled the reql header because it looks ugly and big. How or where can i add the code so it shows in the menu header?

    This is code for bar widget for review software:

    <!– Feedback Company Widget (start) –>
    <script type=”text/javascript” id=”__fbcw__cd8b733d-1604-4e2c-9a94-efa80c99c21f”>
    “use strict”;!function(){
    window.FeedbackCompanyWidgets=window.FeedbackCompanyWidgets||{queue:[],loaders:[
    ]};var options={uuid:”cd8b733d-1604-4e2c-9a94-efa80c99c21f”,version:”1.2.1″,prefix:””};if(
    void 0===window.FeedbackCompanyWidget){if(
    window.FeedbackCompanyWidgets.queue.push(options),!document.getElementById(
    “__fbcw_FeedbackCompanyWidget”)){var scriptTag=document.createElement(“script”)
    ;scriptTag.onload=function(){if(window.FeedbackCompanyWidget)for(
    ;0<window.FeedbackCompanyWidgets.queue.length;
    )options=window.FeedbackCompanyWidgets.queue.pop(),
    window.FeedbackCompanyWidgets.loaders.push(
    new window.FeedbackCompanyWidgetLoader(options))},
    scriptTag.id=”__fbcw_FeedbackCompanyWidget”,
    scriptTag.src=”https://www.feedbackcompany.com/includes/widgets/feedback-company-widget.min.js&#8221;
    ,document.body.appendChild(scriptTag)}
    }else window.FeedbackCompanyWidgets.loaders.push(
    new window.FeedbackCompanyWidgetLoader(options))}();
    </script>
    <!– Feedback Company Widget (end) –>

    #1123380
    David
    Staff
    Customer Support

    Hi there,

    you can use a Hook Element to insert that code:

    https://docs.generatepress.com/article/hooks-element-overview/

    There is the inside_navigation hook – may require some CSS to position it but I would need to see the code in place to advise on that.

    #1125512
    John

    Thanks i tried this but nothing shows up. Added the code and chose inside navigation and tried afternoon er logo and tried alot of different options like excecute php and rules site wide or only front page but the bar wont show.

    #1125737
    David
    Staff
    Customer Support

    Can you link me to the documentation regarding adding that code?

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