Search Results getting a PHP Error
-
Hi all,
I’m getting an error on the search results page.
Here is my code:
<?php echo do_shortcode('[ajax_load_more repeater="template_3" post_type="post" preloaded="true" preloaded_amount="10" posts_per_page="10" max_pages="0" search="'. $term .'" button_label="Show More Stories"]'); ?>
The error I get is this:
Notice: Undefined variable: term in /home/kaleidicostudios/public_html/wor/wp-content/themes/_m/search.php on line 18
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Search Results getting a PHP Error’ is closed to new replies.