WordPress.org

Ready to get started?Download WordPress

Forums

Can photomatts cardinal endings be used in my-hack (7 posts)

  1. FionaGilbert
    Member
    Posted 10 years ago #

    Hi,
    I would really like to use Photomatt's Cardinal endings in WP 1.01 and wondered if anyone know how to incorporate this into my-hacks.
    If this is not possible how do i actually use it in WP?
    Here is the link: http://photomatt.net/scripts/nthnum
    Thanks
    Fiona

  2. Nick Momrik
    Member
    Posted 10 years ago #

    I guess it depends on how you want to use them. Do you want it for your dates on posts?

  3. FionaGilbert
    Member
    Posted 10 years ago #

    Hi there,
    Yes I do :)

  4. FionaGilbert
    Member
    Posted 10 years ago #

    That is great. Call me Ms. Picky but I like the cardinal endings :)
    The code above - can I straighten it out or does it have to be implemented as above with the breaks?
    Thanks
    Fiona

  5. Nick Momrik
    Member
    Posted 10 years ago #

    It has to be inside the <?php and ?> but you can move it all on one line if you like. I just posted it like that for readability.

  6. MathiasBynens
    Member
    Posted 10 years ago #

    Thanks, MtDewVirus!

  7. MathiasBynens
    Member
    Posted 9 years ago #

    Why not just use the PHP format character S? Like this:
    <?php the_time("F jS, Y @ g:i A"); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.