WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sentences on bottom of each articles (3 posts)

  1. diabolus
    Member
    Posted 6 years ago #

    Hi gurus, I have questions...

    I confuse about the way to put some words in my every post/article. So, i saw alot articles in so many wp blog that used sentences on the bottom of each articles, like below:

    This entry was posted on [day], [month] [date], [year] at [times] and is filed under [category]. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

    I've searched around the internet/google, including on this forum, but still can't get the answer. So please tell me the way !

    Thanks

  2. shadow
    Member
    Posted 6 years ago #

    To have the example you have shown, included at the bottom of your posts, paste the following code under the <?php the_content(); ?> call on your index.php and single.php files within your theme.

    ------------------
    This entry was posted on <?php the_time('F jS, Y') ?> and is filed under <?php the_category(', ') ?>. You can follow any responses through the <a href="http://your_site.com/feed">RSS 2.0 feed</a>. You can leave a response, or trackback from your own site.
    ------------------
    You can play around with the date and time structure as explained in the codex

  3. diabolus
    Member
    Posted 6 years ago #

    Shadow,

    thanks alot for your suggestion, i've implement it, but using code that i get from kubrick/default's single.php file

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.