Support » Plugin: Display Posts Shortcode » [Plugin: Display Posts Shortcode] Display Custom Field

  • Resolved dannynguyen

    (@dannynguyen)


    Hi,

    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 );

    from Github.

    Any help or solutions would be greatly appreciated.

    http://wordpress.org/extend/plugins/display-posts-shortcode/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Display Posts Shortcode] Display Custom Field’ is closed to new replies.