Remove Post Title permalink

Latest Reply from IMC By Design at 2013-11-15 10:16:07 Solution
I am using the Movie Poster theme and would like to remove the permalink from the post titles. Please help. Thank you!
Hi!
You have to replace the line :
<h2><a href="<?php the_permalink(); ?>" title="<?php printf( $SMTheme->_( 'permalink' ), the_title_attribute( 'echo=0' ) ); ?>" class='post_ttl'><?php the_title(); ?></a></h2>


with:
<h2><?php printf( $SMTheme->_( 'permalink' ), the_title_attribute( 'echo=0' ) ); ?><?php the_title(); ?></a></h2>


in the file theloop.php.
Besides, I recommend you to add the following code to the file css --> index.css:
.articles .post-caption h2,.articles .post-caption h1 { padding:14px 0; margin:0; color: #383838;}


instead of:
.articles .post-caption h2,.articles .post-caption h1 { padding:14px 0; margin:0;}


to save the color of your Post title.
Hi! Thank you but it didn't work. The title changed from the post title to "Permalink to <post name>". I just want the post title to show as text, not a link. Thank you!
Hi again, one more thing i could also use help with is removing "Category XXX' at the top of the page (currently in red). Thanks!
i figured out both issues. thank you!

Leave a reply

Add codeAdd image