Hallo zusammen,
ich nutze das Theme NEVADA welches auch ganz gut ist. Nur eine Sache bekomme ich einfach nicht hin. Die Darstellung der Blogartikel in 2 oder 3 Spalten wie auf dieser Seite:http://junglefrog-cooking.com/category/recip…d-other-sweets/
Die Loop Datei ist sehr groß habe den Start und den Teil eingefügt in dem das ganze, so meine ich geändert werden muss.
Die Loop Datei beginnt wie folgt
#-----------------------------------------------------------------
# Start the Loop
#-----------------------------------------------------------------
?>
<?php while ( have_posts() ) : the_post(); $lambda_meta_data->the_meta();
$postformat = $lambda_meta_data->the_meta();
$sticky = get_option( 'sticky_posts' );
?>
Alles anzeigen
Dan kommt PHP für unterschiedliche Darstellungen der Blogartikel als Gallery usw. und am Schluß der PHP Teil mit der normalen Darstellung in denen ich gerne die Artikel in 2 oder 3 Spalten angezeigt haben möchte.
<?php
#-----------------------------------------------------------------
# All other Posts
#-----------------------------------------------------------------
?>
<?php else : ?>
<section id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
<article class="entry-post clearfix">
<header class="entry-header clearfix">
<?php if(in_array($post->ID,$sticky)) { echo '<span class="sticky-title">Sticky Post</span>'; } ?>
<h1 class="entry-title standard-post-title">
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', UT_THEME_NAME ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<div class="entry-meta row clearfix">
<div class="post-ut">
<?php _e( 'By ', UT_THEME_NAME ); ?>
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
<span class="author-link"><?php the_author(); ?></span>
</a>
</div> <!-- post by -->
<div class="post-ut">
<?php echo lambda_posted_on(); ?>
</div> <!-- post date -->
<div class="post-ut">
<span class="comments-link"><?php comments_popup_link( __( '0 Comments', UT_THEME_NAME ), __( '1 Comment', UT_THEME_NAME ), __( '% Comments', UT_THEME_NAME ) ); ?></span>
</div><!-- post comments -->
<?php if(get_option_tree('activate_likes_in_blog') == "yes") : ?>
<?php echo GetLambdaLikePost(); ?>
<?php endif; ?>
</div><!-- .entry-meta -->
</header>
<?php
//only show picture if it has been set in the article
if(has_post_thumbnail(get_the_ID())) :
$url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
//cropping if customer has backend option to yes
if(isset($theme_options['activate_image_cropping']) && $theme_options['activate_image_cropping'] == 'yes') {
$url = aq_resize( $url, $lambda_image_width , get_option_tree('blog_preview_height'), true );
}
echo '<div class="thumb"><div class="post-image"><div class="overflow-hidden imagepost">';
echo '<img class="wp-post-image" src="'.$url.'" />';
echo '<a title="'.get_the_title().'" href="'.get_permalink().'"><div class="hover-overlay"><span class="circle-hover"><img src="'.get_template_directory_uri().'/images/circle-hover.png" /></span></div></a>';
echo '</div></div></div>';
endif; ?>
<div class="entry-content clearfix">
<div class="entry-summary">
<?php if ( is_archive() || is_search() || get_option_tree('excerpt_blog') == 'yes') :
the_excerpt();
else :
the_content( __( 'Read more <span class="meta-nav">+</span>', UT_THEME_NAME ) );
endif; ?>
</div><!-- .entry-summary -->
</div><!-- .entry-content -->
<footer class="entry-footer clearfix">
</footer>
<div class="clear"></div>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', UT_THEME_NAME ), 'after' => '</div>' ) ); ?>
<div class="edit-link-wrap">
<?php edit_post_link( __( 'Edit', UT_THEME_NAME ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .edit-link-wrap -->
</article>
</section><!-- #post-## -->
<div class="clear"></div>
<?php comments_template( '', true ); ?>
<?php endif; // This was the if statement that broke the loop into three parts based on categories. ?>
<?php endwhile; // End the loop. Whew. ?>
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<div id="nav-below" class="navigation clearfix">
<?php wp_pagenavi(); ?>
</div><!-- #nav-below -->
<?php endif; ?>
Alles anzeigen
Wer kann helfen.:?::?:
Viele Grüße
Thomas