{"action":"created","issue":{"url":"https://api.github.com/repos/swissspidy/oEmbed-API/issues/66","labels_url":"https://api.github.com/repos/swissspidy/oEmbed-API/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/swissspidy/oEmbed-API/issues/66/comments","events_url":"https://api.github.com/repos/swissspidy/oEmbed-API/issues/66/events","html_url":"https://github.com/swissspidy/oEmbed-API/issues/66","id":105980166,"number":66,"title":"Check whether the current post has an excerpt and display it","user":{"login":"kanenas","id":327786,"avatar_url":"https://avatars.githubusercontent.com/u/327786?v=3","gravatar_id":"","url":"https://api.github.com/users/kanenas","html_url":"https://github.com/kanenas","followers_url":"https://api.github.com/users/kanenas/followers","following_url":"https://api.github.com/users/kanenas/following{/other_user}","gists_url":"https://api.github.com/users/kanenas/gists{/gist_id}","starred_url":"https://api.github.com/users/kanenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanenas/subscriptions","organizations_url":"https://api.github.com/users/kanenas/orgs","repos_url":"https://api.github.com/users/kanenas/repos","events_url":"https://api.github.com/users/kanenas/events{/privacy}","received_events_url":"https://api.github.com/users/kanenas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swissspidy/oEmbed-API/labels/Enhancement","name":"Enhancement","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-11T09:57:57Z","updated_at":"2015-09-11T12:08:35Z","closed_at":null,"body":"This is just a <strong>suggestion</strong>.\r\n\r\nIn ```/includes/template.php``` file, I replaced <strong>line:397</strong> \r\n\r\n```<p class=\"wp-embed-excerpt\"><?php echo $post_content; ?></p>```\r\n\r\nwith this:\r\n```\r\n\t<p class=\"wp-embed-excerpt\">\r\n\t\t<?php\r\n\t\t// Check whether the current post has an excerpt.\r\n\t\tif ( has_excerpt( $post->ID ) ) {\r\n\t\t\techo get_the_excerpt();\r\n\t\t} else {\r\n\t\t\techo $post_content;\r\n\t\t}\r\n\t\t?>\r\n\t</p>\r\n```\r\n\r\n*Example*: http://www.my-soul.net/blog/%CE%B1%CE%BA%CE%BF%CF%8D%CF%83%CE%B5%CE%B9-%CE%B4%CE%B9%CE%B1%CF%83%CF%86%CE%B1%CE%BB%CE%AF%CE%B6%CE%B5%CF%84%CE%B1%CE%B9-%CE%BC%CE%B5%CF%84%CE%B1%CE%B3%CE%BB%CF%89%CF%84%CE%B9%CF%83%CF%84%CE%AE%CF%82/ "},"comment":{"url":"https://api.github.com/repos/swissspidy/oEmbed-API/issues/comments/139529940","html_url":"https://github.com/swissspidy/oEmbed-API/issues/66#issuecomment-139529940","issue_url":"https://api.github.com/repos/swissspidy/oEmbed-API/issues/66","id":139529940,"user":{"login":"kanenas","id":327786,"avatar_url":"https://avatars.githubusercontent.com/u/327786?v=3","gravatar_id":"","url":"https://api.github.com/users/kanenas","html_url":"https://github.com/kanenas","followers_url":"https://api.github.com/users/kanenas/followers","following_url":"https://api.github.com/users/kanenas/following{/other_user}","gists_url":"https://api.github.com/users/kanenas/gists{/gist_id}","starred_url":"https://api.github.com/users/kanenas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanenas/subscriptions","organizations_url":"https://api.github.com/users/kanenas/orgs","repos_url":"https://api.github.com/users/kanenas/repos","events_url":"https://api.github.com/users/kanenas/events{/privacy}","received_events_url":"https://api.github.com/users/kanenas/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T12:08:35Z","updated_at":"2015-09-11T12:08:35Z","body":":+1: "}}