Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. In your theme directory, open this file: templates/loop-blog.php
  2.  
  3. Find the lines:
  4. ```php
  5. punica_page_title();
  6.  
  7. $is_page_template = is_page_template( 'templates/blog-1.php' );
  8. ```
  9.  
  10. Edit and make it look like:
  11. ```php
  12. punica_page_title();
  13.  
  14. if ( is_category() ) {
  15. echo '<div class="punica-category-description">' . category_description() . '</div>';
  16. }
  17.  
  18. $is_page_template = is_page_template( 'templates/blog-1.php' );
  19. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement