Copy the file to your child theme,
In your child theme, create a template and name it what ever you want, e.g content-child.php
Now you can replace lib/login/register.php with your new template:
<?php get_template_part( 'content-child', get_post_format() ); ?>
It should work.
Related Posts:
- Is it possible to disable a function of a parent theme?
- How to override an unpluggable parent theme function?
- How do I remove a require_once admin panel from the parent theme from the child theme functions.php?
- Copyright info change in Theme Child PHP
- Add footer.php to WordPress child theme
- Setting up the child theme so as to enable right-to-left WordPress?
- How to override a non pluggable and non hookable function in a WordPress parent theme?
- Understanding WordPress child theme custom JS loading
- Overriding a theme redux file in child theme
- Adding tawk.to code just before body tag on functions.php file
- WordPress child theme fails to override parent navigation menu in /inc/structure/header.php
- How to style options page in dashboard?
- Copyright info change – Corporate Plus Theme PHP [closed]
- How do I check or test a WordPress Auto Year Change Script?
- How to have different site identity logos on each page on Astra Theme [closed]
- Removing “Powered by” footer using child theme PHP [closed]
- Overide Variable in Child Theme
- child parent styles enqueue order
- How to style injected code in header section?
- Child Theme’s Read More Text
- get_template_part function and add images
- Need advice on theme customizer and child themes
- how to replace h1 entry title with h2 in category pages only
- Contain multiple page templates in one PHP custom template file in WordPress?
- Proper way to remove html code on child theme
- remove_action from parent theme using child theme functions.php
- File from parent theme imported to child theme doesn’t work – any ideas?
- How to change this ajax function to submit to the default wordpress content area instead of the custom field ‘seller notes’?
- Child theme overirde template-tags in a theme built on underscores in inc/template-tags
- PHP “warning include_once(): Failed to open stream” Simple HTML DOM in WordPress Child Theme
- How to override html codes in wordpress?
- If I define a variable in header.php, how do I make it available to templates?
- Should I write a PHP function in home.php?
- Debugging an error: wp_enqueue_style was called incorrectly
- How to log out everywhere else, destroy all sessions “all other devices”?
- Allow authors to post only in categories they create in WordPress
- Changing the HTML Of the content
- Using PHP to toggle stylesheet and header image, set in cookie
- Custom excerpt function re-factoring
- How do I publish only one page to production after making changes on staging?
- Using Multiple Submit buttons to trigger customised php functions
- How to get specific image in media library with php
- Parent theme CSS overriding child CSS rules
- Only Show Link If div Exists
- Change the WP Video Shortcode Output
- How to pick the default selected value in wordpress dropdown?
- Using WP-API and SSE not authenticating user ID
- Validate functions before inserting then into functions.php
- How to retrieve current wordpress profile page URL?
- WordPress Quick Question . How to Get Parent Link in Submenu in My Code
- Echo string and function?
- How to change menu labels
- Adding wrapper elements in the_date() like in the_title()?
- How to obtain the current website URL in my theme?
- Plugin Generate Unexpected output during activation
- Remove Custom Divs from AMP pages
- Read array in php?
- Is it possible to display a DIV to not logged in users and then change it for users who are logged in?
- PHP code for displaying WordPress posts in a static page not working
- Remove extract from function
- Undefined offset: 3 in custom function
- How to add data to a custom field at the wp_users table?
- How to make a cookie be on the whole site instead of being on a specific page/
- call a string/function from database
- Conditionally remove comments and post meta in functions.php
- Get date function not working
- Can/should we delete wordpress cron jobs with no action?
- How a HTML form can trigger a PHP function?
- Allow a user or role to view drafts and previews, but not other admin privileges?
- Trying to add Custom Post Type to this functions.php command
- Apply function.php filter only if url not has /amp/
- Preventing direct access to a page in WordPress
- How to use data URL in WordPress?
- Flushing the slug base has no effect and does not change
- Multiple cron jobs vs daily cron job doing multiple things? Which one yields better performance and scalability?
- JQuery modal not loading video on popup, only displaying it after multiple reopenings
- Get user by meta data key and velue
- custom post type column countdown
- Add another role to a user when they click a button?
- Creating wordpress user registration form
- Add missing alt tag to featured images for “storefront” theme
- Notice: Undefined index: post_title error
- Unable to pass arguments to function used in add_action
- Load admin bar without wp_head or wp_footer [duplicate]
- Allow user to select location and then set cookie for location in WordPress
- Highlight Single Page Ancestor
- Registration form not registering First and Last name
- WordPress get_post_meta issue
- Woocommerce Price Text
- Limit Taxonomy Parents
- How to add button to top of theme customizer?
- Send foreach $_post method to contact form 7 [closed]
- Options.php loop won’t show!
- Contact form with dynamic dropdown and filter
- Critical Error customiser
- Dynamic Email Handler with ‘header (“Location: …’
- Custom plugin doesn’t show in admin menu – when code added, displays an empty page
- How to automatically flush permalinks?
- Execute wp_after_insert_post after the permalink is customized
- Exclude function for custom pages, exclude custom ACF fields