Paolo
Forum Replies Created
-
AuthorPosts
-
That should be because the featured category is always added to a listing which is also in the other category. Try to edit a listing and add only featured and you will see it appearing in the map.
Let us know.
excellent, I’ll mark this as solved.
Thanks!
Hi,
that is just a php warning that shouldn’t be printed and should only be logged in your php error log.
Try adding this to your theme functions.php file after the opening
error_reporting(E_ERROR);
Let us know,
Thanks
Hi again,
it’s pretty strange that a a plugin mento to only do 301 redirect would mess up an ajax call in the backend for a category…
Honestly I haven’t tested any 301 plugin as of yet. I tend to avoid using plugins for anything that I can… For 301 I normally hack my .htaccess file for example.
Remember that for every new plugin that you install and activate, your server performances will degrade.
Let us know anyway if you find one that works for you, that way we will know what to answer to next member asking for it. 🙂
Thank you,
Hi,
yes you can! Maps are widgets and both the home page and listings pages have the same widgets areas.
You will find the widgets in Appearance >> Widgets:
GD > GMap – Home page
GD > GMap – Listing pageThanks
This is how I would do it.
1) Avoid using GD custom field and use regular WordPress custom fields.
Example add the shortcode in the backend in a custom field named htl_calendar only to the listings that need the calendar.
2) Once we have the shortocode saved for each listing we will use this php snippet to echo the calendar where you need it using a hook:
echo do_shortcode(get_post_meta(get_the_ID(), 'htl_calendar', true));
Let us know where you wanted it and I’ll try to provide the complete code.
Thx
Hi,
sorry to say this, but you should never assume that a plugin should work like any another plugin or use references like that, because behind any plugin there is a different developer.
In there you need to paste the whole tracking code that google provides
Example:
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-52472672-1', 'auto'); ga('send', 'pageview'); </script>
Otherwise we would have wrote, paste the google analytics tracking ID (not code)
Thx
Hi,
That is not a GeoDirectory limitation unfortunately. It is WordPress that doesn’t execute shortcodes in custom fileds. There would be a workaround, but there are actually easier solution without using custom fields at all.
Where do you have to add that shortcode and is it the same shortcode for all listings?
Because in that case it would be easier to use the do_shortcode() function to add it using a hook via functions.php file.
If you give us more detail we will give you more info.
Thx
in geodirectory_hooks_actions.php around line 177.
I’ll ask Stiofan to update it in next version.
Thank you
Hi,
I’ve just tested this on our demo and I can’t recreate it.
Can you please try deactivating all non-GD plugins you have installed and test again to see if there is a conflict with one of them?
Thanks you and let us know,
can you please be more specific?
In a case like this we need minimum the link to the page where the filter are supposed to appear and wp admin credentials to check if you have wrong settings.
We can’t keep in mind nor store somewhere everyone’s website URL and credentials or go back into your previous post every time to look for them.
Any time they are need, please share them again.
Thanks
hi,
it appears that none of the widgets is working for you 🙁
I’ve tested both the location description and the recent review in our demo and both work as expected.
http://wpgeo.directory/location/united-states/illinois/chicago/
You can see the location description on top of the sidebar and the recent review at the bottom.
I’d need to have a look at your back end to tell why they are not working for you. Probably something simple.
If you can please send us a link and wp admin credentials in a private reply, we will have a look.
Thanks
Can you send us a link pls and wp-admin credentials in a private reply?
We’ll have a look.
Thx
W3 total cache is breaking the ajax calls to google map API.
GeoDirectory is not 100% compatible with any complex caching plugin and it will probably never be. They are too generically build for wordpress and we use wordpress beyond its normal use.
Once deactivated it works fine.
We will be building our GD booster plugin soon.
Thx
Your child theme functions.php was empty, I’ve added the function and it works fine.
I’ve noticed that there are some wrong formatted quotes (’ instead of ‘) in your function. Maybe copied over from our docs website?
Probably that’s why it wasn’t working. I suggest to always double check what you actually paste in your code.
Thx
-
AuthorPosts