Remove Title in the Main page - Theme Perfume

Latest Reply from Alice at 2014-01-27 08:15:13

Heya ..

Im working on your Perfume theme, and think its the theme I wanna use for my new website.(buy if I gets everything like I want)...

Im kinda new in wordpress, and have problem about removing the "Title" that appears in the main page, left corner. I have been trying to find how to do on other forums, but cant get it to work :( I have created a "static" front page .. but want all my pages, without the title coming in the top in the main page.

Where can I edit, .. tried change som in style.css and so on, no luck ..

Hope you can help.

Regars

Lars.

Hi!
Title displayed by code

<?php if (!is_single()&&!is_page()) { ?>
<h2>< a>" title="<?php printf( $SMTheme->_( 'permalink' ), the_title_attribute( 'echo=0' ) ); ?>" class='post_ttl'><?php the_title(); ?></h2>
<?php } else { ?>
<h1><?php the_title(); ?></h1>
<?php } ?>

placed in file theloop.php. If you want to remove it only on main page you can use following conditional statement:

if (!is_front_page())

If you need any further information please let us know.

Thank you, got it to work finally :-)

Where did you put it in the loop.php file? I have tried numerouse times and no luck. Please help.
Find the first occurrence of
(!is_single()&&!is_page())
above the code:
<?php the_title(); ?>
and replace it with:
(!is_front_page())
.

Leave a reply

Add codeAdd image