WordPress.org

Forums

[resolved] Quick fix (3 posts)

  1. kwmlr439
    Member
    Posted 2 years ago #

    Any way I could delete show_count from the code bellow without messing with the functions? Every time I add a post it shows the number of how many posts I have, I want to get rid of that, Thanks a lot!

    <form method="get" action="" id="real-estate-search">
    <?php
    wp_dropdown_categories('show_option_none=Select a State&show_count=1&hierarchical=1&taxonomy=State');
    wp_dropdown_categories('show_option_none=Select a County&show_count=1&hierarchical=1&taxonomy=County');
    wp_dropdown_categories('show_option_none=Select a City&show_count=1&hierarchical=1&taxonomy=City');
    wp_dropdown_categories('show_option_none=Select a Company&show_count=1&hierarchical=1&taxonomy=Company');
    wp_dropdown_categories('show_option_none=Agent Type&show_count=1&hierarchical=1&taxonomy=Agent');
    echo '<input id="searchsubmit" class="searchsubmit" type="submit" value="Search Real Estate Agents">';
    echo '</form>';
  2. YouON
    Member
    Posted 2 years ago #

    show_count=0
    should works fine

  3. kwmlr439
    Member
    Posted 2 years ago #

    Works like a charm. YouON Thank you for your time.

    John

Topic Closed

This topic has been closed to new replies.

About this Topic