offshorly

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts

  • offshorly
    Expired Member
    Post count: 23

    Great! We somehow thought that the default category was supposed to be the parent category when importing data via csv (the category to fall back to), and has nothing to do with the default image. But makes sense now. Thanks a lot Paolo.

    in reply to: Display parent category icon on gd listings #382234

    offshorly
    Expired Member
    Post count: 23

    That worked. Such a simple solution for a problem that bugged us for some time. Thanks do much Paolo.

    in reply to: Display parent category icon on gd listings #382018

    offshorly
    Expired Member
    Post count: 23

    Hi Paolo, thanks for the reply. I meant for each item in the output of the gd_listings shortcode. Will double check later if there’s some hidden elements via css, but as far as I can remember the default output of the shortcode does not include the listing categories.


    offshorly
    Expired Member
    Post count: 23
    This reply has been marked as private.
    in reply to: Display parent category icon on gd listings #381941

    offshorly
    Expired Member
    Post count: 23

    Hi, sorry for reviving an old post. If not the category icon, is there some way that we could display the categories as text then among the info for each listing? Willing to dive into the code if anyone can point me in the right direction. Our client really wants the categories to be shown in the listings. Thanks in advance.


    offshorly
    Expired Member
    Post count: 23
    This reply has been marked as private.
    in reply to: Filter gd_listings shortcode by pricing package #380275

    offshorly
    Expired Member
    Post count: 23

    Hi,

    Forum seem to have deleted my previous post when I attempted to edit. Anyway, we’re planning to implement 3 price packages initially for listings (say, premium, basic, and free). Our client wants to display the listings in the country and city pages using a 3×4 grid in the following order:

    1st row: Premium listings
    2nd row: Basic listings
    Preferably insert a banner add between 2nd and 3rd rows
    3rd and 4th rows: Free listings

    I’ve search the forum and played around with the core shortcodes and so far the best approach I could find is to use tags for each pricing package and display the listings using 3 instances of the gd_listings sc. Limiting the layout and post_number of the first 2 rows to 3 and filtering by their respective tags, inserting an ad banner below the 2nd row, then displaying the rest using a third instance of the shortcode. Works but less than ideal since we have to ask the client to duplicate the pricing package using tags for each listing. Is there a way to filter output of the gd_listings shortcode by price package instead?

    Using latest WP, GD core and payment manager add-on. Thanks in advance.

    in reply to: Differentiating country from city pages #379597

    offshorly
    Expired Member
    Post count: 23

    Never mind, found a workaround by parsing the url of the current page and querying the WP db for needed data.

    in reply to: Claimed listing edit page not redirecting properly #378032

    offshorly
    Expired Member
    Post count: 23
    This reply has been marked as private.
    in reply to: Question on location page categories display #377970

    offshorly
    Expired Member
    Post count: 23

    I see, thanks paolo.

    in reply to: Question on location page categories display #377966

    offshorly
    Expired Member
    Post count: 23

    Ok, found the parameter in geodir_shortcodes.php and set

    parent_only=1

    still not sure what ‘category_restrict’ does though.

    in reply to: Question on location page categories display #377962

    offshorly
    Expired Member
    Post count: 23

    Hi Kor,

    Thanks for the reply. I traced the part in the supreme directory theme that I need to override in the /inc/geodirectory-compatibility.php file. Specifically the line that says:

    echo do_shortcode('[gd_popular_post_category category_limit=5 category_restrict=1]');

    The documentation for gd_popular_post_category only lists category_limit and title as parameters. Would you know the counterpart parameter to set for ‘Show parent categories only’ for the shortcode? And what does ‘category_restrict=1’ do in the above code? Thanks again.

    in reply to: Redirect to country instead of city #376762

    offshorly
    Expired Member
    Post count: 23

    Thanks Kiran, this worked.

    in reply to: Import listing location without lat/long data #375589

    offshorly
    Expired Member
    Post count: 23

    Hi Paolo and Kor,

    Thanks for your replies and will be looking into the links you provided.

    in reply to: Customize listing page #375585

    offshorly
    Expired Member
    Post count: 23

    Hi Kor,

    Thanks for pointing me to the relevant docs. Skimmed through that already but somehow missed that the template files to override are within the plugin folder and not in the theme folder. Thanks again.

Viewing 15 posts - 1 through 15 (of 16 total)