Cutline Theme Support Forums » General

Removing Blog Post Titles

(6 posts)
  • Started 4 years ago by thetaxidermist
  • Latest reply from thirdeyetc

Tags:


  1. thetaxidermist
    Member

    How do I remove the titles, dates, tags and read more from every blog post? I just want a basic post only set up.

    Posted 4 years ago #
  2. 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 #
  3. 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(' &middot; ') ?> // Inserts the categories

    If you don't know php, be careful or you will screw up the main page.

    Posted 4 years ago #
  4. thetaxidermist
    Member

    Ok I removed those lines of code however I am still showing my post title, Tags ect...?

    Posted 4 years ago #
  5. thetaxidermist
    Member

    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 #
  6. 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 #

RSS feed for this topic

Reply

You must log in to post.