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?
- How to call a function only once (global variable scope)
- Multiple is_page() in page.php
- Fatal error: Call to undefined function plugin_dir_path()
- Switching wp_get_sites to get_sites
- Is it possible to get a theme customizer setting from wp.customize using jquery?
- How can update custom meta for all posts
- wrong php date()?
- How do I fetch all comments per post via WP REST API?
- Shortcode content output but not in correct place
- Two Different Links for Same Product – WooCommerce [closed]
- Automatically adding new post categories to menu
- Get post id in a function when edit/add a post
- get author_name from queried post
- Pass php dynamic variable to shortcode
- get_template_part based upon post’s category
- Modify custom field input data before creating a new post
- Query Pages and post excerpts dynamically
- two columns of posts on homepage, one of them “favorites”
- Get my site session in wordpress?
- is_user_logged_in() not working in AJAX validation call
- Register a menu – Error Header
- How to create a field in customize and show that in header.php?
- Set site title & tagline with wp.config or function.php
- Shortcode to embed Edit Account form not working
- How to make jquery count down timer function manually editable
- Hierarchical taxonomy list with modificated term links
- What’s a good way to allow overwriting files within a child theme if I want the same folder structure?
- WordPress filter load_textdomain_mofile not working inside a child theme’s functions.php but works form inside a plugin
- Include style.css in the Child Theme with PHP
- Get user custom field value on function.php
- entire JS folder not loading in a WP theme
- Problems clearing cache
- PHP Output also in Child theme, but different
- Dynamically Generate Functions and Hooks
- Strip from or something better?
- Need help for some PHP code
- Adding HTML Code to Replace Text in PHP
- How to unset a function from a action inside a class, that is called in another class
- Create a new account on site B with data from the purchase of site A
- Why is the current page loaded in the pop-up window and not the specified one?
- Problem with displaying CSS Stylesheets – Am I adding them correctly in my wordpress child theme?
- cURL needing to loop through all “next_page”
- Woocommerce – if selected attribute term equals
- split 1 cart item into instock and back ordered
- post_exists stops working in a scheduled event
- Where do I implement this display of User Meta Data, and how to put it in a table?
- How can I get my pagination loop to display the correct number of total pages?
- Get posts by id using shortcode
- Is it possible to replace ‘attachment’ with another word?
- Show post/page into div using function
- PHP get_category() function redeclared
- How to trim content AND retain HTML?
- Display posts using post ID’s in an array
- Issue encountered while trying to keep website private
- How to make 2 similar functions more efficient
- wp_delete_comment is doing nothing
- Styling admin page rows in order of importance (checkboxes)
- Insert wordpress tags below posts via functions.php
- Break a WordPress function to run in patches and re-continue
- Pagenav Not appearing on custom Template
- My title is showing after the shortcode
- Load a Header in wordpress
- Trouble figuring out how to get my button to submit comment
- Adding multiple conditional tags in a function?
- WooCommerce – Show ‘Sales’ badge on variable products where only some variations have sales price [closed]
- Need help with conditional logic for menus
- Custom Admin Menu Report for Specific User ID
- how to create twitter card without plugin in wordpress website?