In author.php
:
<?php
get_template_part('custom-author-file');
Alternatively, rename your custom-author-file.php
to author.php
.
The URL being used in this case isn’t relevant, as a template doesn’t determine the URL used, it’s the other way around. However, I suspect there is more to your question you haven’t explained
Related Posts:
- Opinions and recommendations on the best barebones base theme [closed]
- Dynamic template serving, change theme_root using add_filter from current theme
- How to override the “inc” folder (or any folder) in a theme using child theme?
- Is it possible to access Gutenbergs reusable blocks in CPT block templates?
- Loading template files from a subfolder in my theme?
- WordPress as Backend, Laravel Front End: How to connect Routes?
- Can I obtain differents links for different installed theme?
- WordPress ignoring specified template for front page. Why?
- Can I apply a WP theme to a specific custom page template?
- WordPress Fatal error: Call to undefined get_header() in index.php on line 15 [closed]
- Change Theme from Plugin based on query_vars
- How to add template to theme in WP
- Added a new template file to a theme – get Call to undefined function error
- How to find a file in WordPress themes [closed]
- Display a specific dynamic sidebar widgets on a specific page
- Child theme Page Template not loading
- Creating new templates in child themes breaks layout
- Search form not finding content in template page
- display comment form for specific post id
- Selected template is not respected for home page in WordPress
- Putting two themes together to create a complete site
- Is there a way to upgrade a theme without losing custom templates?
- Need help with making a website where user can add products
- Advantages of wordpress theme vs wordpress as a backend only [closed]
- What’s a good way to unenqueue all scripts for a single template page?
- Using the same database on another Subdomain
- Trying to fix a website that was built with WordPress and then taken off of it
- Conditional config WP_HOME/WP_SITEURL does not update bloginfo(‘template_url’)?
- Create Custom Attachment Template That is Processed from Plugin Folder?
- Multiple sub directories for theme template pages
- How to remove the tripadvisor logo from the wordpress theme?
- Please help me clear my confusions about WordPress
- WordPress 2022 template, how to see the blocks added in post template on post edit?
- Can I use non-wordpress themes in WordPress?
- WordPress keeps switching back to empty template
- Removing a widget via theme editor
- How do I bring a page template into a new theme with separate styling?
- 12 column grid layout
- Theme Dev | Convert Template to Theme
- Revamping a WordPress mirror site – and I don’t know where to start!
- What is the template file for topic layouts in bbPress?
- Will this js code work in a page template?
- How to find out which template the HTML content comes from?
- Create a child Theme or custom Theme
- How to modify/ customise NextGen Gallery’s templates? [closed]
- wordpress template page Usage [duplicate]
- Overwrite template-tags.php in child theme
- How to Hide Blog Post Author?
- What happens to bespoke page template references on theme change?
- How to add sidebar to homepage programmatically?
- Get header/footer list for a theme
- Homepage not loading correctly, only after refreshing
- How to clone a theme template from within WordPress? [closed]
- How to Link External jQuery/Javascript files with WordPress
- Best practices for a Style/CSS based theme options page?
- How to license my commercial WordPress theme? [closed]
- How to Use WordPress as Static CMS Without Blog Posts
- How do I create my own admin button and theme settings page?
- Jquery in Child Theme
- Changing the visible url path to css & js files
- Retaining old HTML archives and displaying themes conditionally
- Theme Activation, Create Database Tables
- Alternate header image
- Does uninstalling a WordPress theme delete its database values?
- Problem after renaming wordpress template file
- Make it possible to pick a color theme for specific pages
- How To Remove The “Delete” Theme Option In Dashboard
- How Do I Use A Custom Mobile Theme?
- How can I make a different theme be viewed for logged in users vs guests?
- What is calling this parallax-slider.less file that is missing? [closed]
- Random 404 error on WP
- Theme option not saved if in wp_editor() and html decoded
- My new WordPress theme based on the TwentyEleven theme doesn’t display the front page OR the blog page
- How to add logo in Thematic
- How to create a new copy of a theme currently being used?
- Creating a job board using WordPress (for free)? [closed]
- Translate a site based on different themes
- Problems to disable the comments for my statics pages
- Issue with theme mod options during domain migration
- I don’t know how to put a placeholder [closed]
- How to hide title on ‘highlights’ – Themify feature
- How can i set default pages to a word press theme? it shouldn’t be changed even if i install the theme in different host
- Two themes using a Multiple Themes plugin
- How to list posts from a sub-category that is listed in a parent category (more details below)?
- Broken theme, stylesheet is missing after uploading the right theme via FTP
- how to notify users about new theme updates?
- WordPress thinks my custom theme is a theme in the public theme repository
- WP Customize API Checkbox change value
- Updating a theme
- Phone numbers showing same color as header [closed]
- Baskerville Theme – How to use the masonry grid layout on other pages
- Background image not showing up
- How to display post meta data in secure manner
- separate home page into separate pages
- How can I allow a client to edit certain parts of a static site?
- Overwrite functions.php of a theme – What if the theme is updated?
- How to add/edit content Custom Content item in theme
- Is there a WordPress theme for twittstrap? [closed]
- change template with button
- Table of Contents in Left Navbar [closed]