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 has 22 replies, 2 voices, and was last updated 5 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
07/09/2018 at 9:44 am #467103
Jess Cook
ParticipantHi there,
I would like to show the city name for each entry in addition to their name on the landing page for the template (https://mlp.org/more-light-churches/). I’ve followed your steps in previous forums (https://connections-pro.com/support/topic/city-visible-on-excerpt-listing/) and created new code with code snippets plug-in, then created a new template and added it to my theme’s folder. I think the issue may be that I added the new template to the wrong place, but any input would be welcome.
Also, is there a way to change “Select Category” to “Search by State” on the landing page? I found it on the duplicated card.php file and changed it, but it didn’t change (which, again, makes me think the issue on my end was with putting the new template in the wrong place).
Thanks in advance!
07/09/2018 at 12:50 pm #467121Steven Zahm
Keymaster@ Jess
Does the city code snippet work as expected? Meaning, is a new field present when you add/edit an entry? If it is present, is the city saved correctly?
What is the exact path of your override
card.php
file?07/09/2018 at 1:36 pm #467122Jess Cook
ParticipantNo, a new field doesn’t appear. path is /wp-content/theme/parent-theme/connections_templates_circled/card.php
07/10/2018 at 11:48 am #467186Steven Zahm
Keymaster@ Jess
RE: No, a new field doesn’t appear
Ok, if a new field does not appear, then code in your snippet is wrong. In thurn this means the code in template override file is not going to work.
You need to review the code snippet which adds that city field to make sure it is correct. If you copy pasted it. Maybe the was a copy/paste error. Try copying the code again into the snippet.
RE: path is /wp-content/theme/parent-theme/connections_templates_circled/card.php
That would be incorrect, the path needs to be:
../wp-content/theme/parent-theme/connections_templates/circled/card.php
Hope this helps!
07/10/2018 at 2:03 pm #467191Jess Cook
ParticipantHi Steven,
Snippet I pasted is attached.07/10/2018 at 2:05 pm #467194Jess Cook
ParticipantAttaching the snippet again as a pdf.
Attachments:
You must be logged in to view attached files.07/11/2018 at 10:38 am #467270Steven Zahm
Keymaster@ Jess
The PDF is a little hard to read the code but it looks fine. This code is added as a snippet using the Code Snippet plugin, correct? And, that snippet is activate, correct?
Just in case… this code does not get added to the
card.php
file for the template.07/11/2018 at 2:44 pm #467282Jess Cook
ParticipantCorrect, the snippet is activated. I should see the new field when adding a new organization to connections, correct?
07/12/2018 at 11:39 am #467388Steven Zahm
Keymaster@ Jess
Yes you should. Generally when you add a new custom field metabox it will be at the very bottom (unless moved manually to a new position).
Create a temp admin account using this plugin:
https://wordpress.org/plugins/temporary-login-without-password/
Reply back, as a private reply, with the tokel login URL. I’ll take a quick look. I can not do any custom coding for you (I do offer that as a service for a fee, If your are interested let me know) but at least I would be able to provide more specific advice.
07/12/2018 at 3:27 pm #467398Jess Cook
ParticipantThis reply has been marked as private. -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.