qa
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -58,7 +58,7 @@ function list_media($atts){ | ... | @@ -58,7 +58,7 @@ function list_media($atts){ |
| 58 | foreach ( $pages as $page ){ | 58 | foreach ( $pages as $page ){ |
| 59 | $exclude_from_search = get_post_meta($page->ID, 'exclude_from_search', true); | 59 | $exclude_from_search = get_post_meta($page->ID, 'exclude_from_search', true); |
| 60 | if($exclude_from_search == '0'){ ?> | 60 | if($exclude_from_search == '0'){ ?> |
| 61 | <a href='<?php echo get_permalink($page->ID);?>' > | 61 | <a href='<?php echo wp_get_attachment_url($page->ID);?>' > |
| 62 | <?= get_the_title($page->ID) ?> | 62 | <?= get_the_title($page->ID) ?> |
| 63 | </a><br><br> | 63 | </a><br><br> |
| 64 | <?php } | 64 | <?php } | ... | ... |
-
Please register or sign in to post a comment