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 5 replies, 2 voices, and was last updated 9 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
03/21/2017 at 3:25 am #416319
Leah Harold
ParticipantHi,
I am using “Default Entry Card 3.0 by Steven A. Zahm”
Are you able to advise how I can get both the photo and logo to show on the directory listings?
Thanks03/21/2017 at 9:12 am #416349Steven Zahm
Keymaster@ Leah
The only option would be to edit the templates PHP files. If you are comfortable doing this, I can provide some guidance. Let me know. Hope this helps!
03/21/2017 at 12:31 pm #416371Leah Harold
ParticipantHi – Thanks.
I am happy editing them, but my php skills are pretty limited to copy & paste…
If you are able to give me clear instructions and tell me which code to remove/add, it would be really appreciated :)03/22/2017 at 10:01 am #416617Steven Zahm
Keymaster@ Leah
Edit the
card.phpandcard-single.phpfound in this folder:
../wp-content/plugins/connections/templates/card/This is the code to add a logo image. Change
logotophototo switch between the two.$entry->getImage( array( 'image' => 'logo', 'width' => 100, 'height' => 100, 'zc' => 2, 'fallback' => array( 'type' => 'none', ), ) );You should also read this tutorial on how to customize the core templates, making the changes update safe.
Hope this helps!
03/22/2017 at 1:43 pm #416672Leah Harold
ParticipantThanks Steven,
I have added the Connections-Card as a plugin as recommended, but when I add the above code, I just get the code showing up under the image.
Would you mind showing me this code in context of the surrounding code so I get it in the right place?
Thanks03/22/2017 at 3:05 pm #416712Steven Zahm
Keymaster@ Leah
You need to make sure that the code is between opening/closing PHP tags otherwise it is just text. The tags are
<?phpand?>.Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
