Disable profile banner
-
Hello,
I am trying to disable the cover image on the user profile page. I have copied the template “cover.php” file to my “wpum” folder within my child theme. But I don’t know what I need to change within the file to disable the cover image?
the code in cover.php is:
<?php
if ( ! defined( ‘ABSPATH’ ) ) exit;$cover_image = get_user_meta( $data->user->ID, ‘user_cover’, true );
?>
<div id=”header-cover-image” style=”background-image: url(<?php echo esc_url( $cover_image ); ?>);”>
<div id=”header-avatar-container”>
user ) ); ?>”>
<?php echo get_avatar( $data->user->ID, 128 ); ?>
</div>
</div>
*/Thank you in advance,
Duncan
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Disable profile banner’ is closed to new replies.