Subscription

This topic contains 26 replies, has 5 voices, and was last updated by  Paolo 10 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #12032

    Guust
    Moderator
    Post count: 29970

    1. See my comment at https://wpgeodirectory.com/support/topic/subscription/#post-11974

    2. Did you start with an exact copy of the GD template? Then changing bit by bit should help you pinpoint when you loose the map and the gallery?
    [Not my strength though – Paolo might be a better help]

    3. As you navigate to a different location etc, the database results will narrow down, making that suggestion maybe not possible
    [Not my strength though – Paolo might be a better help]

    4. Please provide WP admin details so we can have a look.
    I guess you might have created additional custom post types, which means you need to create prices for each post type. Unless you have restricted the packages to certain categories only.

    5. You use any homepage you like, just untick GD > design > home > Geodirectory home page

    6. It seems you are trying to customise things that are possible without customising. Again, without access to see what you are trying to do, that is hard to comment on.

    #12039

    Simone
    Expired Member
    Post count: 3515

    Hello Mal, you can’t say “nothing works”, it’s just maybe something you do won’t make things working properly or as expected. Also, this is not a live chat, so please give us some time to reply, we are humans, not androids.

    Answering to your questions:

    1- permalinks should be set to %postname%/ (note the final / )

    2- You can try to output with some functions like

    
    
    	do_action( 'geodir_action_details_slider');
    

    for the slider I’m sure there is a function for that too, Stiofan will guide you through this)

    3- you mean you want to use your custom bar with the “GD search engine”?

    4- We need to get into your backend to check this, if you could provide your login details would be awesome

    5- you can go to Geodirectory/permalinks and set the location to the page you want to be your GD home, and then disable the “Set gd as your homepage” in Geodirectory/design

    #12075

    mflawith
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #12077

    Paolo
    Site Admin
    Post count: 31206

    1) I’d really need to see wp admin and play with settings a bit to figure this out if permalinks didn’t fix this.

    2) I don’t see that error and I don’t think it has to do with GD

    3) That’s a customization and goes way beyond the scope of support we can provide here.

    4) cool

    5) yes.

    #12140

    mflawith
    Expired Member
    Post count: 22

    Hi Paolo

    Thanks for your help. We have decided to use our own code with our themes functions to pull Places out of the database. My final question is we are calling Places out using SQL in our results template page and need to access some GEO functions such as:

    geodir_set_wp_featured_image()

    How do we do this within our theme? Do we have to load GEO into our theme functions file?

    Thanks

    #12161

    Paolo
    Site Admin
    Post count: 31206

    Hi Malcom,

    if GD pluign is active (as I think it is) then all functions will be avalable (unless specifically loaded to front/backend)

    However, going down this road might not be the best solution, if you can explain exactly what you want to do we might be able to better advise you.

    Thanks!

    #12415

    mflawith
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #12740

    mflawith
    Expired Member
    Post count: 22

    Hi Guys,

    I am trying to split the search results up into by Package_id. We have:

    1) Basic
    2) Premium
    3) Standard

    I can extract the $post->package_id from the listing-listview.php file but need to place them in order on the screen from Premium/Standard/Basic. Is there a way I can do this using the listing-listview.php template?

    Cheers

    M

    #12756

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you can give specific packages “featured”staturs so listing are featured, this will place them at the top of listings.

    Going any further and seperating by package would be a customisation, which i think is best tackled by editing the query, I would start by looking in listing_filters.php and installing something like query monitor plugin.

    Thx

    #12903

    mflawith
    Expired Member
    Post count: 22

    Paolo

    Managed to put a if statement in the listing-viewlisting.php page which has given me what I want.

    Only issue now every time we add a new listing the profile page will 404 and also not show up in the listings.

    Our permalinks are set to :

    Postname: /sample-post/
    Custom structure: /%postname%/

    We added the City to the URL’s and all older listings work but when we add new ones it doesnt. Please help us?

    M

    #12904

    mflawith
    Expired Member
    Post count: 22

    Paolo

    I have installed wp debug and on the below is the WP_Query for a working listing and 404 listing:

    Working:

    [query] => Array (
    [post_type] => gd_restaurants
    [gd_restaurantscategory] => cape-town-1/the-pot-luck-club
    [gd_restaurants] => the-pot-luck-club
    [name] => the-pot-luck-club [
    gd_country] =>
    [gd_region] =>
    [gd_city] => cape-town-1
    [gd_is_geodir_page] => 1

    404ing:

    [query] => Array (
    [gd_restaurantscategory] => cape-town-1/bombay-brasserie
    [gd_restaurants] => bombay-brasserie
    [post_type] => gd_restaurants
    [name] => bombay-brasserie
    [gd_country] =>
    [gd_region] =>
    [gd_city] => cape-town-1
    [gd_is_geodir_page] => 1

    As you can see the working listing the Array has [post_type] at top. Is this anything to do with why the new listings are 404ing?

    Cheers

    #12907

    Paolo
    Site Admin
    Post count: 31206

    Hi Malcolm,

    the array order should make no difference, however the only way to debug what you are doing would be to rereate it on our end and I’m sure you understand that our support can’t go that far for customizations.

    Thanks,

Viewing 12 posts - 16 through 27 (of 27 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount