{"action":"created","issue":{"url":"https://api.github.com/repos/Theme-Fusion/Fusion-Builder-Sample-Add-On/issues/18","repository_url":"https://api.github.com/repos/Theme-Fusion/Fusion-Builder-Sample-Add-On","labels_url":"https://api.github.com/repos/Theme-Fusion/Fusion-Builder-Sample-Add-On/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Theme-Fusion/Fusion-Builder-Sample-Add-On/issues/18/comments","events_url":"https://api.github.com/repos/Theme-Fusion/Fusion-Builder-Sample-Add-On/issues/18/events","html_url":"https://github.com/Theme-Fusion/Fusion-Builder-Sample-Add-On/issues/18","id":285920186,"number":18,"title":"Blog shortcode no-post message ","user":{"login":"waubau","id":17192036,"avatar_url":"https://avatars2.githubusercontent.com/u/17192036?v=4","gravatar_id":"","url":"https://api.github.com/users/waubau","html_url":"https://github.com/waubau","followers_url":"https://api.github.com/users/waubau/followers","following_url":"https://api.github.com/users/waubau/following{/other_user}","gists_url":"https://api.github.com/users/waubau/gists{/gist_id}","starred_url":"https://api.github.com/users/waubau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waubau/subscriptions","organizations_url":"https://api.github.com/users/waubau/orgs","repos_url":"https://api.github.com/users/waubau/repos","events_url":"https://api.github.com/users/waubau/events{/privacy}","received_events_url":"https://api.github.com/users/waubau/received_events","type":"User","site_admin":false},"labels":[{"id":795264974,"url":"https://api.github.com/repos/Theme-Fusion/Fusion-Builder-Sample-Add-On/labels/help%20wanted","name":"help wanted","color":"69e4f4","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-04T09:04:17Z","updated_at":"2018-02-07T19:00:48Z","closed_at":null,"author_association":"NONE","body":"When the Blog shortcode has no posts to show it prints out the message `Please add blog posts for them to display here.`\r\nIt is not very relevant for my add-on since we are dealing with custom post types rather then with blog posts. \r\nIs it customizable somehow?\r\nCan you please advise on the best way to do it?"},"comment":{"url":"https://api.github.com/repos/Theme-Fusion/Fusion-Builder-Sample-Add-On/issues/comments/363874048","html_url":"https://github.com/Theme-Fusion/Fusion-Builder-Sample-Add-On/issues/18#issuecomment-363874048","issue_url":"https://api.github.com/repos/Theme-Fusion/Fusion-Builder-Sample-Add-On/issues/18","id":363874048,"user":{"login":"mikka23","id":9296509,"avatar_url":"https://avatars1.githubusercontent.com/u/9296509?v=4","gravatar_id":"","url":"https://api.github.com/users/mikka23","html_url":"https://github.com/mikka23","followers_url":"https://api.github.com/users/mikka23/followers","following_url":"https://api.github.com/users/mikka23/following{/other_user}","gists_url":"https://api.github.com/users/mikka23/gists{/gist_id}","starred_url":"https://api.github.com/users/mikka23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikka23/subscriptions","organizations_url":"https://api.github.com/users/mikka23/orgs","repos_url":"https://api.github.com/users/mikka23/repos","events_url":"https://api.github.com/users/mikka23/events{/privacy}","received_events_url":"https://api.github.com/users/mikka23/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T19:00:48Z","updated_at":"2018-02-07T19:00:48Z","author_association":"NONE","body":"Hi @pixfil \r\n\r\nIt really depends on what you wish to accomplish.  There really is no need to override that particular function since you do not need to use that function in your own code.  So if it doesn't fit your purposes you can create your own function.\r\n\r\nIf you do want to use the function ``fusion_builder_placeholder`` then it can be used by passing in the values of the relevant post type. For example, for regular posts it is:\r\n```php\r\nfusion_builder_placeholder( 'post', 'blog posts' );\r\n```\r\n\r\n- 'post' = the post type so that the add new item link works correctly\r\n- 'blog posts' = the text used in the warning, so it would be - Please add **blog posts** for them to display here.\r\n\r\n\r\n\r\nUnfortunately, the code @yawalkar won't be possible right now since the function within Fusion Builder is not pluggable."}}
{"actor":{"display_login":"mikka23"}}