Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The default template for displaying content on single post views.
- *
- * @package Reddle
- * @since Reddle 1.0
- */
- ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
- </article>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <div id="share">
- <a href="https://plus.google.com/share?url=<?php the_permalink(); ?>" target="_blank"><img
- src="https://media.domain.com/Images/G+button2.png" alt="Share on Google Plus!"></a>
- <a href="https://www.facebook.com/sharer/sharer.php?u=<?php the_permalink(); ?>" targer="_blank"><img class="facebook" src="https://media.domain.com/Images/Facebookbutton.png" alt="Share on Facebook"></a>
- <a href="https://twitter.com/intent/tweet?text=<?php the_permalink(); ?> <?php the_title(); ?>"><img class="twitter" src="https://media.domain.com/Images/Twitterbutton2.png" alt="Share on Twitter"></a>
- </div>
- <?php if ( 'post' == get_post_type() ) : ?>
- <div class="entry-meta">
- <?php reddle_posted_on(); ?>
- </div><!-- .entry-meta -->
- <?php endif; ?>
- <?php if ( ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) && ! post_password_required() ) : ?>
- <p class="comments-link"><?php comments_popup_link( '<span class="no-reply">' . __( '0', 'reddle' ) . '</span>', __( '1', 'reddle' ), __( '%', 'reddle' ) ); ?></p>
- <?php endif; ?>
- </header><!-- .entry-header -->
- <?php if ( is_search() ) : // Only display Excerpts for Search ?>
- <div class="entry-summary">
- <?php the_excerpt(); ?>
- </div><!-- .entry-summary -->
- <?php else : ?>
- <div class="entry-content">
- <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'reddle' ) ); ?>
- ?>
- <footer class="entry-meta">
- <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
- <?php if ( $categories_list && reddle_categorized_blog() ) : ?>
- <p class="cat-links taxonomy-links">
- <?php printf( __( 'Posted in %1$s', 'reddle' ), $categories_list ); ?>
- </p>
- <?php endif; // End if categories ?>
- <?php if ( $tags_list ) : ?>
- <p class="tag-links taxonomy-links">
- <?php printf( __( 'Tagged %1$s', 'reddle' ), $tags_list ); ?>
- </p>
- <?php endif; // End if $tags_list ?>
- <?php endif; // End if 'post' == get_post_type() ?>
- <p class="date-link"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'reddle' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark" class="permalink"><span class="month"><?php the_time( 'M' ); ?></span><span class="sep">·</span><span class="day"><?php the_time( 'd' ); ?></span></a></p>
- <?php if ( ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) && ! post_password_required() ) : ?>
- <p class="comments-link"><?php comments_popup_link( '<span class="no-reply">' . __( '0', 'reddle' ) . '</span>', __( '1', 'reddle' ), __( '%', 'reddle' ) ); ?></p>
- <?php endif; ?>
- <?php edit_post_link( __( 'Edit', 'reddle' ), '<p class="edit-link">', '</p>' ); ?>
- </footer><!-- #entry-meta -->
- <?php endif; // check to see if there is a need for an article footer ?>
- </article><!-- #post-## -->
- <img style="display:inline-block;width:300px;height:250px;" src="http://beta.domain.com/blog/wp-content/uploads/2017/08/cropped-suitelogo-1-1.png">
- <img src="http://beta.domain.com/blog/wp-content/uploads/2017/08/cropped-suitelogo-1-1.png" style="display:inline-block;width:300px;height:250px">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement