Paolo
Forum Replies Created
-
AuthorPosts
-
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
Why not using tags?
Thx
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
Confirmed as a bug and added as a task to be fixed asap.
We’ll keep you posted. Thanks for finding this.
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,
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/2015same 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
I did some testing and appear to be a bug.
I’ve re-flagged this for Stiofan.
Thx
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
You can try increasing timeout limit in your server or break down the file in 2 or 3 smaller ones.
Let us know,
Thx
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
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
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
I’ll do that best I can to do it asap.
Thx
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
-
AuthorPosts