gowrann
Forum Replies Created
-
AuthorPosts
-
Hi Kiran,
The site is local in development at this stage, can you forward me the patch and let me know where it goes?
Thanks
NeilIs it possible to get this patch https://wpgeodirectory.com/support/topic/gd-v2-near-autocomplete-error/ I have a local dev so need to manually add.
I did manage to get a second role going with User Role Editor + Gravity Forms w/User Rego Plugin, works fine.
Will be interesting to see the new members system plugin when it’s released.
April 28, 2020 at 8:06 am in reply to: Disable listing owner to leave reviews on their own listing #543038Hi Alex – yes that works well – I have a multiple role site and I want only 1 role to rate and review – this works well
if ( ! current_user_can( 'parent' ) ) add_filter( 'comments_open', '__return_false' );
So above any role other than the ‘parent’ role cannot leave a review.
Hi Alex – thanks yes that snippet works well.
On the subject of custom taxonomy – I can get a custom taxonomy to show up backend and work ok on the default CPT, but can’t get it to associate with the Advanced Search fields – it doesn’t show up – this is my tax code…
<?php // Add custom taxonomies add_action( 'init', 'tut_taxonomies'); function tut_taxonomies() { $labels = array( 'name' => _x( 'Tutor Method', 'taxonomy general name' ), 'singular_name' => _x( 'Tutor Method', 'taxonomy singular name' ), 'search_items' => __( 'Search in Tutor Methods' ), 'all_items' => __( 'All Tutor Methods' ), 'most_used_items' => null, 'parent_item' => null, 'parent_item_colon' => null, 'edit_item' => __( 'Edit Tutor Method' ), 'update_item' => __( 'Update Tutor Method' ), 'add_new_item' => __( 'Add new Tutor Method' ), 'new_item_name' => __( 'New Tutor Method' ), 'menu_name' => __( 'Tutor Method' ), ); $args = array( 'labels' => $labels, 'public' => true, 'show_in_nav_menus' => true, 'show_ui' => true, 'show_tagcloud' => true, 'hierarchical' => true, 'show_admin_column' => true, 'query_var' => true, 'rewrite' => array( 'slug' => 'tutor-method' ), ); register_taxonomy( 'tutor_category', array( 'gd_place', 'menu' ), $args );//add in your CPTS that the Taxonomy is applicable to }
Is there anything that can be added to associate it with the Advanced Search inclusion (I know the snippet works but am thinking which is the more efficient)
Ok yes, I see.
Thanks
Ok I see Alex, is there any docs/ref on via a PHP template.
Thanks
OK I see thanks, works!
Hi thanks, but how to do so as shortcode…
[gd_post_meta key="%%region%%%%zip%%" show="icon-value"]
The above does not render both region and zip.
Thanks, yes I am using UsersWP – sounds like a plan!
Thanks I did see that – but is there a menu option?
OK that’s great
I tried this jquery but it is not enabling the search…
jQuery('#gd_placecategory').on('select2:opening select2:closing', function( event ) { var $searchfield = $(this).parent().find('.select2-search__field'); $searchfield.prop('disabled', false); });
April 23, 2020 at 9:24 am in reply to: Pre-sales Questions on Pricing Manager with WP Invoicing #542046Actually I have bought all the GEO addons – so my account should reflect this.
Ok so yes have made a custom tab with shortcode
[gd_listings post_type="gd_place" post_limit="5" add_location_filter="1" sort_by="az" title_tag="h3" layout="5" view_all_link="1" bottom_pagination="1" post_author="current_user"]
Then changed the ‘GD Archive Item’ page shortcode..
[gd_author_actions author_page_only='1']
to
[gd_author_actions author_page_only='0']
And I can see the edit and delete when the owner of the listing is logged in.
-
AuthorPosts