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.1.5, circled, force_home
- This topic has 3 replies, 2 voices, and was last updated 8 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
12/31/2014 at 6:48 pm #313830
Douglas LaMunyon
ParticipantOn our single entry page, we have things showing twice because it is trying to use the same layout we have for the full directory page. On our directory page we inserted two different categories onto the same page using widgets.
http://scyc.dmlwsdev.com/staff/I need to be able to designate a different layout for the single entry.
http://scyc.dmlwsdev.com/staff/name/peggy-tennyson/I can designate this for my theme in functions.php, but I need to know what the connections custom post type is called so I can target it. Or if you have a better way of solving this, please let me know.
Thanks,
Doug01/01/2015 at 9:24 am #313847Steven Zahm
Keymaster@ Douglas
First, the double…
This is cause by having the shortcode on the page twice. You can do this but it requires a bit of a different setup.
You need to create a “results” page. Maybe name it “Person” … the name does not really matter. in the page content, add the
[connections]
shortcode only once with no options.Save the page and take note of the page ID number (this is important!). You can find it in the browser’s address bar.
Go to the Connections : General admin page and change the Directory Home page to the new “results” page.
Now on your “Staff” page add
force_home='true'
to your shortcodes so they look something like:
[connections force_home='true']
No when you click the profile links, they route to the new “results” page where the shortcode exist only once.
Now the different layout … since the directory home page is on a different page. You can choose the alternate page template (if that is a feature in the theme) for that page.
Hope that answers your questions thoroughly!
01/01/2015 at 12:35 pm #313854Douglas LaMunyon
ParticipantHi Steven,
That works great! Thanks for your quick response. Just one more thing…
The single entry-title now shows the person’s name followed by ‘person’ (the name of the page you had me make). I can’t find where I can adjust that in the card-single.php template.
http://scyc.dmlwsdev.com/person/name/peggy-tennyson/Thanks and best wishes to you in the new year.
-d01/02/2015 at 9:25 am #313873Steven Zahm
Keymaster@ Douglas
That can be turned off by going to the Connections : Settings admin page and clicking the SEO tab. Disable the Page Title option. I highly suggest leaving the page meta options enabled though.
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connections -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.