We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed2b037 commit cfa65ebCopy full SHA for cfa65eb
display-medium-posts.php
@@ -77,7 +77,7 @@ function run_display_medium_posts() {
77
// Example 1 : WP Shortcode to display form on any page or post.
78
function posts_display($atts){
79
ob_start();
80
- $a = shortcode_atts(array('handle'=>'-1', 'default_image'=>'//i.imgur.com/p4juyuT.png', 'display' => 3, 'offset' => 0, 'total' => 10, 'list' => false, 'publication' => false, 'title_tag' => 'p', 'tag' => false, 'date_format' => 'M d, Y'), $atts);
+ $a = shortcode_atts(array('handle' => '-1', 'default_image' => '//i.imgur.com/p4juyuT.png', 'display' => 3, 'offset' => 0, 'total' => 10, 'list' => false, 'title_tag' => 'p', 'date_format' => 'M d, Y'), $atts);
81
// No ID value
82
if(strcmp($a['handle'], '-1') == 0){
83
return "";
0 commit comments