Paolo

Forum Replies Created

Viewing 15 posts - 16,606 through 16,620 (of 27,715 total)
  • Author
    Posts
  • in reply to: total number of listings – display total count #68829

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    there is no widget to do something like that.

    This snippet in your header.php file will output the total number of published listings:

    
    
    <?php $args = array(
    'public'   => true,
    '_builtin' => false
    );
    $output = 'names'; // names or objects, note names is the default
    $operator = 'and'; // 'and' or 'or'
    $post_types = get_post_types( $args, $output, $operator ); 
    foreach ( $post_types  as $post_type ) {
       $count_posts = wp_count_posts($post_type);
       $published_posts = $published_posts+$count_posts->publish;
    }
    echo 'We have '.$published_posts.' total listings on our site';
    ?>

    Let us know if this helped.

    Thanks

    in reply to: which fields are searchable ? #68827

    Paolo
    Site Admin
    Post count: 31211

    hi,

    the “search for” field searches in Title, Descritpion and Taxonomies (Tags and Categories).

    The Near field is to be used for street, zip, city name or wider location name such as region/state or country.

    All custom fields can be filtered too via advance search filters if setup. User has to click on customize my search and refine his search through available filters.

    Hope this clarify.

    Thanks

    in reply to: Map Bubble Without Hyperlink? #68825

    Paolo
    Site Admin
    Post count: 31211

    You are welcome 🙂

    in reply to: Map show not all entries #68824

    Paolo
    Site Admin
    Post count: 31211

    it is not. Map and the list below are correlated in listings pages.

    Thanks

    in reply to: How to use on more than one page #68821

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    that is not how it works, once you create a category, the archive pages are automatically created by the system.

    In your case, dining is this: http://www.chattersolutions.com/places/dining/

    Stay is this: http://www.chattersolutions.com/places/stay/

    If you want to show listings by category in a custom page anyway, you can use the gd_listings shortcode:

    https://wpgeodirectory.com/docs/core-shortcodes/#listings

    Thanks

    in reply to: GD > Popular Post View Widget #68820

    Paolo
    Site Admin
    Post count: 31211

    I would have suggested to use the shortcode as well, however you should be able to see all 90+ options on that select.

    Please provide a link, wp admin and ftp credentials and we will ahve a look.

    Thanks

    in reply to: Locking Franchise fields #68819

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    that is a multiselect field, you can open the list and by holding CTRL you can click on as many options as you want…

    Let us know if this helps.

    Thanks

    in reply to: Review LIsting button #68818

    Paolo
    Site Admin
    Post count: 31211

    HI,

    that is really the only and correct way to do it and if done correctly it works (I’ve just double checked).

    Please provide a link, wp admin and FTP credentials. Please also let me know what you want to write instead of that note and I’ll do it for you.

    Thanks

    in reply to: map setting – Satellite #68817

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    there is an option in each Map widget.

    Select Map View : you should set Road Map.

    Let us know if this helped.

    Thanks

    in reply to: Cant uplad Cover Photo #68813

    Paolo
    Site Admin
    Post count: 31211

    This should be fixed, can you please confirm?

    Thanks

    in reply to: User roles for searchers and hotel owners #68812

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    it is not that simple…

    1st of all where do you want to add that?

    A function like this would do it for the currently logged in user for example, assuming hotels for you are the CPT gd_hotel:

    
    
    global $wpdb;
    $ptype = 'gd_hotel';
    $user_id = get_current_user_id();
    $total_posts = $wpdb->get_var("SELECT count( ID )
               FROM " . $wpdb->prefix . "posts
               WHERE post_author=" . $user_id . " AND post_type='" . $ptype . "' AND ( post_status = 'publish' )");

    It really depends what you are trying to do and on which page.

    Thanks

    in reply to: Change Facebook Import Error Message #68804

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    you an change the place holder from within the social importer po file.

    To adding instructions near input field try this in your theme functions.php file:

    
    
    add_action( 'geodir_before_detail_fields', 'importer_instructions',4 );
    function importer_instructions() {echo 'enter a yelp or facebook URL like https://facebook.com/pagename';}

    Thanks

    in reply to: Any documentation/pointers? #68803

    Paolo
    Site Admin
    Post count: 31211

    Stiofan says:

    I belive the franchaises are a one off but they main is recurring.

    We’ll need to ask for Kiran for more details.

    Thanks

    in reply to: Any documentation/pointers? #68802

    Paolo
    Site Admin
    Post count: 31211

    Hi Silks,

    that’s a good question, however I’m not sure how to answer.

    When we changed the expiration date of franchises to reflect the expiration date of the main listing, I’m not sure we considered recurring payments and what is passed as expiration date to paypal or stripe for the secondary listings.

    I’ve asked to developers to give us more details about this. Kiran is on holiday until early next week, so we won’t have a reply right away.

    Thanks for your patience,

    in reply to: Thrive Theme Compatibility #68801

    Paolo
    Site Admin
    Post count: 31211

    Thank you for letting us know, we are here if you have any other problems.

    Thanks

Viewing 15 posts - 16,606 through 16,620 (of 27,715 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount