WordPress.org

Ready to get started?Download WordPress

Forums

Portofolio Press Page Titles (12 posts)

  1. milanoelectronics
    Member
    Posted 2 years 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

  2. Jay
    Member
    Posted 2 years ago #

    Are you trying to remove the word "Home"?

  3. milanoelectronics
    Member
    Posted 2 years 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

  4. Jay
    Member
    Posted 2 years ago #

    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(); ?>

  5. milanoelectronics
    Member
    Posted 2 years 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.

  6. Jay
    Member
    Posted 2 years ago #

    page.php

  7. milanoelectronics
    Member
    Posted 2 years 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

  8. Jay
    Member
    Posted 2 years ago #

    <h1 class="entry-title"> <? php the_title(); ?> </h1>

  9. milanoelectronics
    Member
    Posted 2 years 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.

  10. Jay
    Member
    Posted 2 years ago #

    remove this like of code in your code
    <h1 class="entry-title"> <? php the_title(); ?> </h1>

  11. milanoelectronics
    Member
    Posted 2 years ago #

    Tried. Doesn't seem to work either

  12. milanoelectronics
    Member
    Posted 2 years ago #

    Is anybody able to help with this problem ?

Topic Closed

This topic has been closed to new replies.

About this Topic