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.
- This topic is empty.
-
AuthorPosts
-
10/25/2016 at 10:58 am #397167
Adam
ParticipantI’m trying to figure out how to add info to the Panel Contact Info box. I want it to display our volunteers’ hometown (address), Education (college), and link to their blog (if they have one). I’m not really a php writer, and I have a feeling this is the skill needed to do something like this. Any help is much appreciated!
Thanks!
PS – the directory can be seen here.
10/26/2016 at 1:32 pm #397390Steven Zahm
Keymaster@ Adam
In order to add additional contact info the template’s PHP file and CS will have to altered. If this is something you feel you can edit, then I can provide some guidance. If not, I do provide customization services. Just let me know.
10/26/2016 at 1:35 pm #397391Adam
ParticipantOk, thanks. I am comfortable with editing files, moving things around, etc. However, my knowledge of programming is limited. I will see what I can do…
10/26/2016 at 1:56 pm #397415Steven Zahm
Keymaster@ Adam
Open the
card.phpandcard-single.phpfile found in this folder:../wp-content/plugins/connections-gridder/Add the following to the
card.phpfiles:$entry->getAddressBlock();$entry->getLinkBlock();These must be placed between
<?phpand?>tags otherwise the code will just show up as text in the template rather than being ran. So, try pasting them in at line84\.The reason for opening
card-single.phpis for reference. YOu’ll find the same functions use in that file to display addresses and links.Now, the harder part. You will not likely be able to see the info because the default font-size will be “ de to how the template is styled so it functions correctly (tiled). So, you’ll need to add CSS to set the font-size and line-height so it is visible. Something like this might work (not tested):
#cn-gridder .cn-gridder-contact span.address-number-block, #cn-gridder .cn-gridder-contact span.link-address-block { font-family: sans-serif; line-height: 14px; }You would add this to the theme’s custom CSS area.
If you decide to alter the files, please take a moment to read the tutorial on custom template override files to make these changes update safe.
Hope this helps!
10/26/2016 at 2:29 pm #397428Adam
ParticipantThis reply has been marked as private.10/26/2016 at 2:35 pm #397435Steven Zahm
Keymaster@ Adam
Use this CSS:
#cn-gridder .cn-gridder-contact span.address-block, #cn-gridder .cn-gridder-contact span.link-block { font-family: sans-serif; font-size: 14px; line-height: 14px; }That should work.
10/26/2016 at 2:40 pm #397449Adam
ParticipantThis reply has been marked as private.10/26/2016 at 2:46 pm #397456Steven Zahm
Keymaster@ Adam
Thanks!
If you have a moment I would truly appreciate a review as they really do make a difference. Many thanks in advance!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
