Tagged: Shortcode
- This topic has 5 replies, 4 voices, and was last updated 5 years, 4 months ago by
Steve.
-
AuthorPosts
-
-
September 25, 2016 at 4:54 pm #7389
jessemarcoParticipantPiklist 0.9.9.9
Wordpress 4.6.1I want to echo out shortcode on page through editor. I am using this:
[piklist_form form="new-post-with-validation" add_on="theme"]but it doesn’t work. If I use[piklist_form form="new-post-with-validation" add_on="piklist-demos"]it works file if I turn on demos, but I want to make own forms so if I copynew-post-with-validation.phptomy-form.phpand use this shortcode[piklist_form form="my-form" add_on="theme"]and save the page, no output.I do not know what to do.
Thank you.
-
September 26, 2016 at 3:22 am #7390
DanParticipantHi, Have you just created a new file within the piklist examples folder? Or do you have these in your custom theme/plugin?
If it’s in the piklist folder you’ll need to do it like this:
[piklist_form form="my-form" add_on="piklist-demos"]Are you aiming for a theme or a plugin, because you need to activate Piklist within your plugin or theme within the comments section at the top.
See this for activating Piklist. Getting Started
-
September 26, 2016 at 7:43 am #7391
jessemarcoParticipantDemos is working fine, but i want my own form in my own theme from the folder
../theme/piklist/parts/form/my-form.phpand using this shortcode:[piklist_form form="my-form" add_on="theme"]it doesn’t work 🙁 -
September 26, 2016 at 8:16 am #7392
jessemarcoParticipantI have created plugin,
piklist-formsand copy therenew-post-with-validation.phpfile from add-ons part from original pluginpiklistand I used shortcode[piklist_form form="new-post-with-validation" add_on="piklist-forms"]. That made the magic. Now I do not need parts in theme, just my own plugin. 🙂Thank you for help.
I am still curious why this shortcode
[piklist_form form="new-post-with-validation" add_on="theme"]not works if parts are in theme. -
October 4, 2016 at 5:48 pm #7413
jrcreativeMemberIs your theme folder called ‘theme’? Perhaps there’s a naming conflict? You might try renaming your theme folder to something more specific.
-
October 10, 2016 at 11:52 pm #7421
SteveKeymasterTry removing the /piklist/ folder from the theme and just have /parts/ off the theme root.
-
-
AuthorPosts
- You must be logged in to reply to this topic.