Forums

How to remove date and posted by and make content cover page (5 posts)

  1. thewyse
    Member
    Posted 5 months ago #

    ok im building a simple web-page for my job and having some issues and need some help. Now this may seem dumb but I use dreamweaver up until i lost the program so i made the choice to use wordpress and i am utterly confused i need to find out where the coding for the date and posted by can be removed and also make the content able to cover the entire page........then also how to make font larger and colored? please i need to have this finished by friday

  2. riversatile
    Member
    Posted 5 months ago #

    If I understand it, you want to remove the date/owner of each post ???

    Wordress works with themes.
    First you need to know which theme you're using :
    Go to "Appearance" and "Themes"

    Then, locate your theme's folder in your FTP :
    It should be something like that : http://your-server/wp-content/themes/{the-theme-folder}/

    Then, download and edit the index.php (root of the theme folder) file.
    You should see something like that :
    <span class="date">Posté le <?php the_time('j F Y') ?></span>
    This is the type of Meta-data you want to remove.
    It's the same for "posted by" Meta-data.

    Then, save the index.php file and upload it to your server, and refresh the home page.

  3. thewyse
    Member
    Posted 5 months ago #

    yes thats what i want to do but that coding is not in the index i have combed through index.php so many times and its not there im using twenty ten theme so i need to find out how to get rid of the date and posted by............. also i need to know how to make font larger and colored

  4. thewyse
    Member
    Posted 5 months ago #

    this what my index looks like

    [Code moderated as per the Forum Rules. Please use the pastebin]

  5. riversatile
    Member
    Posted 5 months ago #

    OK !!!
    I never use Twenty Ten theme !
    Absolutely, index.php doesn't contains the body content, it contains only template calls !
    start with the first point : Remove "posted by..." META

    From what I saw in this theme, you have to edit these 2 loop files :

    • loop.php
    • loop-single.php

    But do not edit the files loop-page.php and loop-attachment.php

    In each loop file, you have to remove the lines for "Posted on" :

    <div class="entry-meta">
    	<?php twentyten_posted_on(); ?>
    </div><!-- .entry-meta -->

    I advise you to hide them instead of remove them !
    You can hide them by adding <!-- thewyse has disabled this line/field at start and --> at the end, like that :

    <!-- thewyse has disabled this line/field
    <div class="entry-meta">
    	<?php twentyten_posted_on(); ?>
    </div><!-- .entry-meta -->
    -->

    Do the same for the "Posted by" (Author info)

    [code moderated - please follow the forum rules for posting code, and use the pastebin]

    Then, update these 2 loop files in your server, and refresh the home page !

    Regards

Reply

You must log in to post.

About this Topic