projects
/
WP-Themes
/
michigantrailmaps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c794ad3
)
... made sure the get_trail_links filter iterates through more than the default 5...
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 5 May 2017 19:15:56 +0000
(15:15 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 5 May 2017 19:15:56 +0000
(15:15 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
b58eb78
..
2843e4c
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-224,8
+224,9
@@
function is_post_type($type){
add_filter('glm-get-trail-links', function($member_id) {
$products = get_posts(
array(
- 'post_status' => 'publish',
- 'post_type' => 'product'
+ 'post_status' => 'publish',
+ 'post_type' => 'product',
+ 'posts_per_page' => -1
)
);