Some question (2 posts)

  1. JohnstonTX
    Posted 2 years ago #

    I download your theme and I've got some question about it to you Ossie.

    1. I want a header picture only on my homepage/main page, which is static. If i upload the header picture it's showed on all pages and I lost a lot of room for content. Is there any way to make header picture display on a homepage and not on the other pages?

    2. I try to make a very similar blog page like on your them prevew page: http://www.templateexpress.com/adam/blog/ How you do it? I managed the menu options and i linked the category page for one of buttons. But of course it didnt look like your. What i need to edit?

  2. Template Express
    Theme Author

    Posted 2 years ago #

    Hello, it is very simple to achieve what you are looking for. In the header.php file look for:

    <div class="header-image">

    Delete everything inside this div and replace with:

    <?php if(is_front_page()):?>
        <?php $header_image = get_header_image();
    		if ( ! empty( $header_image ) ) { ?>
    			<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    				<img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
    		<?php } // if ( ! empty( $header_image ) ) ?>
        <?php endif; ?>

    The blog is just the default blog that should appear once you start to add posts. I have images in my actual posts and have used the more tag.

    hope this helps

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic