How to show jquery popup only in one page?

Question

i have this jquery popup but i need to show it only in the homepage. Here is the code:

$(document).ready(function(){

  $("#thover").click(function(){
        $(this).fadeOut();
    $("#tpopup").fadeOut();
    });


  $("#tclose").click(function(){
        $("#thover").fadeOut();
    $("#tpopup").fadeOut();
    });

});

Thanks in advance.

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/how-to-show-jquery-popup-only-in-one-page/">

How to show jquery popup only in one page?</a>
0
, Wanderson Galpao 4 months 0 Answers 63 views 0

Leave an answer