Home Forums Bee WordPress Theme Image Box URL, How to load in same window?

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  HCD 2 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6413

    HCD
    Participant

    I want to use the Image Box module with a link, but I want the link to open in the same window instead of _blank. Possible to hack this?

    #6414

    BWSM
    Keymaster

    Plz find ../bee/functions/functions-view-module.php

    line 1398:
    $hyperlink_before = ($module_switch_hyperlink != 'false') ? '<a href="'.esc_url($hyperlink).'" target="_blank">' : false;
    update to:
    $hyperlink_before = ($module_switch_hyperlink != 'false') ? '<a href="'.esc_url($hyperlink).'" >' : false;

    #6469

    HCD
    Participant

    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.