Support » Fixing WordPress » I need help changing the date format

  • Hi

    I am using the theme Manifest and I’m having trouble changing the date format. I want it to be 22/06/2013. I’ve read on the forums that you change the code into <?php the_time(‘d/m/Y’) ?>, but I think the code in this theme is more complicated than that. I’ve also changed the format in general settings, but that doesn’t work. Please help me! Here is the code for the single.php:

    <?php get_header(); ?>
    <div id="coreContent">
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
          <div class="post single hentry">
            <div class="postContent">
              <h3 class="entry-title"><?php the_title(); ?></h3>
              <h4 class="vcard author">by <span class="fn"><?php the_author(); ?></span></h4>
              <div class="entry-content">
                  <?php the_content(); ?>
            <div class="postMeta">
              $arc_year = get_the_time('Y');
              $arc_month = get_the_time('m');
              $arc_day = get_the_time('d');
              <div class="postDate"><span>Published:</span> <abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><a href="<?php echo get_day_link("$arc_year", "$arc_month",
              "$arc_day"); ?>"><?php the_time('F j,Y'); ?></abbr></div>
            	<div class="categories"><span>Filed Under:</span> <?php the_category(', '); ?></div>
            	<?php the_tags('<span>Tags:</span> ', ' : ', ''); ?>
          <div class="googleAd">
            <!-- You Ad Code Here -->
    	<?php comments_template(); ?>
      <div class="pageNav">
        <div class="prev"><?php previous_post_link('%link', '« Previous Post'); ?></div>
        <div class="next"><?php next_post_link('%link', 'Next Post »') ?></div>
    	<?php endwhile; else: ?>
    		<p>Sorry, no posts matched your criteria.</p>
    <?php endif; ?>
    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘I need help changing the date format’ is closed to new replies.