ozpoker
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Display all posts with the same titleIt’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; ?>Forum: Fixing WordPress
In reply to: Display all posts with the same titleAnyone?
Forum: Plugins
In reply to: [Unconfirmed] [Plugin: Unconfirmed] Please add bulk options+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
Forum: Fixing WordPress
In reply to: Category Permalinks after 3.1 Upgrade Not WorkingI think you need to make sure you update permalinks after each change you make.
Forum: Fixing WordPress
In reply to: Category Permalinks after 3.1 Upgrade Not WorkingThx Kadiko
I was able to rectivate simple tags by doing that.
Forum: Fixing WordPress
In reply to: Category Permalinks after 3.1 Upgrade Not WorkingI can definitely confirm simple tags plugin alone was causing the issue on one site
Forum: Fixing WordPress
In reply to: Category Permalinks after 3.1 Upgrade Not WorkingOkay 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.
Forum: Fixing WordPress
In reply to: Category Permalinks after 3.1 Upgrade Not WorkingExactly same error on another site too – running diff. theme and plugins
Forum: Fixing WordPress
In reply to: Category Permalinks after 3.1 Upgrade Not WorkingIt 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-racingbut is taking them from all categories
http://www.australianracinggreyhound.com/category/australian-greyhound-racing/feedForum: Fixing WordPress
In reply to: Category Permalinks after 3.1 Upgrade Not WorkingActually 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.
Forum: Fixing WordPress
In reply to: Category Permalinks after 3.1 Upgrade Not WorkingHappened to me too
All /category/ links are defaulting to the home page
As are all /tags/
http://www.australianracinggreyhound.com/category/greyhound-racing-tips/
Forum: Fixing WordPress
In reply to: Category Permalinks after 3.1 Upgrade Not WorkingSame thign happened to me.
All /category/ links are defaulting to the home page as are /tags/
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] Why aren't the images being served from the cdn?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
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] Why aren't the images being served from the cdn?sorry – site is http://www.australianracinggreyhound.com/
Forum: Fixing WordPress
In reply to: sort custom taxonomy archivesolved it myself by adding
'paged' => $paged, 'posts_per_page' => 20,to the $customtypeargs array