Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function render_content() {
- global $wp_theme_options;
- ?>
- <script type="text/javascript">
- jQuery(document).ready(function() {
- jQuery(".front-page-thumbnail img").hover(
- function () {
- jQuery(this).stop().fadeTo("fast", 0.7);
- },
- function () {
- jQuery(this).stop().fadeTo("fast", 1);
- }
- );
- });
- </script>
- <?php if ( have_posts() ) : ?>
- <div class="loop">
- <div class="loop-content">
- <?php while ( have_posts() ) : // The Loop ?>
- <?php the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="entry-header">
- <h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
- <div class="entry-meta">
- <?php printf( __( 'By %s', 'it-l10n-BuilderChild-Covell' ), '<span class="author">' . builder_get_author_link() . '</span>' ); ?>
- <?php printf( __( ' on %s', 'it-l10n-BuilderChild-Covell' ), '<span class="date">' . get_the_date() . '</span>' ); ?>
- <?php edit_post_link( 'Edit', ' <span class="">· ', '</span>' ); ?>
- <?php do_action( 'builder_comments_popup_link', '<span class="comments right">', '</span>', __( '%s Comments', 'it-l10n-BuilderChild-Covell' ), __( 'No', 'it-l10n-BuilderChild-Covell' ), __( '1', 'it-l10n-BuilderChild-Covell' ), __( '%', 'it-l10n-BuilderChild-Covell' ) ); ?>
- </div>
- </div>
- <!--post text with the read more link -->
- <div class="entry-content">
- <?php the_excerpt(); ?>
- </div>
- <!-- categories, tags and comments -->
- <div class="entry-footer clearfix">
- <div class="entry-meta">
- <div class="categories left"><?php printf( __( 'Categories : %s', 'it-l10n-BuilderChild-Covell' ), get_the_category_list( ', ' ) ); ?></div>
- <?php the_tags( '<div class="tags right">' . __( 'Tags : ', 'it-l10n-BuilderChild-Covell' ), ', ', '</div>' ); ?>
- </div>
- </div>
- </div>
- <?php endwhile; // end of one post ?>
- </div>
- <div class="loop-footer">
- <!-- Previous/Next page navigation -->
- <div class="loop-utility paging clearfix">
- <div class="alignleft"><?php previous_posts_link( __( 'Previous', 'it-l10n-BuilderChild-Covell' ) ); ?></div>
- <div class="alignright"><?php next_posts_link( __( 'Next', 'it-l10n-BuilderChild-Covell' ) ); ?></div>
- </div>
- </div>
- </div>
- <?php else : // do not delete ?>
- <?php do_action( 'builder_template_show_not_found' ); ?>
- <?php endif; // do not delete ?>
- <?php
- }
- add_action( 'builder_layout_engine_render_content', 'render_content' );
- do_action( 'builder_layout_engine_render', basename( __FILE__ ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement