kirleo1
Forum Replies Created
-
AuthorPosts
-
How do I limit features on the lower priced or free listings?
Also – the site is set up with woocommerce so can I still do this but use woocommerce for payment then add paid listings manually?
How do then set the limitations on the free listings?
I think this is done to stop people successfully modifying the plugin themselves, but that’s fair enough if you’ve a business to run.
As a paying customer however, I think my clients use of Geo-directory is fairly standard:
They want to list businesses in their region, have business categories and offer a “free listing” and a “premium listing”
All listings should appear on the same map – which is currently not possible
All categories apply to both free and premium listings – which is currently not possible
Maybe I am doing this the wrong way?
Can I achieve “free” and “premium” listings without an extra CPT?
You can append a taxonomy onto an existing CPT
The taxonomy will appear below the cpt but geodirectory will ignore it
function add_categories_to_cpt(){
register_taxonomy_for_object_type(‘gd_yourtax’, ‘gd_yourcpt’);
}
add_action(‘init’,’add_categories_to_cpt’, 200);NB — I’VE TRIED THIS AND GEODIRECTORY FUNCTIONS WILL IGNORE IT
That’s really not true at all – wordpress easily allows custom post types to use categories or post_tag along with any other custom taxonomy.
You may need to update your plugin to allow this – but it simply has nothing to do with wordpress and it should be easy to update.
December 8, 2014 at 12:11 pm in reply to: Use post tags taxonomy with all my custom post types #23806This should be possible as when custom post types are created in the proper way – including “categories” or “post_tag” or indeed any custom taxonomy is possible.
I’ve created many CPT’s from scratch myself and know this is easily done.
I’d appreciate it if this was possible in your plugin as it has many obvious applications.
“Featured” and “Free” Business listings would share the same business categories but have different listing capabilities.
Nope – GD Has Broken on several levels when changing domain name – I’m investigating myself but will post this as a new thread when ready.
The website won’t be moving – I’m changing the domain from a temporary one.
Generally this can be done with wordpress admin and the “search and replace” plugin.
If these did not work I’d export the DB and do a manual search and replace with notepad ++
Will this suffice?
Dan
All plugins reactivated – though Restricted Access causes the first issue so I’ll leave it off if I can.
Please let me know if changing the domain name will be an issue.
Thanks Again
Dan
Ok I’ve deactivated plugins apart from geodirectory and fusion (needed for the theme)
I’ve replaced the custom_taxonomy_hooks_actions.php as requested and everything seems to be working – including the details pages 😀
1. Can I reactivate all plugins with no problem or will restricted access still cause issues?
2. The domain the site is on is temporary – when I change the domain name to the real one will this cause any problems.
Thanks very much for your help 😀
I’ve disabled all plugins and get the same problem until..
If I disable the restricted access plugin and keep the geodirectory plugin active the site breaks completely.
I just get the wp object returned on any page of the site
WP Object
(
[public_query_vars] => Array
(
[0] => m
[1] => p
[2] => posts
[3] => w
[4] => cat
[5] => withcomments
…… etc…If I then deactivate the geodirectory plugin the site works fine.
The only way the site is operational at the moment is with both plugins activated – I can “switch off” the restricted access plugin while keeping it activated.
However I still have the same problem of no place details.
I guess there is some sort of conflict with the restricted access plugin going on when geodirectory installs itself?
I’m reluctant to “start from scratch” with a new wordpress install however as it will be adding a possibly unnecessary expense for my client.
Thanks
Dan
Hi,
Apologies the log in details were incorrect – they have been updated now could you please look into this for me Vikas?
This reply has been marked as private.This reply has been marked as private.Sorry Vikas, I’m not sure what your referring to. I’ve written a few CPT’s as a developer and I’m aware that confliting cpt slugs and pages / categories can cause issues.
However I don’t think I have any tags or any post titles that match cpt’s or categories.
I did think however when I first came across this issue it could be some kind of permalink issue – but I’m not sure how?
-
AuthorPosts