WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Changing the Main Page (7 posts)

  1. Rozalind
    Member
    Posted 8 years ago #

    Hi. I'm new to WordPress and would like to adjust the text at the very bottom of the front page.

    Where it says:

    Filed in Uncategorized | Comments (2) | Permalink | Edit

    I would like to adjust the text on this line to read,
    instead of "Comments",
    I would like it to read -
    "Read or Post Comments"

    How can I do this?
    Thank you in advance for your help.

    Roz

  2. MichaelH
    Member
    Posted 8 years ago #

    Take a look at your theme's index.php file. That will be in wp-content/themes folder.

    ********************
    Welcome to the WordPress Support Forums!

    Please help keep the Forums successful by reading:
    Using the Support Forums

    Also, remember the WordPress Codex and the FAQ pages.

    And, thank you, for letting us know if this information proves useful (or not)!
    ********************

  3. Rozalind
    Member
    Posted 8 years ago #

    Thanks Michael,
    I'll check it out and let you know how it goes.
    Roz

  4. Rozalind
    Member
    Posted 8 years ago #

    I am using the veryplaintxt theme, and it is working great.

    However, the index.php file in the theme folder just had the following few words (below) in it. Nothing that seemed to relate to what I am looking for. This is ALL that was in the file:

    (Continued)'); ?>
    Pages: ', '', 'number'); ?>
    Filed in
    |
    Permalink

    Question: Where can I find the file that has the following words in it (that appear at the bottom of every new WordPress Blog Home Page? These are the words-

    "Filed in Uncategorized | Comments (2) | Permalink | Edit"

    Thanks again!
    Roz

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 8 years ago #

    Rozalind: I downloaded the veryplaintxt theme and had a look at it. You were looking in the right place, the file you need to edit is index.php. Open it in a text editor like notepad.

    Look for this line:
    <?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)'); ?>

    Change it to this:
    <?php comments_popup_link('Read or Post Comments (0)', 'Read or Post Comments (1)', 'Read or Post Comments (%)'); ?>

  6. Rozalind
    Member
    Posted 8 years ago #

    Hi Otto!
    Thank you so much! It worked. And thank you Michael, too! The problem was that when I went into my server, and clicked on the file... I used a "Show File" option.

    I didn't realize that when I click "Edit File" an entirely different page appears. Apparently the "Show File" is some sort of synopsis of the "Edit File". I'm learning!
    Thanks again!

    Otto, I have one more question, if I may :)

    Now that I've done this, that line is broken (because there is a side column, and all four links
    "Filed in Uncategorized | Comments (2) | Permalink | Edit"
    don't fit on the one line. So it now looks like this:

    "Filed in Uncategorized | Read or Post Comments (2) |
    Permalink | Edit "

    What I'd like to do is have the "Read or Post Comments (2) all by itself on the top line, and
    "Filed in Uncategorized | Permalink" on the line immediately below.

    I looked at the index.php to see if I could figure it out, but it's beyond me! :) Thanks again for your help!
    Roz

  7. Rozalind
    Member
    Posted 8 years ago #

    Well, I couldn't resist. I went to the index.php page and looked at it some more. Figured it out !! :)

    I moved the piece of code:

    <?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)'); ?>

    up a few lines to just after the <h4>
    deleted a |
    and put in a </br> outside of the php tags

    and it all seems to look and work beautifully!

    Thank you all!
    Roz

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags