This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1301] - enable cache through so widget
- Loading branch information
1 parent
fcd2587
commit ddc6873
Showing
4 changed files
with
38 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
code/wp-content/themes/Akvo-responsive/so-widgets/akvo-nested-filters/templates/template.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<?php | ||
|
||
echo do_shortcode('[akvo_nested_filters title="'.$instance['title'].'" showposts="'.$instance['showposts'].'" post_type="'.$instance['post_type'].'" primary_filter="'.$instance['primary_filter'].'" secondary_filter="'.$instance['secondary_filter'].'"]'); | ||
global $akvo_shortcode_nested_filters; | ||
|
||
/* | ||
Find the shortcode [akvo_nested_filters] in inc/shortcodes.php | ||
echo do_shortcode( $akvo_shortcode_nested_filters->form_shortcode( $instance ) ); | ||
|
||
/* | ||
* | ||
* Find the shortcode [akvo_nested_filters] in inc/shortcodes/ | ||
* | ||
*/ | ||
|
||
?> |