• Resolved deepbevel

    (@deepbevel)


    is it possible to just have no header image, and just the site title on all posts, and not use the author email and gravatar header at all?

    I’m using attachment pages to open images and don’t want an author shown, but I don’t want the site title to disappear either!, just want the site title like I have on pages, consistent for the whole site.
    thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • It looks like there’s an option to turn the header image off on archive pages, but for single and attachment pages I think you would either have to make a child theme with an edited header.php, or (and I know this isn’t quite ideal) use the Jetpack edit css tool to hide it.

    Thread Starter deepbevel

    (@deepbevel)

    yes, however the post author name and publish date still appear instead of the site title, but only for some attachment pages!

    this one shows the author, but click previous or next and you get the site title

    http://foursticks.net/diane-ekker/mandalas/attachment/040/

    very odd!

    Thread Starter deepbevel

    (@deepbevel)

    is the function for this located in header.php? I’ll check it out, thanks!

    Thread Starter deepbevel

    (@deepbevel)

    in header.php, div class “site header info, I omitted as follows:

    <?/*php if ( is_single() ) : ?>
    				<?php // Show only post author info on Single Pages ?>
    				<?php independent_publisher_posted_author_card(); ?>
    			<?php else : */?>

    and it appears to be working, thanks so much!! I may have not looked in the header for this for quite some time!

    Thread Starter deepbevel

    (@deepbevel)

    oops, if anyone wants the same, don’t forget to omit the following “endif”

    <?/*php endif; */?>

    Looks like you’ve got the right place. If you’re just commenting out the code in the original file then bear in mind this will be undone if Independent Publisher gets updated in the future, so it might be worth making a child theme if you haven’t already.

    Thread Starter deepbevel

    (@deepbevel)

    Yes, but not just yet, It’s very time consuming to build a child theme as I go, I usually wait until the site is done and do it all at once. Thanks Again for the quick and helpful response!

    I’m using this mod on another site as well, but here I make the header image and site description float left for all screen sizes This is because of the bigger header image looks odd when it starts to float right as per default, I realize this theme isn’t designed for a big header image, but I need a responsive theme with a full menu for all screen sizes, no toggle, and I like the minimal, content oriented design.

    http://americanbikerthebook.com/butterflytears/

    That’s cool, just thought it was worth checking so you don’t get any nasty surprises in the future.

    Thread Starter deepbevel

    (@deepbevel)

    Looks like I still need help. the header image and site title are not displayed, and author still appears at the bottom of single posts when the screen size gets smaller. Otherwise on a full screen it’s the regular site header image and title for single posts, with no author, as I wanted it.
    I can hide the author, but I need the site header image and title to remain, and that I can’t figure out!

    edit: never mind, I think I can use the author for posts after all, I just added !is_attachment to the condition, so I don’t get an author/gravatar for attachments.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Don't use author as header image.title’ is closed to new replies.