Carrie Dils
Forum Replies Created
-
Forum: Plugins
In reply to: [hRecipe] [Plugin: hRecipe] Hook into plugin?Ah, good thought! Thank you!
Forum: Plugins
In reply to: [hRecipe] [Plugin: hRecipe] Hook into plugin?Hi Dave,
Thanks for the superquick reply. I think I know how to manage it from WP Print’s side. The question is how to determine “when” in the post loop hRecipe is done doing it’s thing.Thanks,
CarriePerfect! Thank you!
I’m having the same issue as Mack28 with IE8. Wish I didn’t have to cater to that browser, but alas…
Otherwise, great plugin!
Forum: Fixing WordPress
In reply to: Trouble using get_post_meta to return custom fieldOkay, I ended up taking a different tack. I’ll post it here in case it helps somebody else.
Instead of using get_post_meta, I went with a combo of get_post_custom and array_key_exists.
function getimageURL($thePostID) { $custom_fields = get_post_custom($thePostID); if (has_post_thumbnail($thePostID)){ $image_array = wp_get_attachment_image_src( get_post_thumbnail_id($thePostID ), 'single-post-thumbnail' ); $image = $image_array[0]; } elseif (is_single($thePostID) && !is_null(get_post_meta($thePostID, 'previewphoto', true))) { $image = get_post_meta($thePostID, 'previewphoto', true); } elseif (is_archive() && !is_null(array_key_exists("previewphoto",$custom_fields))) { $image = $custom_fields['previewphoto'][0]; } else { $image = get_bloginfo('stylesheet_directory')."/images/categories/noimage.jpg"; } return $image; }
This may not be elegant at all, but it finally works, so I’m happy. ??
Forum: Fixing WordPress
In reply to: Trouble using get_post_meta to return custom fieldp.s. Sorry for the random html markup in the code snippet. I know that’s not where the problem is. ??
Forum: Plugins
In reply to: [Taxonomy Images] Displaying on the home page or in WidgetsI am also looking for a way to utilize the plugin outside the loop (in my case to call a single category image in a widget).
Could you go into a little more detail on the filter suggested above (similar to get_terms)? I’m trying to follow along with the logic, but my php is still in learning curve mode.
Many thanks!
Forum: Installing WordPress
In reply to: WordPress Multisite with Subdomains using XAMPPThanks govpatel! After more digging around I realized that. I’m going to plan B, which is developing in a hosted environment. I know WP has a few recommended hosts. Wondering if you have a personal recommendation for hosting a Multisite?
Forum: Installing WordPress
In reply to: WordPress Multisite with Subdomains using XAMPPI am also trying to setup a local development environment on Windows. I’ve got Bitnami setup with a single site installation, but would like to have a multisite with subdomains installed locally, too. Interested to see any responses to this thread!