WordPress.org

Ready to get started?Download WordPress

Forums

How to change the Date-Author line? (7 posts)

  1. mattmattmatt
    Member
    Posted 3 years ago #

    so I am trying to change in my theme this:

    February 14, 2011 | Author mattmattmatt

    into this:

    February 14, 2011, by mattmattmatt

    Sorry for this basic question but I cannot find how to do it. Please help. I know how to open the template files in a text editor but no idea what to look for...

    Matt

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try looking through your theme template file for the_date or the_time alongside the_author.

  3. mattmattmatt
    Member
    Posted 3 years ago #

    Thank you for your response.

    I searched for these words in the entire template folder within the files but "Search is complete. There are no results to display"...

    I still do not know how to remove the "|" and change "Author" to "by".

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    The template tags I mentioned above are commonly used to generate the text you described.

  5. mattmattmatt
    Member
    Posted 3 years ago #

    ok, in the config.ini file I found this:

    separator = " | ";
    header = "date,author,edit";
    header = "date,author,edit";
    footer = "category,tag,comments";
    date = "";
    author = "";

    so by changing " | " to " " I got rid of one problem.
    I also changed author ="by";

    Now it says:
    February 14, 2011 byAuthor

    almost good!

    How do I remove the Author ?

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    I'd suggest contacting the theme's developer.

  7. mattmattmatt
    Member
    Posted 3 years ago #

    ok, thanks...

Topic Closed

This topic has been closed to new replies.

About this Topic