Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
06/10/2016 at 5:32 pm #379115
I used the slim plus extension and added a handful of additional fields, they show in the admin fine, and the data entered does show on the front end, but the titles for each are not showing on the front end.
Here is a sample of the snippet:
$text = $entry->getMeta(
‘key’ => ‘vf_vol_position’, // This should match exactly the field id used when registering the custom field.
‘single’ => TRUE // Do not change this.
if ( ! empty( $text ) ) echo '' . esc_html( $text ) . '';06/13/2016 at 10:52 am #379308Steven ZahmKeymaster
Looking at the site, it seems you have figured it. Is that correct? What was the error?06/17/2016 at 12:41 pm #379827
I had to enter the field title inside the echo command of the array. It was confusing because this wasn’t needed in the admin form, just for the front end.
if ( ! empty( $text ) ) echo ‘Volunteer Position: ‘ . esc_html( $text ) . ‘
‘;06/17/2016 at 12:44 pm #379828
I have this customer also asking if we can change the Category Select to read “Select Organization” instead, and I can’t see a spot in the array to do that…
Any assist would be appreciated.06/17/2016 at 2:26 pm #379845Steven ZahmKeymaster
re: I had to enter the field title inside the echo command of the array. It was confusing because this wasn’t needed in the admin form, just for the front end.
Correct. That is because the
$entry->getMeta()simply returns the stored value(s), it does not actually return the “config” of the custom field which would include the label.
re: I have this customer also asking if we can change the Category Select to read “Select Organization” instead, and I can’t see a spot in the array to do that…
Yes. Use the the
str_selectshortcode option, like so:
[connections str_select="Select Organization"]
If you have other shortcode options set, add the
str_selectto the existing shortcode, do not add another shortcode to the page. Hope that makes sense!
Hope that helps!
You cannot reply to this support topic. Please open your own support topic.