You just need to add target="_blank"
to the anchor tag.
function remove_more_link_scroll( $link ) {
$link = str_replace('>',' target="_blank">', $link);
return $link;
}
add_filter( 'the_content_more_link', 'remove_more_link_scroll' );
I feel compelled to state that I consider forcing new tabs/windows to be very unfriendly behavior, and if you search the web you will see that I am not alone in that opinion.
Related Posts:
- Copy SEO Meta Desc “Custom Field” to Excerpt field?
- How to set default metaboxes on user creation?
- Shortcode To Display Post Custom Field Value Inside Excerpt
- Advanced Custom Fields WYSIWYG More tag
- Read more opens attachment
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Individual Widgets per Page
- How to add add_meta_box to specific Page Template?
- Apply the_content filter to a custom field with multiple values
- Meta Query with AND & OR?
- How to get users by a custom field / by user meta data?
- Auto sort the wp-admin post list by a meta key
- Adding another state (spam, reject, approve) to wordpress comments?
- WP doesn’t show Array Custom Fields?
- Filter archive.php by custom meta
- How do I search an array stored in a custom-field using WP_Query?
- Get updated meta data after save_post hook
- Custom text-only header
- Show User Their Password
- TinyMCE in Custom Metabox not loaded after upgrading from WP 3.1.4 to WP 3.2
- How to reload the role specific registration form on validation errors?
- Exclude custom post type from search by custom field value?
- Currency (price) formating on custom fields
- Adding Custom Text Area to WooCommerce Product
- Gravity Forms: Create fields programmatically
- Get multiple custom field values in a $wpdb query [duplicate]
- add meta box using function.php
- Order by value in serialized custom field
- Custom image sizes for custom field media uploads
- Author Page Custom Query WHERE author OR [post meta value] OR [post meta value]
- converting custom field date format
- Do not show excerpt in post content
- Buddypress Add unserialized Profile Fields in Members Loop [closed]
- Add Paypal Button programmatically
- How do I use wp_query for WordPress search?
- Nav Menu – Add class based on meta keys
- Conditionally hide or show woocommerce product variation in fontend by custom field
- custom meta box text field: how to limit to alpha or numeric only
- Accessing loop functions (e.g the_title or the_content) from post ID
- Create an Array of Specific Custom Post Meta
- Possible to add a meta field for css attribute to the editor Advanced panel?
- Excluding Specific Fields from Profile Builder Registration Form
- Add image to menu item with ACF
- How to create a shortcode to print specific values stored in a post meta array?
- How to add upload video option in wordpress for user?
- Adding auto-complete to custom gravity field not working
- Set post to unpublished after one week depending on condition
- Search in Archive Pages by subcategory, tag, custom field and year
- Custom WP_Query for WordPress Search Results with meta_query
- Change order of posts
- Meta Query And/Or
- URL Rewrite fires when retrieving a custom value?
- How to store post meta in an array
- Efficiently sort only certain categories by custom field
- How can I do a variable for meta_query?
- Set checkbox as checked by default in a metabox
- ACF form edit front end post title does not change permalink
- How to list Category list in ACF Pro’s Select Field to choose from [closed]
- Can I use a Custom Field as the Featured Image URL?
- Custom metabox not displaying multiselect data in edit mode
- How to validate select field in post meta?
- Function that replaces the image in the absence of the post meta
- check for duplicate user meta data before updating
- WP Cli – post add meta in xargs after wp post generate – add multiple fields
- Anyone know how to use ACF and show custom fields for logged in users only on a post? [closed]
- How to redirect to home page according to a specific page custom fields value and user name
- How to print the Custom fields values [closed]
- ACF Plugin How to make the customer add more fields in the post?
- custom field in admin columns
- Custom metabox not working
- Populate wordpress menu with link to custom field value (file download)
- Selectively hiding or allowing thumbnails of featured images on front page
- wp_get_attachment_image_src() with advanced custom fields returning empty
- Users uploaded image and matching an id or taxonomy
- Adding data to User profile
- How can I change author of posts to the value of one of the custom field of the posts?
- Is it possible to add Term Meta Fields to a WooCommerce Attribute?
- Saving Custom Field that includes Quotation marks
- how to execute custom field for structured data?
- Post meta data not showing in frontend, until hitting ‘update’ button
- Saving custom form data
- register_form, custom field not submitted on first try
- How to properly get popular Posts by multiple Values
- Echo out custom fields in comments
- Why WordPress takes time to make request to save post?
- Show comon custom field results?
- Query Custom Fields in Searchform
- Make custom user_meta as permalink for post
- Creating Structured Documents (books) in WordPress?
- Filter query based on date in custom field
- Convert all dates in field to Unix time, except those already in Unix time
- Convert many posts from having a specific meta_key to use a post_format
- Custom fields: my custom checkbox area doesn’t seem to work
- get_post_custom_values not working
- Show div based on custom meta value
- add multiple values (array) to post meta_input
- Assign class to Drop Down Selections in WooCommerce Products Custom Fields
- Show/Hide Featured Image or replace it with custom field [closed]
- Multiple permalinks for a single post from custom field
- Search for meta_query does not return any result if combined with title