Skip to content

Commit 80a9dbe

Browse files
author
Darren Cooney
committed
Updating class location
1 parent ed3e128 commit 80a9dbe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

easy-query/admin/query-generator/js/query-generator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,11 @@ jQuery(document).ready(function($) {
274274
$q += "\n";
275275
$q += "?>";
276276
$q += "\n";
277-
$q += "<div class=\"wp-easy-query "+ classes +"\" data-total-posts=\"<?php echo $eq_total_posts; ?>\">"
277+
$q += "<div class=\"wp-easy-query\" data-total-posts=\"<?php echo $eq_total_posts; ?>\">"
278278
$q += "\n";
279279
$q += "<div class=\"wp-easy-query-posts\">"
280280
$q += '\n';
281-
$q += "<" + container_type + ">"
281+
$q += '<' + container_type + ' class="'+ classes +'">';
282282
$q += "\n";
283283
$q += "<?php ";
284284
$q += "\n";

easy-query/easy-query.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
define('EWPQ_VERSION', '1.0.0');
15-
define('EWPQ_RELEASE', 'April 6, 2015');
15+
define('EWPQ_RELEASE', 'April 5, 2015');
1616

1717
/*
1818
* ewpq_install
@@ -338,9 +338,9 @@ function ewpq_shortcode( $atts, $content = null ) {
338338
if ($eq_query->have_posts()) :
339339

340340
$eq_count = $paged * $posts_per_page - $posts_per_page; // Count items
341-
$output .= '<div class="wp-easy-query '. $classes.'" data-total-posts="'. $eq_total_posts .'">';
341+
$output .= '<div class="wp-easy-query" data-total-posts="'. $eq_total_posts .'">';
342342
$output .= '<div class="wp-easy-query-posts">';
343-
$output .= '<' . $container . '>';
343+
$output .= '<' . $container . ' class="'. $classes.'">';
344344
while ($eq_query->have_posts()): $eq_query->the_post();
345345
$eq_count++;
346346
ob_start(); // As seen here - http://stackoverflow.com/a/1288634/921927

0 commit comments

Comments
 (0)