Topic: How to get rid of search by zipcode on the listing page

I know how to get rid of the main search (search=false) but that doesn't get rid of search by zipcode.
here is a link to the page:
http://bcfacilitators.ca/members/facilitator-listings/

Re: How to get rid of search by zipcode on the listing page

radius=false

Re: How to get rid of search by zipcode on the listing page

Thanks so much it worked like a charm!!!

4 (edited by leon 2012-01-30 11:41:31)

Re: How to get rid of search by zipcode on the listing page

Sorry, I'm trying to work out how you did that as I don't need the postcode or search bits either, where do you turn it off? I'm searching through the plugin now and can't work out where to turn off those functions.

Re: How to get rid of search by zipcode on the listing page

When you added the following shortcode to the page,
[ members-list search=true alpha=true pagination=true pagination2=true sort=true ]
Add radius=false inside the brackets. this will get rid of the search by zipcode.

Re: How to get rid of search by zipcode on the listing page

Thanks winterses!

Re: How to get rid of search by zipcode on the listing page

I am also trying to get rid of the zip code section of the form. I made a members.php file as follows and selected it as the template for the page. But all that shows up is the shortcode. (Note, this is the first template I have made.)

<?php
/*
Template Name: Members
*/
?>
<?php 

/*
    Page
    Establishes the iFeature Pro page tempate.
    Version: 3.0
    Copyright (C) 2011 CyberChimps

*/

/* 

Header call. */

    get_header(); 
    
/* End header. */    

/* Define global variables. */
    global $options, $post, 

$themeslug;
    $size = get_post_meta($post->ID, 'page_slider_size' , true);
    $page_section_order = get_post_meta

($post->ID, 'page_section_order' , true);
    if(!$page_section_order) {
        $page_section_order = 

'page_section';
    }
    
/* End define global variables. */

/* Set slider hook based on page option */

if (preg_match

("/page_slider/", $page_section_order ) && $size == "1" ) {
    remove_action ('synapse_page_slider', 

'synapse_slider_content' );
    add_action ('synapse_page_content_slider', 'synapse_slider_content' );
}
/* End set slider 

hook*/
?>

<div class="container">
    <div class="row">
        <?php if (function_exists('synapse_breadcrumbs') && 

($options->get($themeslug.'_disable_breadcrumbs') == "1")) { synapse_breadcrumbs(); }?>
    </div>
    <div class="row"> 
        

<?php
            foreach(explode(",", $page_section_order) as $key) {
                $fn = 'synapse_' . 

$key;
                if(function_exists($fn)) {
                    call_user_func_array($fn, 

array());
                }
            }
        ?>    
    </div><!--end row-->

<?php
     $members = new tern_members;
     $members->members(array('search'=>true,'alpha'=>true,'pagination'=>true,'pagination2'=>true,'sort'=>true));
?>
</div><!--end container-->
<?php get_footer(); ?>

Re: How to get rid of search by zipcode on the listing page

Try this:

$members->members(array('search'=>true,'alpha'=>true,'pagination'=>true,'pagination2'=>true,'sort'=>true,'radius'=false));