alchymyth

responsive datum etc entfernen

Sep 18th, 2012
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. theme responsive - datum, posted by, comments, breadcrumb entfernen;
  2.  
  3. in: archive.php; blog-excerpt.php; blog.php; image.php; index.php; search.php; single.php;
  4. entferne (kann ein wenig unterschiedlich aussehen in den einzelnen dateien):
  5.  
  6. <div class="post-meta">
  7. <?php
  8. printf( __( '<span class="%1$s">Posted on</span> %2$s by %3$s', 'responsive' ),'meta-prep meta-prep-author',
  9. sprintf( '<a href="%1$s" title="%2$s" rel="bookmark">%3$s</a>',
  10. get_permalink(),
  11. esc_attr( get_the_time() ),
  12. get_the_date()
  13. ),
  14. sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
  15. get_author_posts_url( get_the_author_meta( 'ID' ) ),
  16. sprintf( esc_attr__( 'View all posts by %s', 'responsive' ), get_the_author() ),
  17. get_the_author()
  18. )
  19. );
  20. ?>
  21. <?php if ( comments_open() ) : ?>
  22. <span class="comments-link">
  23. <span class="mdash">&mdash;</span>
  24. <?php comments_popup_link(__('No Comments &darr;', 'responsive'), __('1 Comment &darr;', 'responsive'), __('% Comments &darr;', 'responsive')); ?>
  25. </span>
  26. <?php endif; ?>
  27. </div><!-- end of .post-meta -->
  28.  
  29.  
  30. in: content-sidebar-half-page.php; content-sidebar-page.php; full-width-page.php; landing-page.php; page.php;
  31. entferne:
  32.  
  33. <?php if ( comments_open() ) : ?>
  34. <div class="post-meta">
  35. <?php
  36. printf( __( '<span class="%1$s">Posted on</span> %2$s by %3$s', 'responsive' ),'meta-prep meta-prep-author',
  37. sprintf( '<a href="%1$s" title="%2$s" rel="bookmark">%3$s</a>',
  38. get_permalink(),
  39. esc_attr( get_the_time() ),
  40. get_the_date()
  41. ),
  42. sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
  43. get_author_posts_url( get_the_author_meta( 'ID' ) ),
  44. sprintf( esc_attr__( 'View all posts by %s', 'responsive' ), get_the_author() ),
  45. get_the_author()
  46. )
  47. );
  48. ?>
  49. <?php if ( comments_open() ) : ?>
  50. <span class="comments-link">
  51. <span class="mdash">&mdash;</span>
  52. <?php comments_popup_link(__('No Comments &darr;', 'responsive'), __('1 Comment &darr;', 'responsive'), __('% Comments &darr;', 'responsive')); ?>
  53. </span>
  54. <?php endif; ?>
  55. </div><!-- end of .post-meta -->
  56. <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment