Version Description
- 2022-03-15 - fix - HTML string output issue fixed.
Download this release
Release Info
Developer | pickplugins |
Plugin | Post Grid |
Version | 2.1.18 |
Comparing to | |
See all releases |
Code changes from version 2.1.17 to 2.1.18
- includes/classes/class-admin-notices.php +1 -1
- includes/classes/class-meta-boxes.php +10 -9
- includes/classes/class-settings-tabs.php +67 -22
- includes/data-update/class-post-grid-data-update.php +1 -1
- includes/functions.php +9 -9
- includes/menu/settings.php +1 -1
- includes/post-grid-layout-elements.php +1 -1
- post-grid.php +2 -2
- readme.txt +5 -1
includes/classes/class-admin-notices.php
CHANGED
@@ -33,7 +33,7 @@ class class_post_grid_notices
|
|
33 |
endif;
|
34 |
|
35 |
|
36 |
-
echo
|
37 |
}
|
38 |
}
|
39 |
|
33 |
endif;
|
34 |
|
35 |
|
36 |
+
echo (ob_get_clean());
|
37 |
}
|
38 |
}
|
39 |
|
includes/classes/class-meta-boxes.php
CHANGED
@@ -111,7 +111,7 @@ class post_grid_meta_boxs{
|
|
111 |
$data_visible = isset($tab['data_visible']) ? $tab['data_visible'] : '';
|
112 |
$hidden = isset($tab['hidden']) ? $tab['hidden'] : false;
|
113 |
?>
|
114 |
-
<li <?php if(!empty($data_visible)): ?> data_visible="<?php echo esc_attr($data_visible); ?>" <?php endif; ?> class="tab-nav <?php if($hidden) echo 'hidden';?> <?php if($active) echo 'active';?>" data-id="<?php echo esc_attr($id); ?>"><?php echo
|
115 |
<?php
|
116 |
}
|
117 |
?>
|
@@ -362,22 +362,23 @@ class post_grid_meta_boxs{
|
|
362 |
<ul class="tab-navs">
|
363 |
<?php
|
364 |
foreach ($settings_tabs as $tab){
|
365 |
-
$id = $tab['id'];
|
366 |
-
$title = $tab['title'];
|
367 |
-
$active = $tab['active'];
|
368 |
$data_visible = isset($tab['data_visible']) ? $tab['data_visible'] : '';
|
369 |
$hidden = isset($tab['hidden']) ? $tab['hidden'] : false;
|
370 |
?>
|
371 |
-
<li <?php if(!empty($data_visible)): ?> data_visible="<?php echo esc_attr($data_visible); ?>" <?php endif; ?> class="tab-nav <?php if($hidden) echo 'hidden';?> <?php if($active) echo 'active';?>" data-id="<?php echo esc_attr($id); ?>"><?php echo
|
372 |
<?php
|
373 |
}
|
374 |
?>
|
375 |
</ul>
|
376 |
<?php
|
377 |
foreach ($settings_tabs as $tab){
|
378 |
-
|
379 |
-
$
|
380 |
-
$
|
|
|
381 |
|
382 |
|
383 |
?>
|
@@ -597,7 +598,7 @@ class post_grid_meta_boxs{
|
|
597 |
$data_visible = isset($tab['data_visible']) ? $tab['data_visible'] : '';
|
598 |
$hidden = isset($tab['hidden']) ? $tab['hidden'] : false;
|
599 |
?>
|
600 |
-
<li <?php if(!empty($data_visible)): ?> data_visible="<?php echo esc_attr($data_visible); ?>" <?php endif; ?> class="tab-nav <?php if($hidden) echo 'hidden';?> <?php if($active) echo 'active';?>" data-id="<?php echo esc_attr($id); ?>"><?php echo
|
601 |
<?php
|
602 |
}
|
603 |
?>
|
111 |
$data_visible = isset($tab['data_visible']) ? $tab['data_visible'] : '';
|
112 |
$hidden = isset($tab['hidden']) ? $tab['hidden'] : false;
|
113 |
?>
|
114 |
+
<li <?php if(!empty($data_visible)): ?> data_visible="<?php echo esc_attr($data_visible); ?>" <?php endif; ?> class="tab-nav <?php if($hidden) echo 'hidden';?> <?php if($active) echo 'active';?>" data-id="<?php echo esc_attr($id); ?>"><?php echo ($title); ?></li>
|
115 |
<?php
|
116 |
}
|
117 |
?>
|
362 |
<ul class="tab-navs">
|
363 |
<?php
|
364 |
foreach ($settings_tabs as $tab){
|
365 |
+
$id = isset($tab['id']) ? $tab['id'] : '';
|
366 |
+
$title = isset($tab['title']) ? $tab['title'] : '';
|
367 |
+
$active = isset($tab['active']) ? $tab['active'] : '';
|
368 |
$data_visible = isset($tab['data_visible']) ? $tab['data_visible'] : '';
|
369 |
$hidden = isset($tab['hidden']) ? $tab['hidden'] : false;
|
370 |
?>
|
371 |
+
<li <?php if(!empty($data_visible)): ?> data_visible="<?php echo esc_attr($data_visible); ?>" <?php endif; ?> class="tab-nav <?php if($hidden) echo 'hidden';?> <?php if($active) echo 'active';?>" data-id="<?php echo esc_attr($id); ?>"><?php echo $title; ?></li>
|
372 |
<?php
|
373 |
}
|
374 |
?>
|
375 |
</ul>
|
376 |
<?php
|
377 |
foreach ($settings_tabs as $tab){
|
378 |
+
|
379 |
+
$id = isset($tab['id']) ? $tab['id'] : '';
|
380 |
+
$title = isset($tab['title']) ? $tab['title'] : '';
|
381 |
+
$active = isset($tab['active']) ? $tab['active'] : '';
|
382 |
|
383 |
|
384 |
?>
|
598 |
$data_visible = isset($tab['data_visible']) ? $tab['data_visible'] : '';
|
599 |
$hidden = isset($tab['hidden']) ? $tab['hidden'] : false;
|
600 |
?>
|
601 |
+
<li <?php if(!empty($data_visible)): ?> data_visible="<?php echo esc_attr($data_visible); ?>" <?php endif; ?> class="tab-nav <?php if($hidden) echo 'hidden';?> <?php if($active) echo 'active';?>" data-id="<?php echo esc_attr($id); ?>"><?php echo ($title); ?></li>
|
602 |
<?php
|
603 |
}
|
604 |
?>
|
includes/classes/class-settings-tabs.php
CHANGED
@@ -335,7 +335,7 @@ class settings_tabs_field{
|
|
335 |
|
336 |
$input_html = ob_get_clean();
|
337 |
|
338 |
-
echo
|
339 |
|
340 |
|
341 |
}
|
@@ -406,7 +406,7 @@ class settings_tabs_field{
|
|
406 |
|
407 |
$input_html = ob_get_clean();
|
408 |
|
409 |
-
echo
|
410 |
|
411 |
|
412 |
}
|
@@ -499,7 +499,7 @@ class settings_tabs_field{
|
|
499 |
|
500 |
$input_html = ob_get_clean();
|
501 |
|
502 |
-
echo
|
503 |
|
504 |
}
|
505 |
|
@@ -583,7 +583,7 @@ class settings_tabs_field{
|
|
583 |
|
584 |
$input_html = ob_get_clean();
|
585 |
|
586 |
-
echo
|
587 |
|
588 |
}
|
589 |
|
@@ -749,7 +749,7 @@ class settings_tabs_field{
|
|
749 |
|
750 |
$input_html = ob_get_clean();
|
751 |
|
752 |
-
echo
|
753 |
|
754 |
|
755 |
|
@@ -831,7 +831,7 @@ class settings_tabs_field{
|
|
831 |
|
832 |
$input_html = ob_get_clean();
|
833 |
|
834 |
-
echo
|
835 |
|
836 |
|
837 |
}
|
@@ -899,7 +899,7 @@ class settings_tabs_field{
|
|
899 |
|
900 |
$input_html = ob_get_clean();
|
901 |
|
902 |
-
echo
|
903 |
|
904 |
|
905 |
|
@@ -1002,7 +1002,7 @@ class settings_tabs_field{
|
|
1002 |
|
1003 |
$input_html = ob_get_clean();
|
1004 |
|
1005 |
-
echo
|
1006 |
|
1007 |
}
|
1008 |
|
@@ -1038,7 +1038,7 @@ class settings_tabs_field{
|
|
1038 |
|
1039 |
$input_html = ob_get_clean();
|
1040 |
|
1041 |
-
echo
|
1042 |
|
1043 |
}
|
1044 |
|
@@ -1075,12 +1075,57 @@ class settings_tabs_field{
|
|
1075 |
|
1076 |
$input_html = ob_get_clean();
|
1077 |
|
1078 |
-
echo
|
1079 |
|
1080 |
}
|
1081 |
|
1082 |
|
1083 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1084 |
public function field_wp_editor( $option ){
|
1085 |
|
1086 |
$id = isset( $option['id'] ) ? $option['id'] : "";
|
@@ -1127,7 +1172,7 @@ class settings_tabs_field{
|
|
1127 |
|
1128 |
$input_html = ob_get_clean();
|
1129 |
|
1130 |
-
echo
|
1131 |
|
1132 |
}
|
1133 |
|
@@ -1192,7 +1237,7 @@ class settings_tabs_field{
|
|
1192 |
|
1193 |
$input_html = ob_get_clean();
|
1194 |
|
1195 |
-
echo
|
1196 |
|
1197 |
}
|
1198 |
|
@@ -1254,7 +1299,7 @@ class settings_tabs_field{
|
|
1254 |
<?php
|
1255 |
|
1256 |
$input_html = ob_get_clean();
|
1257 |
-
echo
|
1258 |
}
|
1259 |
|
1260 |
|
@@ -1290,7 +1335,7 @@ class settings_tabs_field{
|
|
1290 |
|
1291 |
$input_html = ob_get_clean();
|
1292 |
|
1293 |
-
echo
|
1294 |
|
1295 |
}
|
1296 |
|
@@ -1327,7 +1372,7 @@ class settings_tabs_field{
|
|
1327 |
|
1328 |
$input_html = ob_get_clean();
|
1329 |
|
1330 |
-
echo
|
1331 |
|
1332 |
}
|
1333 |
|
@@ -1369,7 +1414,7 @@ class settings_tabs_field{
|
|
1369 |
|
1370 |
$input_html = ob_get_clean();
|
1371 |
|
1372 |
-
echo
|
1373 |
|
1374 |
|
1375 |
|
@@ -1424,7 +1469,7 @@ class settings_tabs_field{
|
|
1424 |
|
1425 |
$input_html = ob_get_clean();
|
1426 |
|
1427 |
-
echo
|
1428 |
|
1429 |
}
|
1430 |
|
@@ -1530,7 +1575,7 @@ class settings_tabs_field{
|
|
1530 |
|
1531 |
$input_html = ob_get_clean();
|
1532 |
|
1533 |
-
echo
|
1534 |
|
1535 |
|
1536 |
}
|
@@ -1674,7 +1719,7 @@ class settings_tabs_field{
|
|
1674 |
|
1675 |
$input_html = ob_get_clean();
|
1676 |
|
1677 |
-
echo
|
1678 |
|
1679 |
|
1680 |
}
|
@@ -1712,7 +1757,7 @@ class settings_tabs_field{
|
|
1712 |
|
1713 |
$input_html = ob_get_clean();
|
1714 |
|
1715 |
-
echo
|
1716 |
}
|
1717 |
|
1718 |
|
@@ -1744,7 +1789,7 @@ class settings_tabs_field{
|
|
1744 |
|
1745 |
$input_html = ob_get_clean();
|
1746 |
|
1747 |
-
echo
|
1748 |
}
|
1749 |
|
1750 |
|
@@ -1797,7 +1842,7 @@ class settings_tabs_field{
|
|
1797 |
|
1798 |
$input_html = ob_get_clean();
|
1799 |
|
1800 |
-
echo
|
1801 |
}
|
1802 |
|
1803 |
|
335 |
|
336 |
$input_html = ob_get_clean();
|
337 |
|
338 |
+
echo sprintf($field_template, $title, $input_html, $group_details);
|
339 |
|
340 |
|
341 |
}
|
406 |
|
407 |
$input_html = ob_get_clean();
|
408 |
|
409 |
+
echo sprintf($field_template, $title, $input_html, $group_details);
|
410 |
|
411 |
|
412 |
}
|
499 |
|
500 |
$input_html = ob_get_clean();
|
501 |
|
502 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
503 |
|
504 |
}
|
505 |
|
583 |
|
584 |
$input_html = ob_get_clean();
|
585 |
|
586 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
587 |
|
588 |
}
|
589 |
|
749 |
|
750 |
$input_html = ob_get_clean();
|
751 |
|
752 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
753 |
|
754 |
|
755 |
|
831 |
|
832 |
$input_html = ob_get_clean();
|
833 |
|
834 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
835 |
|
836 |
|
837 |
}
|
899 |
|
900 |
$input_html = ob_get_clean();
|
901 |
|
902 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
903 |
|
904 |
|
905 |
|
1002 |
|
1003 |
$input_html = ob_get_clean();
|
1004 |
|
1005 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1006 |
|
1007 |
}
|
1008 |
|
1038 |
|
1039 |
$input_html = ob_get_clean();
|
1040 |
|
1041 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1042 |
|
1043 |
}
|
1044 |
|
1075 |
|
1076 |
$input_html = ob_get_clean();
|
1077 |
|
1078 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1079 |
|
1080 |
}
|
1081 |
|
1082 |
|
1083 |
|
1084 |
+
|
1085 |
+
|
1086 |
+
public function field_number( $option ){
|
1087 |
+
|
1088 |
+
$id = isset( $option['id'] ) ? $option['id'] : "";
|
1089 |
+
$css_id = isset( $option['css_id'] ) ? $option['css_id'] : $id;
|
1090 |
+
$parent = isset( $option['parent'] ) ? $option['parent'] : "";
|
1091 |
+
$placeholder = isset( $option['placeholder'] ) ? $option['placeholder'] : "";
|
1092 |
+
$value = isset( $option['value'] ) ? $option['value'] : '';
|
1093 |
+
$default = isset( $option['default'] ) ? $option['default'] : '';
|
1094 |
+
$field_template = isset( $option['field_template'] ) ? $option['field_template'] : $this->field_template($option);
|
1095 |
+
|
1096 |
+
$is_pro = isset( $option['is_pro'] ) ? $option['is_pro'] : false;
|
1097 |
+
$pro_text = isset( $option['pro_text'] ) ? $option['pro_text'] : '';
|
1098 |
+
|
1099 |
+
$value = !empty($value) ? $value : $default;
|
1100 |
+
|
1101 |
+
$title = isset( $option['title'] ) ? $option['title'] : "";
|
1102 |
+
$details = isset( $option['details'] ) ? $option['details'] : "";
|
1103 |
+
|
1104 |
+
if($is_pro == true){
|
1105 |
+
$details = '<span class="pro-feature">'.$pro_text.'</span> '.$details;
|
1106 |
+
}
|
1107 |
+
|
1108 |
+
$field_name = !empty($parent) ? $parent.'['.$id.']' : $id;
|
1109 |
+
|
1110 |
+
|
1111 |
+
ob_start();
|
1112 |
+
?>
|
1113 |
+
<input type="number" class="" name="<?php echo esc_attr($field_name); ?>" id="<?php echo esc_attr($css_id); ?>" placeholder="<?php echo esc_attr($placeholder); ?>" value="<?php echo esc_attr($value); ?>" />
|
1114 |
+
<?php
|
1115 |
+
|
1116 |
+
$input_html = ob_get_clean();
|
1117 |
+
|
1118 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1119 |
+
|
1120 |
+
}
|
1121 |
+
|
1122 |
+
|
1123 |
+
|
1124 |
+
|
1125 |
+
|
1126 |
+
|
1127 |
+
|
1128 |
+
|
1129 |
public function field_wp_editor( $option ){
|
1130 |
|
1131 |
$id = isset( $option['id'] ) ? $option['id'] : "";
|
1172 |
|
1173 |
$input_html = ob_get_clean();
|
1174 |
|
1175 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1176 |
|
1177 |
}
|
1178 |
|
1237 |
|
1238 |
$input_html = ob_get_clean();
|
1239 |
|
1240 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1241 |
|
1242 |
}
|
1243 |
|
1299 |
<?php
|
1300 |
|
1301 |
$input_html = ob_get_clean();
|
1302 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1303 |
}
|
1304 |
|
1305 |
|
1335 |
|
1336 |
$input_html = ob_get_clean();
|
1337 |
|
1338 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1339 |
|
1340 |
}
|
1341 |
|
1372 |
|
1373 |
$input_html = ob_get_clean();
|
1374 |
|
1375 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1376 |
|
1377 |
}
|
1378 |
|
1414 |
|
1415 |
$input_html = ob_get_clean();
|
1416 |
|
1417 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1418 |
|
1419 |
|
1420 |
|
1469 |
|
1470 |
$input_html = ob_get_clean();
|
1471 |
|
1472 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1473 |
|
1474 |
}
|
1475 |
|
1575 |
|
1576 |
$input_html = ob_get_clean();
|
1577 |
|
1578 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1579 |
|
1580 |
|
1581 |
}
|
1719 |
|
1720 |
$input_html = ob_get_clean();
|
1721 |
|
1722 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1723 |
|
1724 |
|
1725 |
}
|
1757 |
|
1758 |
$input_html = ob_get_clean();
|
1759 |
|
1760 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1761 |
}
|
1762 |
|
1763 |
|
1789 |
|
1790 |
$input_html = ob_get_clean();
|
1791 |
|
1792 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1793 |
}
|
1794 |
|
1795 |
|
1842 |
|
1843 |
$input_html = ob_get_clean();
|
1844 |
|
1845 |
+
echo (sprintf($field_template, $title, $input_html, $details));
|
1846 |
}
|
1847 |
|
1848 |
|
includes/data-update/class-post-grid-data-update.php
CHANGED
@@ -40,7 +40,7 @@ class class_post_grid_data_update{
|
|
40 |
endif;
|
41 |
|
42 |
|
43 |
-
echo
|
44 |
}
|
45 |
}
|
46 |
|
40 |
endif;
|
41 |
|
42 |
|
43 |
+
echo (ob_get_clean());
|
44 |
}
|
45 |
}
|
46 |
|
includes/functions.php
CHANGED
@@ -514,12 +514,12 @@ function post_grid_media($post_id, $args ){
|
|
514 |
if($link_to=='post_link'){
|
515 |
if(!empty($thumb_custom_url)){
|
516 |
|
517 |
-
$html_thumb.= '<a target="'
|
518 |
|
519 |
}
|
520 |
else{
|
521 |
|
522 |
-
$html_thumb.= '<a target="'
|
523 |
|
524 |
}
|
525 |
}
|
@@ -544,10 +544,10 @@ function post_grid_media($post_id, $args ){
|
|
544 |
|
545 |
|
546 |
if($link_to=='post_link'){
|
547 |
-
$html_thumb.= '<a target="'
|
548 |
}
|
549 |
else{
|
550 |
-
$html_thumb.= '<img class="custom" src="'
|
551 |
}
|
552 |
}
|
553 |
|
@@ -575,10 +575,10 @@ function post_grid_media($post_id, $args ){
|
|
575 |
else{
|
576 |
|
577 |
if($link_to=='post_link'){
|
578 |
-
$html_thumb.= '<a target="'
|
579 |
}
|
580 |
else{
|
581 |
-
$html_thumb.= '<img src="'
|
582 |
}
|
583 |
}
|
584 |
}
|
@@ -652,10 +652,10 @@ function post_grid_media($post_id, $args ){
|
|
652 |
else{
|
653 |
|
654 |
if($link_to=='post_link'){
|
655 |
-
$html_thumb.= '<a target="'
|
656 |
}
|
657 |
else{
|
658 |
-
$html_thumb.= '<img src="'
|
659 |
}
|
660 |
}
|
661 |
|
@@ -665,7 +665,7 @@ function post_grid_media($post_id, $args ){
|
|
665 |
}
|
666 |
|
667 |
|
668 |
-
echo
|
669 |
|
670 |
$html_thumb = ob_get_clean();
|
671 |
|
514 |
if($link_to=='post_link'){
|
515 |
if(!empty($thumb_custom_url)){
|
516 |
|
517 |
+
$html_thumb.= '<a target="'.esc_attr($link_target).'" href="'.esc_url($thumb_custom_url).'">'.($post_thumbnail).'</a>';
|
518 |
|
519 |
}
|
520 |
else{
|
521 |
|
522 |
+
$html_thumb.= '<a target="'.esc_attr($link_target).'" href="'.esc_url($item_post_permalink).'">'.($post_thumbnail).'</a>';
|
523 |
|
524 |
}
|
525 |
}
|
544 |
|
545 |
|
546 |
if($link_to=='post_link'){
|
547 |
+
$html_thumb.= '<a target="'.esc_attr($link_target).'" class="custom" href="'.esc_url($item_post_permalink).'"><img src="'.esc_url($default_thumb_src).'" /></a>';
|
548 |
}
|
549 |
else{
|
550 |
+
$html_thumb.= '<img class="custom" src="'.esc_url($default_thumb_src).'" />';
|
551 |
}
|
552 |
}
|
553 |
|
575 |
else{
|
576 |
|
577 |
if($link_to=='post_link'){
|
578 |
+
$html_thumb.= '<a target="'.esc_attr($link_target).'" href="'.esc_url($item_post_permalink).'"><img src="'.esc_url($first_img).'" /></a>';
|
579 |
}
|
580 |
else{
|
581 |
+
$html_thumb.= '<img src="'.esc_url($first_img).'" />';
|
582 |
}
|
583 |
}
|
584 |
}
|
652 |
else{
|
653 |
|
654 |
if($link_to=='post_link'){
|
655 |
+
$html_thumb.= '<a target="'.esc_attr($link_target).'" href="'.esc_url($item_post_permalink).'"><img src="'.esc_url($first_img).'" /></a>';
|
656 |
}
|
657 |
else{
|
658 |
+
$html_thumb.= '<img src="'.esc_url($first_img).'" />';
|
659 |
}
|
660 |
}
|
661 |
|
665 |
}
|
666 |
|
667 |
|
668 |
+
echo $html_thumb;
|
669 |
|
670 |
$html_thumb = ob_get_clean();
|
671 |
|
includes/menu/settings.php
CHANGED
@@ -103,7 +103,7 @@ $post_grid_settings = get_option('post_grid_settings');
|
|
103 |
$pro_text = isset($tab['pro_text']) ? $tab['pro_text'] : '';
|
104 |
?>
|
105 |
<li <?php if(!empty($data_visible)): ?> data_visible="<?php echo esc_attr($data_visible); ?>" <?php endif; ?> class="tab-nav <?php if($hidden) echo 'hidden';?> <?php if($active) echo 'active';?>" data-id="<?php echo esc_attr($id); ?>">
|
106 |
-
<?php echo
|
107 |
<?php
|
108 |
if($is_pro):
|
109 |
?><span class="pro-feature"><?php echo esc_html($pro_text); ?></span> <?php
|
103 |
$pro_text = isset($tab['pro_text']) ? $tab['pro_text'] : '';
|
104 |
?>
|
105 |
<li <?php if(!empty($data_visible)): ?> data_visible="<?php echo esc_attr($data_visible); ?>" <?php endif; ?> class="tab-nav <?php if($hidden) echo 'hidden';?> <?php if($active) echo 'active';?>" data-id="<?php echo esc_attr($id); ?>">
|
106 |
+
<?php echo ($title); ?>
|
107 |
<?php
|
108 |
if($is_pro):
|
109 |
?><span class="pro-feature"><?php echo esc_html($pro_text); ?></span> <?php
|
includes/post-grid-layout-elements.php
CHANGED
@@ -2946,7 +2946,7 @@ function post_grid_layout_element_media($args){
|
|
2946 |
}
|
2947 |
}
|
2948 |
|
2949 |
-
echo
|
2950 |
|
2951 |
?>
|
2952 |
|
2946 |
}
|
2947 |
}
|
2948 |
|
2949 |
+
echo ($html_media);
|
2950 |
|
2951 |
?>
|
2952 |
|
post-grid.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Post Grid by PickPlugins
|
4 |
Plugin URI: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/
|
5 |
Description: Awesome post grid for query post from any post type and display on grid.
|
6 |
-
Version: 2.1.
|
7 |
Author: PickPlugins
|
8 |
Author URI: https://www.pickplugins.com/
|
9 |
License: GPLv2 or later
|
@@ -21,7 +21,7 @@ if( !class_exists( 'PostGrid' )){
|
|
21 |
define('post_grid_plugin_dir', plugin_dir_path(__FILE__));
|
22 |
define('post_grid_plugin_basename', plugin_basename(__FILE__));
|
23 |
define('post_grid_plugin_name', 'Post Grid');
|
24 |
-
define('post_grid_version', '2.1.
|
25 |
define('post_grid_server_url', 'https://www.pickplugins.com/demo/post-grid/');
|
26 |
|
27 |
|
3 |
Plugin Name: Post Grid by PickPlugins
|
4 |
Plugin URI: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/
|
5 |
Description: Awesome post grid for query post from any post type and display on grid.
|
6 |
+
Version: 2.1.18
|
7 |
Author: PickPlugins
|
8 |
Author URI: https://www.pickplugins.com/
|
9 |
License: GPLv2 or later
|
21 |
define('post_grid_plugin_dir', plugin_dir_path(__FILE__));
|
22 |
define('post_grid_plugin_basename', plugin_basename(__FILE__));
|
23 |
define('post_grid_plugin_name', 'Post Grid');
|
24 |
+
define('post_grid_version', '2.1.18');
|
25 |
define('post_grid_server_url', 'https://www.pickplugins.com/demo/post-grid/');
|
26 |
|
27 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Tags: post grid, grid, custom post grid, post type grid, grid display, category filter, custom post, filter, filtering, grid, layout, list, masonry, post, post filter, post layout, taxonomy, taxonomy filter,
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 2.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -223,6 +223,10 @@ then paste this shortcode anywhere in your page to display grid<br />
|
|
223 |
== Changelog ==
|
224 |
|
225 |
|
|
|
|
|
|
|
|
|
226 |
= 2.1.17 =
|
227 |
* 2022-03-08 - fix - More Escaping issue fixed.
|
228 |
|
4 |
Tags: post grid, grid, custom post grid, post type grid, grid display, category filter, custom post, filter, filtering, grid, layout, list, masonry, post, post filter, post layout, taxonomy, taxonomy filter,
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 2.1.18
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
223 |
== Changelog ==
|
224 |
|
225 |
|
226 |
+
= 2.1.18 =
|
227 |
+
* 2022-03-15 - fix - HTML string output issue fixed.
|
228 |
+
|
229 |
+
|
230 |
= 2.1.17 =
|
231 |
* 2022-03-08 - fix - More Escaping issue fixed.
|
232 |
|