I’ve copied the Further Customization for Adding Custom Fields from the code on Github, and pasted into my function.php file, but I am getting this error.
Parse error: syntax error, unexpected ‘;’
On the line that would state
$location = esc_attr( get_post_meta( $post->ID, 'location', true );
Any help or solutions would be greatly appreciated.
- The topic ‘[Plugin: Display Posts Shortcode] Display Custom Field’ is closed to new replies.