Support » Theme: Blogside » Sidebar profile image

  • Resolved danesensei


    Hi Alexander,

    I really appreciate your work. I’m loving your theme. I have one questions though:

    Would it be possible NOT to always display the profile image in the sidebar?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Alexander Agnarson



    Glad to hear. To make it show only on homepage, you can edit sidebar.php with a child theme and locate the following:

    <?php if ( get_theme_mod('profile-image') ): ?>
    <div id="profile-image"><div id="profile-overlay"></div><img src="<?php echo get_theme_mod('profile-image'); ?>" alt="" /></div>
    <?php endif; ?>

    Around the part you wish to exclude, add:

    <?php if ( is_home() ) : ?>
    <?php endif; ?>

    And viola, should work.

    Sidebar profile image – not displayed.
    How to add an image and text?

    I found!
    Customizing ▸ Theme Options ▸ Header – Profile Image.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar profile image’ is closed to new replies.