05/25/2014 at 6:08 pm
#292070
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#L56
The 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#L91
Hope that helps!