• Resolved Mylo curtis

    (@mohsinguides)


    how to open link in newtab internal + external in new tab which are included in posts (articles )

    i want to open internal link in same window but if those internal links + external links are in posts article then i want to open them in new tab

    how to do that ?

    WP url: https://www.outfittrends.com
    WP version: 5.6.1
    PHP version: 7.2.34
    Active Plugins:
    – 404 to Homepage, version: 1.0
    – Add Meta Tags, version: 2.11.3
    – Ajax Search Pro, version: 4.20.4
    – Akismet Anti-Spam, version: 4.1.8
    – All in One SEO, version: 4.0.15
    – Autoptimize, version: 2.8.1
    – CDN Enabler, version: 2.0.2
    – Classic Editor, version: 1.6
    – Clean and Simple Contact Form, version: 4.7.1
    – Insert Post Ads, version: 1.3.2
    – Kraken Image Optimizer, version: 2.6.4
    – Lookbook, version: 1.4.4
    – MyThemeShop Theme & Plugin Updater, version: 3.0.7
    – Q2W3 Fixed Widget, version: 5.2.0
    – Really Simple SSL, version: 4.0.8
    – Remove Category URL, version: 1.1.6
    – Shortcodes Ultimate, version: 5.9.7
    – Simple Author Box, version: 2.3.20
    – Wordfence Security, version: 7.4.14
    – WP External Links, version: 2.48
    – WP Fastest Cache, version: 0.9.1.5
    – WP Fastest Cache Premium, version: 1.5.9
    – WPtouch Pro, version: 4.3.36

    WPEL Settings:
    array(
    ‘wpel-external-link-settings’ => array (
    ‘apply_settings’ => ‘1’,
    ‘target’ => ‘_blank’,
    ‘target_overwrite’ => ”,
    ‘rel_follow’ => ‘nofollow’,
    ‘rel_follow_overwrite’ => ‘1’,
    ‘rel_noopener’ => ”,
    ‘rel_noreferrer’ => ”,
    ‘rel_external’ => ‘1’,
    ‘rel_sponsored’ => ‘0’,
    ‘rel_ugc’ => ‘0’,
    ‘title’ => ‘{title}’,
    ‘class’ => ”,
    ‘icon_type’ => ”,
    ‘icon_image’ => ‘1’,
    ‘icon_dashicon’ => ‘dashicons-menu’,
    ‘icon_fontawesome’ => ‘fa-500px’,
    ‘icon_position’ => ‘right’,
    ‘no_icon_for_img’ => ‘1’,
    ),
    ‘wpel-internal-link-settings’ => array (
    ‘apply_settings’ => ‘1’,
    ‘target’ => ‘_blank’,
    ‘target_overwrite’ => ‘1’,
    ‘rel_follow’ => ‘follow’,
    ‘rel_follow_overwrite’ => ‘1’,
    ‘rel_noopener’ => ”,
    ‘rel_noreferrer’ => ”,
    ‘title’ => ‘{title}’,
    ‘class’ => ”,
    ‘icon_type’ => ”,
    ‘icon_image’ => ‘1’,
    ‘icon_dashicon’ => ‘dashicons-menu’,
    ‘icon_fontawesome’ => ‘fa-500px’,
    ‘icon_position’ => ‘right’,
    ‘no_icon_for_img’ => ‘1’,
    ),
    ‘wpel-excluded-link-settings’ => array (
    ‘apply_settings’ => ‘1’,
    ‘target’ => ‘_blank’,
    ‘target_overwrite’ => ”,
    ‘rel_follow’ => ‘follow’,
    ‘rel_follow_overwrite’ => ‘1’,
    ‘rel_noopener’ => ”,
    ‘rel_noreferrer’ => ”,
    ‘title’ => ‘{title}’,
    ‘class’ => ”,
    ‘icon_type’ => ”,
    ‘icon_image’ => ‘1’,
    ‘icon_dashicon’ => ‘dashicons-menu’,
    ‘icon_fontawesome’ => ‘fa-500px’,
    ‘icon_position’ => ‘right’,
    ‘no_icon_for_img’ => ‘1’,
    ),
    ‘wpel-exceptions-settings’ => array (
    ‘apply_all’ => ‘1’,
    ‘apply_post_content’ => ‘1’,
    ‘apply_comments’ => ‘1’,
    ‘apply_widgets’ => ‘1’,
    ‘skip_post_ids’ => ”,
    ‘ignore_classes’ => ‘load-more-link’,
    ‘subdomains_as_internal_links’ => ‘1’,
    ‘include_urls’ => ”,
    ‘exclude_urls’ => ‘www.brandedgirls.com
    https://www.myer.com.au/
    https://edubirdie.com/
    https://www.vogue.com
    https://www.weddingforward.com/wedding-trends/
    https://www.myer.com.au/content/guide-to-perfume
    https://www.teenvogue.com/gallery/how-to-start-a-fashion-blog
    https://www.manishmalhotra.in/
    https://www.refinery29.com/2017/09/172385/drawstring-bag-trend
    https://www.times.com
    https://www.glamour.com/gallery/ponytail-hairstyles
    https://www.popsugar.com/fashion/Trend-Alert-Drawstring-Bags-4883707
    https://www.theislamicquotes.com
    https://www.wikihow.com/
    https://www.teenvogue.com
    https://chicisimo.com/
    https://www.gq-magazine.co.uk/
    https://www.gq-magazine.co.uk
    https://www.huffingtonpost.com/
    https://www.huffingtonpost.com
    https://www.theislamicquotes.com
    https://www.forbes.com/’,
    ‘excludes_as_internal_links’ => ”,
    ‘ignore_script_tags’ => ”,
    ‘ignore_mailto_links’ => ”,
    ),
    ‘wpel-admin-settings’ => array (
    ‘own_admin_menu’ => ‘1’,
    ),
    );

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to only open only links which are included in articles in new tab’ is closed to new replies.