WordPress.org

Ready to get started?Download WordPress

Forums

Add Update page to another page (2 posts)

  1. embar
    Member
    Posted 1 year ago #

    hi,

    i have 2 pages , and i want make every day update only from 1 page, but the other page will get results from my update (add line / add row and column for my update)

    example :

    in First page : today show = Batman
    and other page will show Oct, 17 = Batman
    and for tomorrow i will do the same, just replace today show with superman
    than the 2nd page will be:
    Oct, 17 = Batman
    Oct, 18 = Superman

    is there plugin or hack or anything..

    thanks for replying

  2. Scott Fennell
    Member
    Posted 1 year ago #

    It sounds to me like you're doing a movie listings site or something? And you have two pages that you keep editing, "today" and "tomorrow"?

    My suggestion would be to establish a custom post type for movies, where you store all the info about each movie. One of the custom fields for each movie should be a repeatable field that stores as many show times as appropriate:

    http://wp.tutsplus.com/tutorials/reusable-custom-meta-boxes-part-3-extra-fields/

    Then make to custom page templates, one for "today", and one for "tomorrow", each set to call movies that have showtimes on the appropriate date, and of course use a dynamic php value to determine what the date is today and tomorrow.

    At that point, the only maintenance you would have to do, is to the movies themselves.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.