milanoelectronics
Member
Posted 1 year ago #
Hey guys,
I am new to wordpress and am using the portofolio press theme.
I have been trying for quite a while now to remove the page title on my pages and have not been able to find the right section of code to edit. Please could you tell me what I have to remove to be able to do this.
website is http://www.milanoelectronics.co.ke
Are you trying to remove the word "Home"?
milanoelectronics
Member
Posted 1 year ago #
That's right, yes. The same applies to the Contact Us page. Have been trying to comment out the_title on various pages but it doesn't seem to work. Would be very greatful on any help.
Thank you
This will remove all of your titles on your pages.. just fyi. It would be better to hide them with css if you are familiar with that.
<?php the_title(); ?>
milanoelectronics
Member
Posted 1 year ago #
Sorry, but which file do I need to edit in order to remove them from all the pages? I have single.php, page.php and style.css which I think could possibly be the ones with this sort of code in them.
milanoelectronics
Member
Posted 1 year ago #
Tried, could not get it to work. This is my code:
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"> <? php the_title(); ?> </h1>
Thank you for helping
<h1 class="entry-title"> <? php the_title(); ?> </h1>
milanoelectronics
Member
Posted 1 year ago #
Is this not the same as the code that I already have?
Sorry to keep posting, but I do not see how to do this.
remove this like of code in your code
<h1 class="entry-title"> <? php the_title(); ?> </h1>
milanoelectronics
Member
Posted 1 year ago #
Tried. Doesn't seem to work either
milanoelectronics
Member
Posted 1 year ago #
Is anybody able to help with this problem ?