Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #1815020
Links
Closed

Comments

  • jmcmacnz started the conversation

    Hi, 

    I'm trying to set up some gallery posts that don't open as posts but instead link to somewhere outside the website (e.g. ads or features).

    Currently I have a custom css class:

    .custom-click{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    }

    with some custom JS e.g.:

    $("#post-88").append('<a href="http://progear.co.nz" class="custom-click" target="_blank">');

    However, this is only being run when the page is initially loaded, so if I open a post those links then disappear. Is it possible to have this JS run every time the AJAX call is made or is there a better way to do this?

    Thanks,

    James


  •  1,845
    Elated replied

    Hi there,

    Sorry for the late response, it's caused because of the numbers of tickets we are getting these days.

    Can you tell me which link did you set to lead to external link? I can see this one is going to some other page you've set:

    I clicked few times of this one and every time it leads me to the external link.

    Did I missed something? Please, explain me little bit better this. Thanks! 

    Best regards,

    Marie


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.