Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Campbell
Here’s a shortcode which should filter the list based on the checkbox. Maybe this will work for you?
[connections meta_query='{"meta_query":{"0":{"key":"checkbox_id","value":"","compare":"!="}}}']Change the
checkbox_idin the shortcode to be the custom field ID you used when registering the checkbox field.Steven Zahm
Keymaster@ shanna
RE: I’m going to bring your solution to the attention of Thomas at Advanced Ads.
I’ve already been in touch. They’re reviewing my proposed change so it may make it a in future update to their plugin.
Thanks for your patients in sorting this issue out!
Steven Zahm
Keymaster@ James
I was able to locate and correct the bug! It is now fixed on your site and you no longer receive the error. The fix will be included in the next update as well. Thanks for your help!
07/31/2017 at 11:14 am in reply to: Moving from data from Business Directory plugin to Connections #430904Steven Zahm
Keymaster@ Bertha
I just release an update to the CSV Import extension which includes the beta support of importing of the photo and logo from a supplied URL. Activate your license for the CSV Import on your site, and you’ll be able to install the update.
Hope this helps, let me know.
Steven Zahm
Keymaster@ Rene
Navigate to the WP Permalinks Settings admin page and remove
index.phpfrom your permalink structure. This will make it compatible with Connections and result in more SEO friendly permalinks.Hope this helps, let me know.
Steven Zahm
Keymaster@ Katia
On those pages, switch the WP post editor to the text tabs. What are the exact shortcodes used on those two pages?
Steven Zahm
Keymaster@ Patrick
Copy the
cardfolder, do not move it then the error will not occur. I’ll be releasing an update today that will include a fix so the include_once warning does not occur when the folder is moved.Apologies for the trouble.
Steven Zahm
Keymaster@ Adam
You do not really add it to a template file, sort of… so it is somewhat difficult to explain…
I see you’ve purchased cMap sooo… you could add the code to the
cmap.phpfile. I recommend using the Code Snippets plugin to add the drop down. This way adding the drop down is update safe.You would hook into the
cn_action_list_before-cmapaction to render the drop down. Example:add_action( 'cn_action_list_before-cmap', 'cn_add_gender_dropdown', 5 ); function cn_add_gender_dropdown() { //echo you code for the drop drown }To make it functional you will also need to hook into the
cn_list_retrieve_atts-cmapfilter like so:add_filter( 'cn_list_retrieve_atts-cmap', 'cn_gender_meta_query' ); function cn_gender_meta_query( $atts ) { // NOTE: only set the meta query if the user has selected a gender $atts['meta_query'] = array( 'meta_key'=> '{custom-field-id}', 'meta_value' => '{gender}'); return $atts; }Steven Zahm
Keymaster@ Adam
How are you setting the gender?
Steven Zahm
Keymaster@ Campbell
Sorry, but there is not presently a way to search on the value of a checkbox. There is a shortcode option you could use to filter the results based on it though, actually maybe … is it a single checkbox or a checkbox group?
-
AuthorPosts
