Forum Replies Created

Viewing 15 replies - 1 through 15 (of 57 total)
  • Thread Starter ozpoker

    (@ozpoker)

    It’s not elegant but this was my solution based on titles with todays date:

    <?php date_default_timezone_set('Australia/Melbourne');
    	$today = date ("l jS F Y");
    	$today1 = date ("l jS F Y") . "-1";
    	$today2 = date ("l jS F Y") . "-2";
    	$today3 = date ("l jS F Y") . "-3";
    	$today4 = date ("l jS F Y") . "-4";
    	$today5 = date ("l jS F Y") . "-5";
    	$today6 = date ("l jS F Y") . "-6";
    	$today7 = date ("l jS F Y") . "-7";
    	$today8 = date ("l jS F Y") . "-8";
    	$today9 = date ("l jS F Y") . "-9";
    	$today10 = date ("l jS F Y") . "-10";
    	$today11 = date ("l jS F Y") . "-11";
    ?>
    
    				<h2><center>Todays Events - <?php echo $today ;?></center></h2>
    <br/>
    				<?php $daysracing = new WP_Query("name=$today&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today1&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today2&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today3&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today4&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today5&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today6&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today7&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today8&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today9&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today10&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    				<?php $daysracing = new WP_Query("name=$today11&posts_per_page=-1"); while($daysracing->have_posts()) : $daysracing->the_post();
    				$category = get_the_category(); ?>
    				<ul><li><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $category[0]->name; ?> for <?php the_title(); ?></a></li></ul>
    				<div style="clear:both;"></div>
    				<?php endwhile; ?>
    Thread Starter ozpoker

    (@ozpoker)

    Anyone?

    +1 this – would like to be able to bulk resend and bulk delete – have 3000 unconfirmed on the list

    Very nice plugin and this addition would make it awesome

    I think you need to make sure you update permalinks after each change you make.

    Thx Kadiko

    I was able to rectivate simple tags by doing that.

    I can definitely confirm simple tags plugin alone was causing the issue on one site

    Okay I have tested a different site as well and I can confirm that both simple tags plugin and advanced permalinks plugins both cause this issue.

    Deactivating both of them and updating permalinks solved the problem on that site.

    Exactly same error on another site too – running diff. theme and plugins

    It is not a plugin as the rss feed is borked up too

    It is supposed to just take posts from this category
    http://www.australianracinggreyhound.com/category/australian-greyhound-racing

    but is taking them from all categories
    http://www.australianracinggreyhound.com/category/australian-greyhound-racing/feed

    Actually it looks like /tags/ are working but the /category/ defintiely aren’t and turning off the admin bar and updating permalinks hasn’t fixed it.

    Happened to me too

    All /category/ links are defaulting to the home page

    As are all /tags/

    http://www.australianracinggreyhound.com/category/greyhound-racing-tips/

    Same thign happened to me.

    All /category/ links are defaulting to the home page as are /tags/

    Thread Starter ozpoker

    (@ozpoker)

    don’t worry – I’ve hard coded the images to force the cdn to load them.

    still not sure why it wasn’t picking them up anyway

    Thread Starter ozpoker

    (@ozpoker)

    Thread Starter ozpoker

    (@ozpoker)

    solved it myself by adding

    'paged' => $paged,
    'posts_per_page' => 20,

    to the $customtypeargs array

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