This information is not on our Featured Image instructions page because it will change again as soon as our next update (Blogsy 4.0) comes out in the App Store in a week or so.
If you have updated your blog to WordPress 3.4 and want to change the files so you can use the featured image functionality these are the instructions. (If you are not using WordPress 3.4 yet then follow the instructions on our normal instructions page. - http://blogsyapp.com/featured_image/)
The following are the steps you need to follow so you can set the featured image for a post using Blogsy if you are running WordPress 3.4.
1. You need a FTP program to do this. There are many free FTP programs out there.
2. Use the FTP program to get onto your server. You need to find the following files.
- class-wp-xmlrpc-server.php
- meta.php
They will be in the wp-includes directory.
So the directory to the files should be something like the following – YourWordPressFolder/wp-includes.
3. Download a copy of both of those files to your computer.
4. Make backup copies of those files before you make any changes to them.
5. Open the class-wp-xmlrpc-server.php file with a basic text editor (TextEdit on Mac, NotePad on Windows) or a program designed to edit php files.
6. Find the following portion of code in that file.
$_media_item = array(
'attachment_id' => strval( $media_item->ID ),
'date_created_gmt' => $this->_convert_date_gmt( $media_item->post_date_gmt, $media_item->post_date ),
'parent' => $media_item->post_parent,
'link' => wp_get_attachment_url( $media_item->ID ),
'title' => $media_item->post_title,
'caption' => $media_item->post_excerpt,
'description' => $media_item->post_content,
'metadata' => wp_get_attachment_metadata( $media_item->ID ),
);
Change it to the following. Be very careful as even one missing comma can cause a problem.
$_media_item = array(
'id' => strval( $media_item->ID ),
'date_created_gmt' => $this->_convert_date_gmt( $media_item->post_date_gmt, $media_item->post_date ),
'parent' => $media_item->post_parent,
'link' => wp_get_attachment_url( $media_item->ID ),
'title' => $media_item->post_title,
'caption' => $media_item->post_excerpt,
'description' => $media_item->post_content,
'metadata' => wp_get_attachment_metadata( $media_item->ID ),
);
7. Save the file.
8. Open the meta.php file with a basic text editor.
9. Find the following lines of code.
function is_protected_meta( $meta_key, $meta_type = null ) {
$protected = ( '_' == $meta_key[0] );
return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type );
}
Change the code to the following.
function is_protected_meta( $meta_key, $meta_type = null ) {
if($meta_key == '_thumbnail_id') {
$protected=false; }
else{ $protected = ( '_' == $meta_key[0] );
}
return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type );
}
10. Save the file.
11. Use the FTP program to upload and replace the files on your server. The file names have to be the same as the original files you downloaded.
We have tested this with that latest version of WordPress (Version 3.4) and Foghorn 0.3 by Devin Price. If you are having trouble getting it to work recheck your file changes and also test with WordPress 3.4 using the Foghorn 0.3 theme.
Now you can set the Featured Image for you blog with Blogsy. Enjoy!