A quick way to find your way is by installing the ACF plugin with these rules:
And create author.php file with this code:
<?php while ( have_posts() ) : the_post(); ?>
<?php // get the background_picture ?>
<?php $background_picture = get_field( 'background_picture', 'user_'.get_the_ID() ); ?>
<img src="https://wordpress.stackexchange.com/questions/272675/<?php echo $background_picture["url'] ?>" alt="">
<?php // get the profile_picture ?>
<?php $profile_picture = get_field( 'profile_picture', 'user_'.get_the_ID() ); ?>
<img src="<?php echo $profile_picture['url'] ?>" alt="">
<?php // get the bio ?>
<?php echo get_the_author_meta( 'description' ) ?>
<?php endwhile ?>
Related Posts:
- The the_post_thumbnail without srcset?
- after_setup_theme always runs
- WordPress API Menu/Submenu Order
- What WP folder can I use to write files to?
- Form Submitting Error with get_template_part()
- Can’t get staging site to display same way as live site. Completely stumped
- How to add default images for custom backgrounds?
- How to call the_excerpt() with tags or the_content() as an excerpt?
- Display a different theme for not logged-in users
- how to test a theme upgrade
- comment_form() generates the wrong action url
- How to set path with WP_Filesystem and ftp base / chroot
- How to add paging to query
- what’s meaning of it when submit a theme?
- A two column loop with one lead post
- How to Modify a Widgets UL and/or LI Classes
- How to remove menus section from WordPress theme customizer
- new theme permissions don’t allow me to edit
- Getting Permalink within the loop
- Allow users to add custom functions to wordpress theme
- How to add custom template tag in wordpress theme?
- Doubled titles when using All in One SEO with custom template
- What page should I use for a contact form?
- Get attachments by user
- Appending a value to metabox before and after saving
- wordpress custom theme import and export options for sample data [closed]
- How to hook CSS file according to theme selection in the customizer section
- I made a my own theme to WordPress and Admin Menu missing from frontend
- What program can I use to preview my wordpress site?
- How exactly *does* unit testing work for themes?
- How to remove a file included in parent theme with locate_template() via child theme?
- Can’t override template file in child theme
- wp_nav_menu add something before closing container and after last list item
- Simple way to get two language WP site
- qTranslate with my own theme and settings
- Make logo dynamic in wordpress
- jQuery not available to other scripts
- where to split off footer.php
- Does the switch_theme action run when you’re upgrading a theme?
- How to jump to newly posted comment anchor after submit?
- WordPress Filtering Custom Post Type by Metadata and Search Heirachy
- Nested comments in WordPress theme
- filemtime(): stat failed warning within a child theme
- What are the hooks in WordPress theme development?
- How can I override a require() used in functions.php of parent theme to my child theme
- Best way to develop a new theme on a live site, with new content? [closed]
- WordPress dummy data for theme design
- Can I use WooCommerce in a headless CMS setup?
- How to transfer one domain to another domain without losing theme options (customizer)?
- Do I need to include a textdomain if my theme doesn’t support translation?
- adding class to excerpt
- How can I wrap all blog posts image with
- How to allow users to create their own website within my domain? [closed]
- Redux Setting on custom created admin page
- Problem escaping text which contains html markups
- Avada Child Theme Development
- WordPress creating images if uploaded image is greater than 960px on one side?
- Create theme for mobile phones and tablets only?
- Using the media library for theme customization
- Never actually adding the action? Or do I have to call the action?
- Seeting Active Nav for Bootstrap in WordPress
- How can I remove image taxonomy pages from my theme and from Google?
- How can I get dynamic content on my static home page
- WordPress 6.x / PHP 8.x deprecated warnings in development environment
- WordPress custom menu can’t show 3. level submenu
- Best way to implement bootstrap after loading
- Social-Link block not loading html on page with custom theme
- Building a custom menu or use a plugin?
- Custom Static Page to Display Blog Posts in Excerpt Non-Singular Form (is_singular not working?)
- How Do I Create a WordPress Demo Site with Limited Admin Access
- Importing sass into underscores theme
- Woocommerce REST API for my account & checkout process
- How can I fix my theme header for my CSS stylesheet?
- Alternative solution for script_loader_tag?
- Change logo url by category and in some pages
- Enqueue script for development purposes only?
- How to show Custom Field Value in Woocommerce Shop Page
- How to transfer all posts, pages and media
- What are entry.php and its appendix files and is it safe to delete them in a most miniaml site?
- How to hide blog by id wordpress multisite listing
- Get chronological page order
- jQuery conflict in WordPress, works fine in HTML
- Including some variables in function.php and echo them is several place of theme is not working
- How to override wordpress native options with theme options
- How to migrate the menu from the site on my own theme in WordPress?
- Why is including all your files within a theme folder important?
- FitVid not working for iframes on particular theme install
- How to create multiple sidebar areas with a forloop and register_sidebars?
- Make theme editor to show all theme’s files
- add_action works outside condition but not inside it
- Bootstrap isn’t called into my WordPress theme
- Jquery Ui Tabs not working
- Adding a new layout for genesis
- Which function(s) to build a paged HTML table
- white spaces on the all sides [closed]
- Bootstrap 4 mobile menu not working for WordPress Development
- How to make it so I can “use” template parts in (classic/full) site editor
- How do I send out an update for my custom wordpress theme?
- custom wordpress theme blog page always not showing the last two pages of the articles
- Cart button not working on mobile version [closed]