Chance target link in homepage bottom feature settings

Discussion in 'Poloray WordPress Theme' started by alanso, Feb 16, 2013.

  1. alanso

    alanso New Member

    Joined:
    Feb 12, 2013
    Messages:
    9
    Likes Received:
    0
    How can I make the links in homepage bottom feature settings to open in a new window?
    I had a solution by putting "target="_blank" after the link.
    But if I make another change in the settings the "target="_blank" is automatically erased.

    regards Alan hbfs1.png hbfs2.png
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  3. alanso

    alanso New Member

    Joined:
    Feb 12, 2013
    Messages:
    9
    Likes Received:
    0
    >>>>>>Put that code(i.e. "target="_blank" ) in the First Linkpanel Link section, after the link, instead of First Linkpanel Image section.
    Hehe it looks if I'did very stupid. yes I did but obly to make the screenshot.
    I put the code in the wrong textbox making the screenshot but I didn't do it wrong for my website.
    If I put the code in it works fine. But when i go back to the settings of my theme to chance for example something in my custom css then the code target="_blank is gone.
    Try it yourself.
     
  4. alanso

    alanso New Member

    Joined:
    Feb 12, 2013
    Messages:
    9
    Likes Received:
    0
    Is there no solutiom for this?
    It is very disturbing to put that code everytime back again after entering the Theme option
     
  5. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Go to front-page.php present in your theme directory and add the code given below

    Code:
    TARGET="_blank"
    Sending image for reference

    [​IMG]


    Use same process for others also.
     
  6. alanso

    alanso New Member

    Joined:
    Feb 12, 2013
    Messages:
    9
    Likes Received:
    0
    YES!!! thanks a lot.
     

Share This Page