Guust
Forum Replies Created
-
AuthorPosts
-
July 26, 2015 at 8:49 am in reply to: sample .csv file I downloaded doesn't have all the fields necessary #46994
Hi Grace, you are confusing CSV to upload listings and CSV to upload categories. The CSV file you attached is for listings, not categories and you don’t need cat_name, you use post_category and either enter the name or the slug of the category.
If you want to add subcategories, just add them, separated with a comma.
Listings do not have an icon, that is part of creating the categories.
Slugs of listings are auto-created based on the title of the listing.
Please have another look at https://wpgeodirectory.com/docs/core-export/ , it has info for both listings and category CSV uploads.I’ll get Paolo to have a better look.
Did you add the closing ” } ” at the end?
if ( ‘gd_place’ == get_post_type() ) {
all your code ending as …
// now we set any remaining tabs that have not been assigned an order
foreach($tab_array as $key=>$tab){
$new_tab_array[$key]=$tab;
}return $new_tab_array ;
}}
// end change order tabs //Links to add listings are in this format:
/add-listing/?listing_type=gd_place
/add-listing/?listing_type=gd_events
/add-listing/?listing_type=gd_business
etc.
Just replace gd_place with the relevant post type.Links to your custom post types are like this:
/post-slug
examples:
/places
/events
/businessLinks to your categories are like this:
/post-slug/category-slug
examples
/places/attractions
/events/festivals@hezekiah
What is the full code you used, what did you replace //function here with?Ok so i followed the instructions but instead of finding the .mo & .po files where it said I would find them at:
wp-content/languages/geodirclaim/geodirclaim-en_US.moNot quite correct. You should not FIND them at that location, but you should SAVE them at that location. You should indeed FIND them at wp-content/plugins/geodir_claim_listing/geodir-claim-languages, but when you created your translation you have to SAVE at the location as per https://wpgeodirectory.com/docs/translating-addons/
Note to team: Looks like we need to update the video …
Thanks for letting us know, I set this to resolved.
You can use the Advanced Search addon with Whoop.
You can add a listing width to trick the popular post widget, see https://wpgeodirectory.com/docs/widgets/#popular-post
But that should not be necessary really.
Can you post your admin details so we can check your settings?Thanks 🙂
You’re welcome 🙂
I’ll set this to resolved.That is most likely another plugin that modifies (custom) post types, or something like that.
Turn off other plugins until it fixes itself.
Let us know how you went.GD > design > marker cluster
That is where you choose the map, it is the home page map at GD > custom google maps > general settings. (there you will see GD uses 3 map types).
There is no point clustering a detail map because it only shows 1 listing.
Similar for Listings (category or search) map will show at most the amount of listings as set in WP > settings > reading > Blog pages show at mostHi Miriam, can you post your URL and admin details in a private reply, then we can have a quick look at your settings.
Note that the clustering only works on the location map.I guess you mean that the listings on the map use the marker of the main category instead of child category.
That can be changed by selecting a different default category for the listing, which I have done for one of them, so you can see the difference on the home page now. -
AuthorPosts