Paolo

Forum Replies Created

Viewing 15 posts - 24,406 through 24,420 (of 27,715 total)
  • Author
    Posts
  • in reply to: Display Featured Image on Detail Sidebar #28088

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    the hook to do that is documented here (one of the few so far…)

    http://docs.wpgeodirectory.com/geodir_social_sharing_buttons_html/

    The edit to the code to output the featured image is minimal.

    The code below if added to your theme functions.php will result in the image attached.

    
    
    /**
     * Wraps the sharing buttons div in our custom container
     *
     * @param string $content_html The HTML of the sharing buttons div
     * @return string Filtered HTML.
     */
    function my_theme_geodir_social_sharing_buttons_html( $content_html ) {
    	global $post; 
    	$thumb = the_post_thumbnail( 'medium' );
    
       return "<div class='my-theme-class'>".$thumb."</div>".$content_html;
    
    }
    add_filter( 'geodir_social_sharing_buttons_html', 'my_theme_geodir_social_sharing_buttons_html', 10, 1 );
    

    Now you just need to style css according to your needs.

    Thx

    in reply to: default category keywords #28087

    Paolo
    Site Admin
    Post count: 31211

    Why not using tags?

    Thx

    in reply to: Two major issues #28086

    Paolo
    Site Admin
    Post count: 31211

    1) in this case it works just like GeoTheme with the addition that you can switch location from the NEAR field too. So I don’t really understand what the problem is here.

    2) GeoDirectory can be used with or without custom post type. You can use places only and categories and it will work just like GeoTheme.

    For the duplication of posts thing, if you created 2 separate listing types, 1 for hotel and 1 for restaurants and your customer what to be listed in both, I think it’s normal that they have to enter to listings.

    If you created 1 post type (say places) with several categories and between them you have both restaurant and hotel, than they will be able to create 1 listings with 2 categories.

    GeoDirectory simply gives you the options to do both things described above, while GT only provides the 2nd option.

    Thanks

    in reply to: sorting, #28083

    Paolo
    Site Admin
    Post count: 31211

    Confirmed as a bug and added as a task to be fixed asap.

    We’ll keep you posted. Thanks for finding this.

    in reply to: Maby a bad setting, or something else? #28081

    Paolo
    Site Admin
    Post count: 31211

    Hi again,

    1) some listings were added for the subcategory, but not the parent category. This is wrong. I fixed this.

    2) few listings had strange location in DB. I fixed this

    3) wpml isn’t setup right. (I think this is the biggest problem). Normally you should see a flag saying what language that listing belongs to, but now there isn’t. I think wpml query are seeing only the 6 listing as Danish, hiding the rest.

    4) admin-ajax.php keeps returning 503 (service unavailable)
    [3:42:57 PM] stiofansisland: might have something to do with it and only your server admin can tell us what’s wrong with this.

    5) You must delete all database tables of all directory plugins or there still can be problems with them.

    Let us know,

    in reply to: Event Date Format #28078

    Paolo
    Site Admin
    Post count: 31211

    After I added the function mentioned above, both the detail page and the listing page changed to :

    ‘d/m/Y’
    example:
    http://wpgeo.directory/events/united-states/new-york/new-york/festival/
    1st event: 17/03/2015

    same thing in detail page:
    http://wpgeo.directory/events/united-states/new-york/new-york/festival/st-patricks-day-parade/

    Let us know what it is not working for you please.

    Thanks

    in reply to: sorting, #28067

    Paolo
    Site Admin
    Post count: 31211

    I did some testing and appear to be a bug.

    I’ve re-flagged this for Stiofan.

    Thx

    in reply to: Multisite Overview #28065

    Paolo
    Site Admin
    Post count: 31211

    You would need a custom widget (or function) to display listing from subsites into the main site.

    If you want I can move this into the Jobs section.

    Thanks

    in reply to: Max # of Records per CSV Upload #28061

    Paolo
    Site Admin
    Post count: 31211

    You can try increasing timeout limit in your server or break down the file in 2 or 3 smaller ones.

    Let us know,

    Thx

    in reply to: Change Date Format #28058

    Paolo
    Site Admin
    Post count: 31211
    in reply to: Event Date Format #28056

    Paolo
    Site Admin
    Post count: 31211

    I’ve just tested this here: http://wpgeo.directory/events/united-states/new-york/new-york/festival/st-patricks-day-parade/ and it works perfectly.

    Make sure to inlcude the closing } after // capital Y small m and d

    Let us know,

    Thx

    in reply to: my "post" or blog #28054

    Paolo
    Site Admin
    Post count: 31211

    Just a minor factor of your SEO strategy that you don’t have to worry about.

    Other than that, to rank on top for your niche, you need to go out there and get people to link from their website to yours.

    That’s the major and predominant factor along with good contents.

    Thanks

    in reply to: Update to 1.3.3 question #28052

    Paolo
    Site Admin
    Post count: 31211

    Hi,
    you can update everything running. Make sure to update the core plugin 1st (alone), than all addons immediately after the core plugin update went through succesfully and the plugin has been reactivated.

    Thanks

    p.s. current version is 1.3.4, just FYI

    in reply to: Suggestion: Setup GeoDirectory Code Recipes Section #28051

    Paolo
    Site Admin
    Post count: 31211

    I’ll do that best I can to do it asap.

    Thx

    in reply to: Maby a bad setting, or something else? #28050

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    the problem is in the database. DId you change the default location or added few listings before adding the default location?

    Also, you have basically all possible Directory plugins installed and they all have added database tables (some conflicting with ours).

    You need to delete them all (plugins and db tables).

    To fix the problem with your listings I will need either phpmyadmin or cpanel access.

    Let me know,

    Thx

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