Support » How-To and Troubleshooting » Moved site, now 'More Fields' custom fields don't work
5 years, 1 month ago
So I’ve moved a WP site from a development server to a live server using the following method:
Following this method, everything looks good; the site loads as it should, everything looks hunky-dory.
However, I’m using the More Fields plugin to add some extra fields/meta boxes so that each page can have a different image in the header for example.
When I try to insert the output from one of these meta boxes, it just displays the image id, rather than the full image url. Here’s the code in my page.php:
<img src="<?php $values = get_post_custom_values("panelimage"); echo $values; ?>" width="1038" height="337">
On the development server this outputs something like the following:
<img width="1038" height="337" src="http://dev.example.com/wp-content/uploads/2011/08/image.jpg">
But now I just get this:
<img width="1038" height="337" src="501">
Problem solved – it’s a More Fields plugin issue. I rolled back to the previous version (2.0.5) and it’s working again.