• Hey Guys,

    On my Blog Posts Page my latest post will always have the date 30/11/-0001 9all the rest are correct) and whenever I select any blog post to view the date will show 30/11/-0001.

    Site is http://www.girlfriendfunnel.com if you want to have a look.

    Has this happened to anyone else and does anyone know of a solution? 🙂

    Thanks
    Dave

Viewing 15 replies - 1 through 15 (of 33 total)
  • did you fix this because i cannot find any link like this.If you did you can mark the thread as resolved, if not you can post how we can see the problem.

    Thread Starter davegf

    (@davegf)

    Nope not fixed yet…

    Can you see the first post “3 REASONS A NORMAL GUY CANNOT GET A GIRLFRIEND” has a date of 30/11/-0001?

    sorry was looking at the wrong place,

    so you can check your plugins (disable them)
    and your post’s published date
    and your date format wordpress>settings>general

    Thread Starter davegf

    (@davegf)

    I deactivated plugins and no change
    Post published date: Published on: 1 Jul 2015 @ 17:35
    Date format: 01/07/2015

    Any other ideas? 😉

    firebug (at least mine) complaints about this code

    <script type='text/javascript'>var _mmunch = {'front': false, 'page': false, 'post': false, 'category': false, 'author': false, 'search': false, 'attachment': false, 'tag': false};_mmunch['post'] = true; _mmunch['postData'] = {"ID":365,"post_name":"3-reasons-a-normal-guy-cannot-get-a-girlfriend","post_title":"3 Reasons A Normal Guy Cannot Get A Girlfriend","post_type":"post","post_author":"1","post_status":"publish"}; _mmunch['postCategories'] = [{"term_id":8,"name":"Purpose","slug":"purpose","term_group":0,"term_taxonomy_id":8,"taxonomy":"category","description":"","parent":0,"count":3,"object_id":365,"filter":"raw","cat_ID":8,"category_count":3,"category_description":"","cat_name":"Purpose","category_nicename":"purpose","category_parent":0},{"term_id":3,"name":"Relationships","slug":"relationships","term_group":0,"term_taxonomy_id":3,"taxonomy":"category","description":"","parent":0,"count":2,"object_id":365,"filter":"raw","cat_ID":3,"category_count":2,"category_description":"","cat_name":"Relationships","category_nicename":"relationships","category_parent":0},{"term_id":7,"name":"The Girlfriend Funnel","slug":"the-girlfriend-funnel","term_group":0,"term_taxonomy_id":7,"taxonomy":"category","description":"","parent":0,"count":3,"object_id":365,"filter":"raw","cat_ID":7,"category_count":3,"category_description":"","cat_name":"The Girlfriend Funnel","category_nicename":"the-girlfriend-funnel","category_parent":0}]; _mmunch['postTags'] = false; _mmunch['postAuthor'] = {"name":"Dave Smith","ID":1};</script><script data-cfasync="false" src="//s3.amazonaws.com/mailmunch/static/site.js" id="mailmunch-script" data-mailmunch-site-id="60064" async></script>

    specifically for the site.js with a date error, do you know where this comes from?

    I am wondering whether this is theme related as the post date is sometimes displayed corrected. Are you using a child theme? If so van you please activate the parent theme and tell us what happens?

    Sorry about the typos.
    “I am wondering whether this is theme related as the post date is sometimes displayed correctly. Are you using a child theme? If so can you please activate the parent theme and tell us what happens?

    Thread Starter davegf

    (@davegf)

    Theme is “Fashionista’s” and pretty sure it is the parent and there is no option to select a child

    Thread Starter davegf

    (@davegf)

    @dim, I assume that code is from the MailMunch plugin as “mmunch” is mentioned, I have disabled that plugin now

    i think the problem is somewhere in your single.php file if there is one, all your posts when opened have this invalid address so…

    Thread Starter davegf

    (@davegf)

    Ok yes I have a single.php, here it is:

    <?php
    /**
     * The Template for displaying all single posts.
     *
     * @package aThemes
     */
    
    get_header();
    ?>
    
    	<div id="primary" class="content-area">
    		<div id="content" class="site-content" role="main">
    
    		<?php while ( have_posts() ) : the_post(); ?>
    
    			<?php get_template_part( 'content', 'single' ); ?>
    
    			<?php if ( get_theme_mod( 'author_bio' ) != 1 ) : ?>
    				<div class="clearfix author-info">
    					<div class="author-photo"><?php echo get_avatar( get_the_author_meta( 'ID' ) , 75 ); ?></div>
    					<div class="author-content">
    						<h3><?php the_author(); ?></h3>
    						<p><?php the_author_meta( 'description' ); ?></p>
    						<div class="author-links">
    							<a>" rel="me">More Posts</a>
    
    							<?php if ( get_the_author_meta( 'twitter' ) ) : ?>
    							<a>">Twitter</a>
    							<?php endif; ?>
    
    							<?php if ( get_the_author_meta( 'facebook' ) ) : ?>
    							<a>">Facebook</a>
    							<?php endif; ?>
    
    							<?php if ( get_the_author_meta( 'linkedin' ) ) : ?>
    							<a>">LinkedIn</a>
    							<?php endif; ?>
    						</div>
    					</div>
    				<!-- .author-info --></div>
    			<?php endif; ?>
    
    			<?php athemes_content_nav( 'nav-below' ); ?>
    
    			<?php
    				// If comments are open or we have at least one comment, load up the comment template
    				if ( comments_open() || '0' != get_comments_number() )
    					comments_template();
    			?>
    
    		<?php endwhile; // end of the loop. ?>
    
    		</div><!-- #content -->
    	</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Can you see anything that can be changed? Sorry, I don’t know PHP 🙁

    Someone who had a similar problem, solved it by disabling ALL plugins from the admin pages and then re-activating them ONE AT A TIME.

    The problem appears also on both the archive page and the home page. Those do not use single.php

    Thread Starter davegf

    (@davegf)

    Ok, I have disabled all plugins but still no fix 🙁

    does the problem continue if you temporarily switch to the default theme Twenty Fifteen, and deactivate all plugins?

    if not, please post in your theme’s forum at https://wordpress.org/support/theme/fashionistas#postform

Viewing 15 replies - 1 through 15 (of 33 total)

The topic ‘Broken Post Dates’ is closed to new replies.