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: 8.5.1, code snippet, page, theme, title
- This topic has 3 replies, 2 voices, and was last updated 10 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
10/19/2015 at 11:51 pm #351029
Rob
GuestThe theme I am using has created an issue with how the Directory is displayed.
The Connections Directory I have on my site is called ‘Company Profiles’. I want to remove the ‘Company Profiles’ title at the top of the individual listings pages, but keep it on the WP page where the [connections] shortcode was inserted.
I have a screengrab of the individual listing page attached.
I cannot see an option to remove it anywhere.
Can you please point me in the right direction as how to do this as its messy with the ‘Company Profiles’ title listed above the title of each directory entry.
Thanks,
Rob10/20/2015 at 11:18 am #351122Steven Zahm
Keymaster@ Rob
Since that is the page title being output by the theme… that is going to be fairly difficult to address. The best/only solution I can think of is this:
Install the Code Snippets plugin.
Add a new code snippet with the following code:
add_filter( 'the_title', 'cn_single_entry_page_title', 10, 2 ); function cn_single_entry_page_title( $title, $id = 0 ) { if ( get_query_var( 'cn-entry-slug' ) ) { $title = ''; } return $title; }Save and activate the new code snippet.
Hope that helps!
10/21/2015 at 12:54 am #351198Rob
GuestHi Steven – The code snippet has succesfully removed the ‘Company Profiles’ title from the individual listing page. Unfortunately, it also seems to have removed all links including those in the menu on that page.
Thanks for trying.
Best,
Rob10/21/2015 at 8:35 am #351226Steven Zahm
Keymaster@ Rob
Ahhh… sorry about that, I guess hooking into the
the_titlehook like that would have that effect. The only other solution would to be to create a custom template page for the theme. -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
