• Resolved anandaravind

    (@anandaravind)


    Hi, I am customizing EXS News theme for my site; it is working well so far and i have been able to make it work that I intend it to. However, I am stuck at one place, which is, the read more link or the link from the heading of a blog on the Archive page is not opening on a new page. It opens in the same page. I want the page to open on a different tab when a user clicks the Read more link. Can you please help? Warm regards, Aravind Anand

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author exstheme

    (@exstheme)

    Hello!
    Thanks for using the ExS theme.

    Sorry for delay with answer, there was no e-mail notification for some reason.

    Please try to put following code to the end of your ‘functions.php’ file:

    function exs_read_more_markup_excerpt() {
    		global $post;
    		$exs_markup = ' <span class="more-tag"><a class="more-link" target="_blank" href="' .
    		esc_url( get_permalink( $post->ID ) ) . '">' .
    		exs_read_more_inside_link_markup() .
    		'</a></span><!-- .more-tag -->';
    
    		return $exs_markup;
    	}

    But please note that this is not very good user experience since you stay on the same domain when you clicking on the ‘Read More’ link.

    Thread Starter anandaravind

    (@anandaravind)

    Thanks for sharing the details; will test and report if I notice any issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Read more link’ is closed to new replies.