Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #88593
    krizgriz
    Member

    Hi there!

    I’m having issues with the homepage featured content; specifically, directing the links to open in a new window. The customizer provides a text input field titled “Target. Open link in new window?” Leaving the field blank or inputting text yields the same outcome. The value automatically defaults to target=”_self”

    Investigating the code on the child page (adventurous-featured-content.php), something seems to be off in the operation. The parameters given are as follows:

    if ( !empty ( $options[ ‘homepage_featured_base’ ][ $i ] ) ) {
    $target = ‘_blank’;
    } else {
    $target = ‘_self’;
    }

    Shouldn’t that mean that leaving the field empty will set the target value to _blank so that it opens in a new window? Why is it still defaulting to _self whether or not there is a value in the field?

    Here’s my website: http://barefootwanderer.com/
    In particular, I want that “Barefoot Wanderer Crafts” link to open in a new window, since it redirects outside of my site.

    Thanks for the help!
    -Kriz

    #88622
    Mahesh
    Participant

    @krizgirz: There has been a little bug in the Adventurous Theme, that is why the issue arose. The input type should be a checkbox instead of text field. The issue will be fixed in the next update.
    For now to avoid issue use Theme Options instead of Customizer for this option. Go to Dashboard=> Appearance=> Theme Options=> Featured Content=> Featured Content Option and Check on Check to open in new window option in
    Target. Open Link in New Window?.
    This will help for now. Sorry for the trouble.

    Regards,
    Mahesh

    #88968
    woodfact
    Participant

    hi there .
    I too have the same problem I can not redirect futured content to another page.
    I state that I ‘m not very good with codes and sincerely I did not understand your explanation .
    could you help me ?

    thanks for the help!
    Barbara

    #88977
    Mahesh
    Participant

    @woodfact: Yes, there has been a little bug in the theme’s customizer, and our team is fixing it with some other updates. The issue will be fixed in the next update which will be available soon. Please use Theme Options instead of customizer. Please check the image in the link below:
    http://goo.gl/JG3FCW
    Hope this helps.

    Regards,
    Mahesh

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Homepage featured content not opening in new window.’ is closed to new replies.