Tagged: 

Viewing 5 reply threads
  • Author
    Posts
    • #7389
      jessemarco
      Participant

      Piklist 0.9.9.9
      Wordpress 4.6.1

      I 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 copy new-post-with-validation.php to my-form.php and 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.

    • #7390
      Dan
      Participant

      Hi, 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

    • #7391
      jessemarco
      Participant

      Demos is working fine, but i want my own form in my own theme from the folder ../theme/piklist/parts/form/my-form.php and using this shortcode: [piklist_form form="my-form" add_on="theme"] it doesn’t work 🙁

    • #7392
      jessemarco
      Participant

      I have created plugin, piklist-forms and copy there new-post-with-validation.php file from add-ons part from original plugin piklist and 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.

    • #7413
      jrcreative
      Member

      Is your theme folder called ‘theme’? Perhaps there’s a naming conflict? You might try renaming your theme folder to something more specific.

    • #7421
      Steve
      Keymaster

      Try removing the /piklist/ folder from the theme and just have /parts/ off the theme root.

Viewing 5 reply threads
  • You must be logged in to reply to this topic.