How do I remove the titles, dates, tags and read more from every blog post? I just want a basic post only set up.
Cutline Theme Support Forums » General
Removing Blog Post Titles
(6 posts)-
Posted 4 years ago #
-
As far as I know, all you need to do is access your single.php file and remove the code you don't want such as:
<h2><?php the_time('F jS, Y') ?>: Posted by <?php the_author_posts_link(); ?>
Removing that line will take away the time stamp and author's name.
Is that what you were looking for?
Posted 4 years ago # -
Edit the Main Index Template (index.php). Remove or change the lines that contain
<?php the_title(); ?> // Inserts the post title <?php the_time('j-M-Y') ?> // Inserts the date <?php the_category(' · ') ?> // Inserts the categoriesIf you don't know php, be careful or you will screw up the main page.
Posted 4 years ago # -
Ok I removed those lines of code however I am still showing my post title, Tags ect...?
Posted 4 years ago # -
Ok heres the deal I believe it is working when I click on the blog post, However when I view the post under a category it still list the title and whatnot, this is what I want to rid. Any Ideas?
Posted 4 years ago # -
You have to get rid of the same code in your index.php, archive.php, and search.php files.
Single.php is the template for a post when you click on it, archive for any time you click on a category or date archive, search for search, and index for your front page.
Posted 4 years ago #
Reply
You must log in to post.