Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter renoized

    (@renoized)

    This is a post about CSS stylesheet priorities, not the specific theme I’m using. I have linked it, yes, but only to show what should happen on my website under certain conditions.

    Forum: Plugins
    In reply to: Change date format
    Thread Starter renoized

    (@renoized)

    Solved it!

    For anyone who wants to know:
    Changed the input type for <label for=”tour_date_info_date”> to ‘date’ instead of ‘text’ in plugin file post-type-tour-date.php

    Added “$new_format_date = date(“jS M y”, strtotime($tour_date));” to loop-tour-home.php
    (this is where you change the date format to whatever you want it to be, look up php date formats for a full list)

    and then changed $tour_date to %new_format_date where I wanted it to display.

    Thread Starter renoized

    (@renoized)

    Solved!

    Changed the input type for the ‘tour date’ label to ‘date’ instead of text in post-type-tour-date.php

    Added “$new_format_date = date(” jS M y”, strtotime($tour_date));” to loop-tour-home.php

    and then changed $tour_date to %new_format_date where I wanted it to display.

Viewing 3 replies - 1 through 3 (of 3 total)