Hi
I added this shortcode to a view:
[cred_link_user_form form='985' post="[wpv-user field="ID"]" form_name='Fill credits by admin' text='Edit %TITLE%' target='_self' ]
But when I click on the link from the front end, I get:
hidden link
instead of:
hidden link
I checked similar problems in the forum but it was said that this was fixed with the new releases.
I am using Enfold/ CRED 1.6 / Types 2.0.1 / Views 2.0
Your help is appreciated!
First of all, when you nest ShortCodes in HTML or other ShortCodes, you always must use Single Quotes:
Use [wpv-user field='ID'] instead of [wpv-user field="ID"]
But despite that, this works just fine.
I do not know of any BUG producing a wrong URL (& replacement)
Also, the URL seems weird to me.
It should look like this:
your-site.com/page-with-view/?cred-edit-user-form=3596&user_id=38
This behaviour is not expected.
Can you elaborate how I can reproduce this Problem?
Hi
Thank you for the quick answer. Actually it was correct [wpv-user field='ID'] in my code, but as you said the url is weird. I changed the premalink settings from Plain to Post name and my issue disappeared. So the strange behaviour was due to the premalink Plain in WordPress settings. I think I will move to Post name setting if this is the only way to solve my problem.
Thank you
I should have recognised that, my bad.
Yes, please do use others than the plain Permalink.
Many things won't work properly if you use Plain Permalink, and also you have a much nicer URL with as example "post name".
I'm happy you could find the problem and solve it.