When I install Lobot, then add it to a page of my choice, it empties out my custom fields. Even after I re-entered the information, each page update dumps the fields.
I’m calling in two custom fields, an example is below:
<?php
$key = 'right_sidebar';
$themeta = get_post_meta($post->ID, $key, TRUE);
if($themeta != '') {
echo apply_filters('the_content', get_post_meta($post->ID, 'right_sidebar', true));
}
?>
I’m using apply_filters so that the custom fields can use short code for a gallery plugin.
Any help would be greatly appreciated!
]]>Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘}’ in /wp-content/plugins/lobot-slider-administrator/slider_admin.php on line 112