You can build this into your email template something like this:
Here is your <a href="http://mysite.com/page_id=87&pdb=[id]">record</a>
Thread Starter
Rem_FR
(@rem_fr)
Thannks for you answer but it doesn’t work with this code. i tried it.
example :
http://joggingclublicquois.fr/?page_id=15&pdb=5 (single record)
http://joggingclublicquois.fr/?page_id=13&pid=NM90Q (editable record)
if i do :
http://joggingclublicquois.fr/?page_id=15&pdb=NM90Q
there is no entry !
It’s too simple to find a personal single page juste with changing id number so i would like single record with private link too.
Yes, that won’t work, because the two codes are for two different shortcodes. If you want to use the “pid” code, you have to have the [pdb_record] shortcode on the page it goes to. If you are using the “pdb” code, the page has to have the [pdb_single] shortcode.
Of course, it’s possible to have both shortcodes on a page.
Thread Starter
Rem_FR
(@rem_fr)
Of course, it’s possible to have both shortcodes on a page.
on the same page ?
have you an example ? can we see the result online
Sorry. I’m french. and i’m not sure that my question on the first post was really comprehensive/clear
OK, well the pdb_record and pdb_single shortcodes both expect an ID in the URL in order to know which record to show. The format is different so if you have both shortcodes on the page, only the one that got the value it needs will appear.
Try it: just put this on your page:
[pdb_single]
[pdb_record]
Thread Starter
Rem_FR
(@rem_fr)
OK. Not exactly what i demanded. It doesn’t matter. It’s ok
I am trying to understand what you want, so I reread your first post. You cannot use a private id (pid) to get a single record, you can only use it to get an editable record.
Do you want to hide the record id?
Thread Starter
Rem_FR
(@rem_fr)
Yes exactly. That’s what i want : hide record id for single page
Is it possible to hide record id ?
like for this page : http://joggingclublicquois.fr/inscription/single-fiche/?pdb=14
hide n°14