D5 Creation Forum

Open Forum for D5 Creation's Members and Visitors

Before requesting any support Please search the Forum First. You may find your desired answer. This will save your waiting time and will save our working hour. We may not answer the question which we have already answered. You should also read our Support Policy

Discussion Pro Question!

Front Page D5 Creation Forum General Support Discussion Pro Question!

  • This topic has 1 reply, 2 voices, and was last updated 11 years ago by D5 Creation.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3281
    Andreas Eriksson
    Participant

    Hello!

    I have discussion pro.
    When people click on the logo in the header, example facebook, twitter.

    It is NOT opened in a new window, its in the same window.

    Can you change this so it opens in a NEW window?

    How?

    #4120
    D5 Creation
    Keymaster
    Quote:
    Quote from AndreasE22 on March 14, 2013, 15:57
    Hello!

    I have discussion pro.
    When people click on the logo in the header, example facebook, twitter.

    It is NOT opened in a new window, its in the same window.

    Can you change this so it opens in a NEW window?

    How?

    Please point to Line 51 of header.php file and find this line:

    Code:
    <a href=”<?php echo of_get_option(‘link’ . $sinumber, ‘https://d5creation.com&#8217;); ?>”><img src=”<?php echo of_get_option(‘link-icon’ . $sinumber, get_template_directory_uri() . ‘/images/link’ . $sinumber . ‘.png’); ?>” class=”random” /></a>

    Replace this line with the folloing:

    Code:
    <a href=”<?php echo of_get_option(‘link’ . $sinumber, ‘https://d5creation.com&#8217;); ?>” target=”_blank”><img src=”<?php echo of_get_option(‘link-icon’ . $sinumber, get_template_directory_uri() . ‘/images/link’ . $sinumber . ‘.png’); ?>” class=”random” /></a>
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.