• Awesome plugin! Can it display parameters in the URL? If my URL is example.com/?city=Chicago

    Can the shortcode display “Chicago” on the page?

Viewing 1 replies (of 1 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @hashimwarren,
    Thank you!

    You would have to do this before the shortcode.
    Like the following:

    <?php 
    	
    	if(isset($_GET('city'))){
    		echo '<h2>'. $_GET('city') .'</h2>';
    	}
    	echo do_shortcode('[ajax_load_more]');
    
    ?>

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Display url parameter?’ is closed to new replies.