andyy
Forum Replies Created
-
Sorry, it turns out it was a memory problem that was resolved by changing from fastphp to regular old php.
So not actually a problem with the slimstat plugin but a problem with something else that only became apparent with this version of the plugin.
Forum: Fixing WordPress
In reply to: Custom Post Type gets wrong Custom Taxonomy Term IDs [Bug?]Hi, I think I’m finding exactly the same issue.
This error only occurs front end for example here: ‘taxonomy-custom_category.php’
The first taxonomy categories I added all work fine, each lists the posts allocated to it. Those original taxonomy categories had ID’s ranging from 4 > 12.
I only get the error with taxonomy categories added later with ID’s 41 & 42. Taxonomy with ID 41 shows ID 42’s posts, and ID 42 shows none.In the back-end admin area everything looks normal, custom post types can be added successfully to all custom taxonomy categories.
Was there any resolution to this?
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] cropped instead of shrunk to fitAh that’s what I thought must have happened. I’ll just upload the images at the correct size.
Great plug-in by the way, nice clear interface design.Thanks for such a quick reply Michael, that sounds fair enough. I think a way of showing current post position in the list would be a handy option but I understand if it’s not such a quick thing to do.
Hopefully a few other people like the idea of that feature, it would be nice to see it in a future version 🙂 AndyForum: Plugins
In reply to: wp_list_categories link to first post of categoryI don’t have an answer for you but this is exactly what I’ve been trying to find out how to do too.
Is it possible, or is there another way around it?
After thinking about it, I realised this is nothing to do with this plugin. I found a way to sort the category array by its description field, so I can now give that field a number to define its category order.
function sortStdArray($cats,$index){ $sort=array(); $return=array(); for ($i=0; isset($cats[$i]); $i++) $sort[$i]= $cats[$i]->{$index}; natcasesort($sort); foreach($sort as $k=>$v) $return[]=$cats[$k]; return $return; } $cats = sortStdArray($cats,"description");Forum: Plugins
In reply to: [Taxonomy Images] [Plugin: Taxonomy Images BETA] Return only the image url?How can I get the ‘medium image url’ to set the background image style for the div as per the example below?
$cats = get_categories('taxonomy=my_taxonomy_category'); foreach ( $cats as $c ) { $url = get_category_link( $c->term_id ); echo '<div class="painting-category" id="' . $c->name . '" style="background-image:url(' . medium image url . ');">'."\n"; echo '<h2>name . '" >'.$c->name.'</h2>'; $img = $taxonomy_images_plugin->get_image_html( 'thumbnail', $c->term_taxonomy_id ); if( !empty( $img ) ) print '' . $img . '';/**/ echo '</div>'."\n"; }