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.7.7
- This topic has 3 replies, 2 voices, and was last updated 10 years ago by
Steven Zahm.
-
AuthorPosts
-
03/01/2013 at 4:26 pm #252661
chris
GuestHi Steve,
Awesome plug in. I had a few quick questions.
1. In the default template, where do I find the code to remove the categories:xxxxx (the one right above the Vcard link)? The template already lists the category, but then does it again at this spot.
Also, I’m trying to change the title “work email” to just “email”. I found this code you had written:
function sample_gettext( $translated_text , $text , $domain ) { if ( $domain == 'connections' && $translated_text == 'Department' ) { $translated_text = 'Married'; } if ( $domain == 'connections' && $translated_text == 'Category' ) { $translated_text = 'Countries'; } return $translated_text; } add_filter( 'gettext', 'sample_gettext', 20, 3 );
when I try this on my page, it basically breaks the site. I have a custom_functions.php in my theme that I placed the code into, and I only changed the translated text fields. I dont really need a custom template as I like the layout of the default one, and don’t really want to pay 20$ just for the ability to change these names.
Alternatively, where can I find the php code to change these? I understand if I upgrade the plug in I will lose these changes, but I am a php novice, and this way seems inherently easier to me. Thanks so much for a great plug-in and awesome support.
03/04/2013 at 2:18 pm #252933Steven Zahm
Keymaster@ chris
There were some minor typos which may have cause the issue. I corrected the code in your original post.
To remove the category display on the default template, remove line 29 in the template.php file found here: ../wp-content/plugins/connections/templates/card
If you move the entire card folder and its contents to the ../wp-contents/connections_template folder, your changes will be safe from plugin upgrades.
Hope that helps.
06/06/2013 at 11:37 am #261859Camilo
GuestSteven,
I also want to remove the Work from Work Email. However, I do not understand how to change the code? What file do I change and where do I place the code above? I am also a PHP novice.
Camilo
06/06/2013 at 12:30 pm #261861Steven Zahm
Keymaster@ Camilo
Open the class.options.php file and change the values in that file. Just do a search, you’ll see where to make the change. Alternatively the premium template have shortcode options to adjust the values. And another alternative is this suggestion by another user.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.