WordPress.org

Forums

Hannari
Hannari homepage setup (9 posts)

  1. aheinrich
    Member
    Posted 1 year ago #

    Hi,
    how do I setup my homepage as shown in the screenshot?
    I filled in four top box areas already but nothing happens.
    I geht my articles on the homepage, nothing else.

    Thanks for your help,
    Andrea Heinrich

  2. wild.ua
    Member
    Posted 1 year ago #

    I also have such problem.
    I think I need activate the option "to show top box areas"
    But I don*t know where....

  3. Stefan Ciobanu
    Member
    Theme Author

    Posted 1 year ago #

    Hello

    1. Page must be assigned template "Home Page"
    2. Settings -> Reading: Must be set in the "Front page"

    Thanks
    Stefan C

  4. Jittakorn
    Member
    Posted 1 year ago #

    Hello Stefan
    I got problem. Can i define post by category name? I just want to show only 1 category but I can't. Can you help me?

    <ul>
    						<?php
    						if (have_posts()) : ?>
    						<?php
    						$list_posts = hannari_get_list_posts();
    						while ( $list_posts->have_posts() ) {
    						$list_posts->the_post();
    						?>
    							 <li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    								<h2><a href="<?php the_permalink() ?>"><?php if(get_the_title($post->ID)) { the_title(); } else { the_time('j M Y');} ?></a></h2>
    								<?php if( has_post_thumbnail() ) { echo get_the_post_thumbnail( $post->ID, 'featured'); }?>
    								<?php the_excerpt(); ?>
    								<div class="subinfopost">
    									<p class="posted">
    										<span class="date_time"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_time() ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a></span> /
    										<span class="postedby"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author(); ?></a></span> /
    										<span class="commentcount"><?php comments_popup_link('<span class="icon comments"></span> No Comments', '<span class="icon comments"></span> 1 Comment', '<span class="icon comments"></span> % Comments', 'comment-link'); ?></span>
    									</p>
    									<a class="readmore" href="<?php the_permalink() ?>"><?php _e( 'Read More &#187', 'hannari' ); ?></a>
                                        <div class="clear"></div>
    								</div>
    							 </li>
    						<?php
    						}
    						wp_reset_postdata();
    						?>
    						</ul>
    						<?php /*if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?>
    							<p class="pagination">
    								<span class="prev"><?php next_posts_link(__('Previous Posts', 'hannari')) ?></span>
    								<span class="next"><?php previous_posts_link(__('Next posts', 'hannari')) ?></span>
    							</p>
    						<?php }*/ ?>
    						<?php else : ?>
    									<h2 class="center"><?php _e( 'Not found', 'hannari' ); ?></h2>
    									<p class="center"><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'hannari' ); ?></p>
    						<?php endif; ?>
  5. Stefan Ciobanu
    Member
    Theme Author

    Posted 1 year ago #

    http://codex.wordpress.org/Function_Reference/get_the_category
    I think this is information that you need

  6. clairenicole33
    Member
    Posted 1 year ago #

    Hello,

    How does one assign the template to "Home Page" in this theme ?
    I don't see an option for this in the theme options menu and I've input content into the boxes provided and saved it?

    Thanks

  7. Stefan Ciobanu
    Member
    Theme Author

    Posted 1 year ago #

    I posted here some screens, I hope to help

    http://www.pwtthemes.com/help/set-home-page

  8. clairenicole33
    Member
    Posted 1 year ago #

    ah ok! thanks so much. Haven't seen it done like this before, but works perfectly.

    Cheers!

  9. malika76
    Member
    Posted 1 year ago #

    Hi - Installed the Hannari theme. But when I add the boxes, the take out the image I have on the home page. I want the main image to show up AND the 4 boxes below it. Can you tell me how to do this?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic