• Resolved devilmakq

    (@devilmakq)


    I want to open the blog source links into new tab.
    I am using below code to replace the links of blogs to source links.

    In function.php

    /** Feedzy posts External Link Code DMmotionarts**/
    
    add_filter('post_link', function( $url, $id ){
    
        $feed_url = get_post_meta( $id->ID, 'feedzy_item_url', true );
    
        if ( !empty( $feed_url) )
            $url = $feed_url;
    
        return $url;
    
    }, 99, 2);

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

Viewing 1 replies (of 1 total)
  • Hi there,

    Thanks for choosing Feedzy!

    Currently, there is no feature in Feedzy to achieve this, but you can check this document that describes a way to open links in a new tab.

    Have a nice day!

Viewing 1 replies (of 1 total)
  • The topic ‘Open Blog Posts In New Tab’ is closed to new replies.