theserpent
Member
Posted 3 years ago #
Hi,
I'm making a website using wordpress , without the BLOG and using the PAGES only. (Mandigo theme website btw)
I do not want to display the page title because they're esthetically irrelevant. (I basically want to edit the pages as if they were blank canvases..)
I looked at different topics and tried a few but it wont work...
I tried to edit the template page but not sure how to proceed, especially with mandigo theme.
Thanks for help!
theserpent
Member
Posted 3 years ago #
theserpent
Member
Posted 3 years ago #
kmessinger
Member
Posted 3 years ago #
You can look for this in the themes index.php file, <?php the_title(); ?> and delete but that will just take care of the main blog. Title would still show up in categories, etc. Maybe you can use that all the way thru but I think it may mess up permalinks.
theserpent
Member
Posted 3 years ago #
Thx! What should i do with : <?php the_title(); ?>
remove it / edit it? i dont know much how to program php.
also i think i still can edit the permalinks manually, i set it custom %slug% to use the slug name for SEO friendly URLs.
do you think it'd mess the permalinks?
kmessinger
Member
Posted 3 years ago #
You can look for this in the themes index.php file, <?php the_title(); ?> and delete
do you think it'd mess the permalinks?
I don't know
theserpent
Member
Posted 3 years ago #
thanks, it worked, and the permalinks seem unaffected!
How can you remove just some titles. Replace them with graphics on some pages and have the standard title on others?
theserpent
Member
Posted 3 years ago #
i guess you can follow the guidance up there and simply add an image as the title!
nikcree
Member
Posted 2 years ago #
It is not generally a good idea to delete the code. It is better to comment it out (hide it) just in case you change your mind at a later date, or it mucks up your site. To do hide the title from appearing you simply change the following code in the page.php file in your theme:
<?php the_title(); ?>
to
<!--?php the_title(); ?-->
To see which WordPress theme file to edit and how to do this, there is a great video tutorial at:
http://www.positivebusinessonline.com/hide-wordpress-page-title
Another method is to comment out the php function call itself:
<?php // the_title(); ?>
... rather than wrapping the code in HTML comment tags.
TheRealLoveGuru
Member
Posted 2 years ago #
Thanks for posting this, and having such easy to understand directions on how to do this. I did it to all my sites and they look so much better.
I used the <?php // the_title(); ?>
Dr. Dan
http://www.TheRealLoveGuru.com