Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #587685

    Hello

    I need to create a new template for blog posts. I am using blog posts for news updates, which works fine. But I am also using them for events. I am differentiating them using categories. However on the blog-list page which shows event category posts, each post displays the post date. I need it to display the event date, which I am entering in the post as a custom field. (This is working in the sidebar widget using a plugin.)

    Website is http://www.middlesexrugby.com

    1. Where do I find the current blog-list template page
    2. Can I edit it and save it with a new name?
    3. How do I attach that new template to posts with the category ‘events’
    4. Most importantly – which bit of the code in the template do I need to edit to change post date to event date?

    Thank you
    Lonsdale

    #588963

    Hi!

    The blog template consists of two files:

    • index.php
    • includes/loop-index.php

    You can include a copy of both in your child theme and modify them there.

    Cheers!
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.