netbrasil
Forum Replies Created
-
AuthorPosts
-
Anyone? As of now i need my clients to post their listing on our site.
Hi, Just want to bump this …
Hi,
I have tried to add a CPT category and still the same. What could be the issue? I wasn’t like this before.
This reply has been marked as private.Hi, If you go to the Fashion and Arts listings, most of them are not working.
This reply has been marked as private.Oh i thought that was the EDD registration page. Because inside the /register page i have this register shortcode… I just tested that shortcode to a different page and it showed a different register form.
Case closed! Thank you.
Thanks!
That worked. Thanks Giri!
I’m really thanking you for the big effort Mr. Hunt…
I have manually counted the listing via WordPress dashboard —Fashion and Arts: 12
Beauty : 18
Health : 36
Food: 28
Travel Education : 9
Products & Services: 81Total Listings Published (184) — English
and we have 169 in our mini web counter code. Did we miss some post types?
– I think this will be a great addtnl function to your next update 🙂
This reply has been marked as private.Hi,
I’m pasting the code in my functions.php which is located here /wp-content/themes/geodir_gdf-modern
then added the shortcode in my text widget : http://prntscr.com/b2zpx5 and this is the result : http://prntscr.com/b2zq1sHi Ethan,
The shortcode output is still 0 🙂
Hi Tom,
Added your code and tried
gd_service
i’m still getting 0 as a result.
Also, i want the total of business listings of all posts types not just servicesHere’s a list of my post types
Thank you!
Hi,
I have added this code in my functions.php
// Add number of listings function listing_count(){ $query_args = array( 'post_type' => 'gd_services', ); echo geodir_get_widget_listings($query_args, true); } add_shortcode('listingcount', 'listing_count');
I’m no programmer but i hope i’m in the right track.
Anyway, the output is 0 even though i already have a bunch of listings in gd_services post type.
I want the total of all post types. How do we do that?
Cheers!
-
AuthorPosts