How to Remove Date and Author on Pages

This topic contains 5 replies, has 3 voices, and was last updated by  Stiofan O’Connor 10 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #2352

    directory
    Expired Member
    Post count: 1502

    Hi,

    How can I remove the author and date on pages? I also like to adjust the space between the page title and the main content. How can I do it?

    I also need to know how to match Blog, Listing Categories, Popular Locations font at the footer. If you look at Blog, it’s in bold letters.

    Thank you in advance.

    #2353

    directory
    Expired Member
    Post count: 1502
    This reply has been marked as private.
    #2355

    Guust
    Moderator
    Post count: 29970

    I had the same problem, so I created a child theme, http://codex.wordpress.org/Child_Themes

    Then create a copy of /wp-content/themes/GeoDirectory Framework/page.php in /wp-content/themes/My-Child-Theme/

    Activate your child theme the usual way in WP admin

    Then go to appearance > eiditor > and edit /wp-content/themes/My-Child-Theme/page.php: remove this line:

    <p class=”byline vcard”> <?php printf( __( ‘Posted <time class=”updated” datetime=”%1$s” >%2$s</time> by <span class=”author”>%3$s</span>’, GEODIRECTORY_FRAMEWORK ), get_the_time(‘c’), get_the_time(get_option(‘date_format’)), get_the_author_link( get_the_author_meta( ‘ID’ ) )); ?> </p>

    #2356

    Guust
    Moderator
    Post count: 29970

    To change the spacings you have to play with your CSS, just add something like this to /wp-content/themes/My-Child-Theme/style.css

    .hentry header {
    padding: 5px;
    }

    http://www.w3schools.com/css/css_padding.asp

    I’ve done a similar thing at http://www.bookhinterland.com.au/about/

    #2359

    directory
    Expired Member
    Post count: 1502

    Thank you, Guust. I was hoping for an easier way. The footer menu and links need proper styling too.

    Here’s my site:
    http://maidclassifieds.com

    Perhaps the developers can fix these minor issues on the next release. Maybe the upcoming child themes will take care of these.

    #3637

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have removed the date from pages and it will be in the next release, i have left it for blog posts though.

    Thanks,

    Stiofan

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount