Forum Replies Created
-
AuthorPosts
-
Stephen Garratt
ParticipantBrilliant. All sorted. Thanks.
Stephen Garratt
ParticipantHi Steve,
Thanks for your response. Speedy as always.
I would be comfortable editing the PHP files. I can put them in the directory of my child theme?
Please let me know which files I should look for and what I should change.
thanks,
StephenStephen Garratt
ParticipantThanks!
Of these two:
Google Maps JavaScript API
Google Maps Geocoding APII’d only enabled the second but not the first.
All fixed now.
Stephen Garratt
ParticipantI made an error in the first post
the subdomain new.jungiananalysts.org.uk pints to http://www.jungiananalysts.org.uk/newsite
Stephen Garratt
ParticipantThis reply has been marked as private.Stephen Garratt
Participantmore images
Stephen Garratt
ParticipantHi Steve,
Thanks for your help. I tried the code:
[connections meta_query='{"meta_query":{"0":{"key":"field_id_membership-cat","value":"supervisor","compare":"!="}}}']and it displays all the records that have some value in the custom field, but it doesn’t filter them depending on the value.
I am not a coder and and kind learning as I go along. Below is the snippet I used to create my custom field. I want to have a directory page that only displays entries with the value “Analyst” and a separate page that only displays entries with the value “Supervisor”
// Register the metabox and fields. add_action( 'cn_metabox', 'cn_register_custom_membership_category' ); function cn_register_custom_membership_category() { $atts = array( 'title' => 'Your AJA Membership Category', 'id' => 'membership-cat', 'context' => 'normal', 'priority' => 'core', 'fields' => array( array( 'name' => 'Field Name', 'show_label' => FALSE, 'id' => 'field_id_membership-cat', 'type' => 'checkboxgroup', 'options' => array( 'Candidate' => 'Candidate', 'Analyst' => 'Analyst', 'Supervisor' => 'Supervisor', 'Professional Member' => 'Professional Member', ), 'default' => '', ), ), ); cnMetaboxAPI::add( $atts ); }Stephen Garratt
ParticipantI resolved this by inserting this into the custom CSS:
wp-bio-media-buttons { display: none; } wp-notes-media-buttons { display: none; }-
This reply was modified 9 years, 11 months ago by
Steven Zahm. Reason: Fix CSS code
Stephen Garratt
ParticipantIgnore this request. I found the documentation on how to add a checkbox field. Thanks.
Stephen Garratt
Participantthanks
-
This reply was modified 9 years, 11 months ago by
-
AuthorPosts
