Plugin Author
Steven
(@shazahm1hotmailcom)
@ gisol
This does not seem to to be an issue in Connections… did you by change post this to the wrong support forum???
Thread Starter
gisol
(@gisol)
Hi shazahm1,
Thanks for your response!
Connections (among using it as a directory of our “staff”) is used to generate the ID card on both pages (and several others also). This is done via a shortcode (one per page).
Clicking on the links on these “ID Cards” leads to the messed up output.
I hope that clarifies things a bit more…
e:
Link from example #1 goes to https://www.tsg-koeppern.de/verzeichnis/namen/beate-lenhart-3/ – correct
Link from example #2 goes to https://www.tsg-koeppern.de/sportangebot/kurs/gummitwist-jump-dance/namen/beate-lenhart-3/ – wrong
-
This reply was modified 9 years, 6 months ago by
gisol.
Plugin Author
Steven
(@shazahm1hotmailcom)
@ gisol
No, this seems correct. This allows one to put multiple directories on the same site on different pages. What you need to do in your useage is to add the home_id shortcode option to the pages/posts where you are just inserting the “card” so the links point to your “primary” directory home page.
Hope that helps!
Thread Starter
gisol
(@gisol)
Thanks, that was most helpful!
I fixed it now with the force_home shortcode option – which I only found while looking for the home_id documentation you pointed me to. Sorry, I should go back and rtfm.
But there must be still somewhere a change under the hood, as I am still pretty convinced, that several weeks ago everything was fine without this option – and while applying the fix, I found out, that there are pages where everything is working as expected and others, where I need to use force_home. *scratches head
Thanks for your time and help and this great plugin of course!
Plugin Author
Steven
(@shazahm1hotmailcom)
@ gisol
Hmmm… I’ve not made any core permalink logic changes is quite a long time. Using the force_home shortcode option will definitely do the trick too. The primary difference between the two is home_id will set the permalink to the page ID set whereas the force_home option will set the base permalink to the page set of the Directory home page on the Settings admin page.
It is good to hear you’ve got this resolved!