Support » Plugin: W4 Post List » BUG: shortcode in date-query not applied

  • Hi,

    Just noticed, that the w4pl shortcodes for date and time are not applied in the helper-posts-date_query.php file.

    Please add the following snippet in the parse_query_args function, on line 219.

    
              // parse shortcode from date values, this allows to use dynamic values
              if( is_array($dq['value']) ){
                $dq['value'] = array_map('do_shortcode', $dq['value']);
              }
              elseif( !empty($dq['value']) ){
                $dq['value'] = do_shortcode($dq['value']);
              }
    
  • The topic ‘BUG: shortcode in date-query not applied’ is closed to new replies.