Help, Support & Customization for
Custom Field Images
Call now: 720-288-0398
Using WordPress HelpCenter for help with Custom Field Images supports scribu (the plugin developer).
You can use the WordPress plugin installer, or do it manually:
You can add <?php custom_field_image() ?> inside The Loop in the theme files where you want them to appear. Be sure to check the settings so as not to have duplicate images.
For example, if you want them to appear only when viewing posts by category, add the above function to category.php in your theme directory and uncheck "Display in: content and/or excerpt" from the settings page.
You can also add [cfi] where you want the image to appear in the post content (not excerpt). By default, it is inserted at the beginning.
There is also an additional template tag, called get_custom_field_image() which you can use to display the images however you want. See template-tags.php in the plugin directory for more details.
Make sure your host is running PHP 5. Add this line to wp-config.php to check:
var_dump(PHP_VERSION);
Probably because you used the template tag and forgot to uncheck the content, excerpt or feed checkboxes from the Settings page.
This is due to your theme's CSS. Check if you have something like this in style.css:
img.alignleft {float:left; margin: 0 1em .5em 0}
img.alignright {float:right; margin: 0 0 .5em 1em}
img.aligncenter {display:block; margin: 0 auto .5em auto}
You can add <?php cfi_loop($query) ?> directly to your theme files. $query is an optional parameter, which acts as a query string.
Just clear the URL field and save the post.
Using WordPress HelpCenter for help with Custom Field Images supports scribu (the plugin developer).