WordPress.org

Ready to get started?Download WordPress

Forums

Polaroids
How to change post title to post content, under the image? (6 posts)

  1. nimitjain
    Member
    Posted 1 year ago #

    Hi,

    On home page under the images, I want to show post content instead of post title. How do I do that?

    Thanks and regards,
    Nimit

  2. hotwebideas
    Member
    Posted 1 year ago #

    Nimit, depending on your theme, go into your header.php file and edit it. Remove the function bloginfo('name'). just delete that code.

    Then, in the same place in your header.php file, add a wordpress loop with WP_QUERY() or get_posts(), whichever you prefer and add your arguments. If you need more help creating the loops, search for this information in the WordPress codex function library.

    Bruce

  3. nimitjain
    Member
    Posted 1 year ago #

    Thanks Bruce. Let me try this.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Before you edit any theme template files, you should check to see whether you need to create a child theme fro your customisations first.

  5. hotwebideas
    Member
    Posted 1 year ago #

    Yes, Esmi is right. Maybe creating a simple child theme would be better and leaving the original theme intact would be a better solution.

    Bruce

  6. nimitjain
    Member
    Posted 1 year ago #

    Thanks Esmi and Bruce. :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.