lawrencebrown
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Fixing WordPress
In reply to: Using custom fields to define the category ID queryI found a resolution:
<?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $newID = get_post_meta($post->ID, 'catID', true); $wp_query->query('cat='.$newID.'&showposts=10'.'&paged='.$paged); ?>So this allows you to put just the ID number of a cat into a custom field and it will create a loop for you in that custom page.
Forum: Fixing WordPress
In reply to: Loop looping twice, only inside pagesThanks for your reply Michael, I marked up /page.php with no luck, it still looped twice.
I tried once with just adding your code and another time with removing all of the loop from the /page.php and just leaving your new code
Both times it looped twice.
Forum: Fixing WordPress
In reply to: WP upgrade, tags broken, implode: bag arguments in taxonomy.phpTurns out it was a plug-in that needed updating. Remember if you are getting strange results to try your site without the plugins and manually check the plugin author site as they may have not pinged wordpress with the update!
Forum: Fixing WordPress
In reply to: WP upgrade, tags broken, implode: bag arguments in taxonomy.phpGave that a try, no luck with that one, cheers esmi
Viewing 4 replies - 1 through 4 (of 4 total)