Insert target=”_blank”
-
Hello, this is my first post so please bear with me.
I am editing the code (shown below) in the wp-includes/post-template.php file to add target=”_blank” so that the link will open to a new window but I keep getting syntax error.
$output .= apply_filters( 'the_content_more_link', ' <a href="' . get_permalink( $_post ) . "#more-{$_post->ID}\" class=\"more-link\">$more_link_text</a>", $more_link_text );Could you please tell me where should I insert the target=”_blank” ?
Thanks in advanced.
Victor
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Insert target=”_blank”’ is closed to new replies.