Valuation button does not show on a page

Community Forums Forums Design Tips and Tricks Valuation button does not show on a page

This topic is: not resolved

This topic contains 4 replies, has 2 voices, and was last updated by  Splint 5 months, 4 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #112606

    Splint
    Member
    Post count: 27

    Hi there,

    I use a rating button, this is visible on each side right at the edge. On the landing page to the not be displayed.

    How can I change the code so that it will not be displayed on a page?

    Here is the code:

    `<!– Ausgezeichnet.org-button: begin –>
    <div id=”auorg-bg”>

    <span style=”font-size:8px;font-weight:normal;text-transform:uppercase;”>Ausgezeichnet.org</span>

    </div>
    <script type=”text/javascript” src=”//siegel.ausgezeichnet.org/widgets/js/3333/widget.js”></script>
    <!– Ausgezeichnet.org-button: end –>

    The page on which you do not want the button has loud wordpress ID 1802.

    greets from

    germany

    #112607

    braddalton
    Participant
    Post count: 10697

    Use the conditional tag

    ! is_page_template(‘page_landing.php’) )


    #112608

    Splint
    Member
    Post count: 27

    Hi brad dalton,

    sorry my english is not good for read and speak. I use Google translation to the writing here :-)))

    Can you give me step for step say what I have to do?

    #112610

    braddalton
    Participant
    Post count: 10697

    It depends on how you added the widget but you can output the Javascript conditionally.

    You will need custom code to do that.


    #112612

    Splint
    Member
    Post count: 27

    The widget with this code:

    <!-- Ausgezeichnet.org-Siegel: Anfang -->
    <div id="auorg-bg">
    <a href="https://www.ausgezeichnet.org" target="_blank" title="Unabh&auml;ngige Bewertungen, Kundenbewertungen und G&uuml;tesiegel von Ausgezeichnet.org" class="auorg-br">
    <span style="font-size:8px;font-weight:normal;text-transform:uppercase;">Ausgezeichnet.org</span></a>
    </div>
    <script type="text/javascript" src="//siegel.ausgezeichnet.org/widgets/js/333/widget.js"></script>
    <!-- Ausgezeichnet.org-Siegel: Ende -->
    

    I insert in footer.php. This is the widget that appears on every page. But on a side, it may not be displayed.

    • This reply was modified 5 months, 4 weeks ago by  Splint.
    • This reply was modified 5 months, 4 weeks ago by  Splint.
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.