• Resolved JoonasA

    (@joonasa)


    Hey,

    How could I’ve my posts posted in a way, that they would be on the front page without their post titles? But still have the personally created post titles for them, for example when you are at the posts permalink, associated with the rss…

    So far we’ve solved this by not writing titles for our posts at all. But while the number of posts is increasing, managing the posts in dashboard is getting a bit too tricky, as well as rss feed is pretty annoying to read and manage without post titles in them.

    Here’s our, still strongly beta, address if it can be for help: https://fineballin.com/helsinki/

    Hopefully my problem description makes some sense. Thank you already in advance.

    Joonas

Viewing 3 replies - 1 through 3 (of 3 total)
  • how not to show post titles on the front page:

    css solution:

    edit style.css of your theme, add this:

    .home .entry-title {display: none;}

    php solution:

    edit loop.php; line 126:

    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>

    surround it with a conditional statement, for instance:

    <?php if( !is_home() && !is_front_page() ) { ?><h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2><?php } ?>
    Thread Starter JoonasA

    (@joonasa)

    Thanks. Works perfect!

    Hi. I have the same problem. But i dont have loop.php because i use other theme. My files: bookmark.php archive.php page.php index.php functions.php footer.php header.php search.php searchform.php sidebar.php single.php welcome.php(top left side menu) style.css My theme name is Rewind from this link: https://wordpressthemes.cc/wordpress-theme-rewind-free-wordpress-themes/
    Thank You very much:)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to hide post titles from front page?’ is closed to new replies.