Skip to content

Commit cfa65eb

Browse files
committed
Updated new attributes
1 parent ed2b037 commit cfa65eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

display-medium-posts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function run_display_medium_posts() {
7777
// Example 1 : WP Shortcode to display form on any page or post.
7878
function posts_display($atts){
7979
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);
80+
$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);
8181
// No ID value
8282
if(strcmp($a['handle'], '-1') == 0){
8383
return "";

0 commit comments

Comments
 (0)