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.
Premium Support
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.
Free Support
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.
Tagged: 0.8.5, custom fields, Hours, Income Level
- This topic has 4 replies, 2 voices, and was last updated 8 years, 8 months ago by
Steven Zahm.
-
AuthorPosts
-
05/06/2014 at 6:40 am #290394
Alaa Kaswara
GuestHi Steve,
first of all, thanks for the great plugin you made,
I am building custom wordpress website with custom theme and using connection-pro , i need to add some extra fields to the entry and display it in the template, i have searched all your replies but didn’t help me, i need a step by step tutorial to make this,Thanks in advance,
Keep the good work up
Alaa Kaswara05/07/2014 at 12:15 pm #290538Steven Zahm
Keymaster@ Alaa
At the moment I do not have a step by step on how to add custom fields, however, I can refer you to a couple plugins that I’ve released that creates custom fields which you can reference to build you own.
The first is the custom field demo plugin. It is very basic. It adds four metaboxes showcasing all of the fields that can be created using the Custom Field API.
https://github.com/Connections-Business-Directory/Connections-Custom-Metaboxes-And-FieldsThe second is a fully functional, well documented plugin that adds a Income Levels field. This one will likely be a good base for you to base your on.
https://github.com/Connections-Business-Directory/Income-LevelsThe last is a bit more complex as it creates and utilities a custom field type, a field type not supported by the API. Basically this plugin demonstrates that any type of field can be added.
https://github.com/Connections-Business-Directory/HoursHope this helps you, and if you want, send me yours, I’ll put it up Github for others.
05/08/2014 at 11:06 am #290619Alaa Kaswara
GuestSure I will Keep you updated !
05/25/2014 at 5:14 pm #292068Alaa Kaswara
GuestI am trying the first plugin you posted above, and need to use the third editor ” rich text editor ” I need to know how i display it’s content into the template.
Thanks,
AK05/25/2014 at 6:08 pm #292070Steven Zahm
Keymaster@ Alaa
Add an action and filter as shown in the Income Levels extension with their associate callback functions:
https://github.com/Connections-Business-Directory/Income-Levels/blob/1.0.1/connections_income_levels.php#L56The core template will recognize the new content block and display after if is enabled on the Connections : Settings admin page under the Display tab.
All templates contain this function call to render the content blocks of custom fields:
https://github.com/Connections-Business-Directory/Connections/blob/0.8.7/templates/card/card-default.php#L91Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.