Advertisement
Guest User

Untitled

a guest
Jan 5th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. <?php
  2. /**
  3. * The default template for displaying content on single post views.
  4. *
  5. * @package Reddle
  6. * @since Reddle 1.0
  7. */
  8. ?>
  9.  
  10. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  11. <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  12. </article>
  13. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  14.  
  15. <header class="entry-header">
  16.  
  17. <div id="share">
  18. <a href="https://plus.google.com/share?url=<?php the_permalink(); ?>" target="_blank"><img
  19. src="https://media.domain.com/Images/G+button2.png" alt="Share on Google Plus!"></a>
  20.  
  21. <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>
  22. <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>
  23. </div>
  24.  
  25.  
  26. <?php if ( 'post' == get_post_type() ) : ?>
  27. <div class="entry-meta">
  28. <?php reddle_posted_on(); ?>
  29. </div><!-- .entry-meta -->
  30. <?php endif; ?>
  31.  
  32. <?php if ( ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) && ! post_password_required() ) : ?>
  33. <p class="comments-link"><?php comments_popup_link( '<span class="no-reply">' . __( '0', 'reddle' ) . '</span>', __( '1', 'reddle' ), __( '%', 'reddle' ) ); ?></p>
  34. <?php endif; ?>
  35. </header><!-- .entry-header -->
  36.  
  37. <?php if ( is_search() ) : // Only display Excerpts for Search ?>
  38. <div class="entry-summary">
  39. <?php the_excerpt(); ?>
  40. </div><!-- .entry-summary -->
  41. <?php else : ?>
  42. <div class="entry-content">
  43. <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'reddle' ) ); ?>
  44. ?>
  45. <footer class="entry-meta">
  46. <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
  47. <?php if ( $categories_list && reddle_categorized_blog() ) : ?>
  48. <p class="cat-links taxonomy-links">
  49. <?php printf( __( 'Posted in %1$s', 'reddle' ), $categories_list ); ?>
  50. </p>
  51. <?php endif; // End if categories ?>
  52.  
  53. <?php if ( $tags_list ) : ?>
  54. <p class="tag-links taxonomy-links">
  55. <?php printf( __( 'Tagged %1$s', 'reddle' ), $tags_list ); ?>
  56. </p>
  57. <?php endif; // End if $tags_list ?>
  58. <?php endif; // End if 'post' == get_post_type() ?>
  59.  
  60. <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">&middot;</span><span class="day"><?php the_time( 'd' ); ?></span></a></p>
  61.  
  62. <?php if ( ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) && ! post_password_required() ) : ?>
  63. <p class="comments-link"><?php comments_popup_link( '<span class="no-reply">' . __( '0', 'reddle' ) . '</span>', __( '1', 'reddle' ), __( '%', 'reddle' ) ); ?></p>
  64. <?php endif; ?>
  65. <?php edit_post_link( __( 'Edit', 'reddle' ), '<p class="edit-link">', '</p>' ); ?>
  66. </footer><!-- #entry-meta -->
  67. <?php endif; // check to see if there is a need for an article footer ?>
  68. </article><!-- #post-## -->
  69. <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">
  70. <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