• Resolved brookjacoby

    (@brookjacoby)


    I use the plugin for a form that must report in a cpt and it works fine.
    BUT…
    I created a second form with CF7 (which I want to use as a form…) then I saw that a CPT has been created and added to the menu. Even though it’s in draft mode and that I want to disable the show_in_menu option, It sticke there. And the show_in_menu option keeps getting enabled…
    Am I missing something? Does every CF7 forms MUST BE associated with a CPT once the plugin is used?

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Am I missing something? Does every CF7 forms MUST BE associated with a CPT once the plugin is used?

    no not at all.

    When you create a new form, no mapping is created. If you play around with the mapping, then it assumes you are trying to map it and once you update your form, it saves the default mapping….

    You can proceed to delete the mapping from the form table, which currently has a bug and does not work, but which I am fixing in the upcoming v5.3

    Thread Starter brookjacoby

    (@brookjacoby)

    Hi, I will reformulate my question, as I realize it might not be clear : I created a new form, without going in the mapping tab, and it automatically added a cpt in the WordPress dashboard menu… Is not normal? Then I tried to disabled the “show_in_menu” option in the tab, but it won’t work (the option is always checked as enabled).

    Plugin Author Aurovrata Venet

    (@aurovrata)

    t automatically added a cpt in the WordPress dashboard menu… Is not normal?

    no, this is not normal. Are you able to repeat this? Create a new form and see if it creates a new CPT? I am not able to do this on my server.

    Then I tried to disabled the “show_in_menu” option in the tab, but it won’t work (the option is always checked as enabled).

    ok, I will check that, but nonetheless, if you don’t map a form then no CPT should be created

    Plugin Author Aurovrata Venet

    (@aurovrata)

    automatically added a cpt in the WordPress dashboard menu… Is not normal?

    so I did some tests on my server, and the CPT is only created with you navigate to the mapping tab and interact with any field, even opening a dropdown menu and not selecting any field will trigger the mapping update, and if you proceed to update your form, the default mapping is then saved automatically.

    So if you accidently mapped your form, simply delete the mapping (in v5.3 which I will release this week).

    Thread Starter brookjacoby

    (@brookjacoby)

    Hi, I will wait for v5.3 to see if I can delete the CPT… But it creates a CPT as soon as I create a new form. I can send you a video if you want to see it.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Then I tried to disabled the “show_in_menu” option in the tab, but it won’t work (the option is always checked as enabled).

    I confirm this is an error. Thank you for reporting this.

    I have fixed this issue in v5.3 and you can download and manually update to v5.3.0rc2 from the GitHub repo if you want to try.

    But it creates a CPT as soon as I create a new form. I can send you a video if you want to see it.

    can you check v5.3rc2 and see if this still happens. If it does, a video would be very useful, thanks!

    PS: to delete a mapping in v5.3, simply navigate to the quick-edit section of your form i nteh form table page, and check the delete option.

    Thread Starter brookjacoby

    (@brookjacoby)

    I tried and :
    – I can now uncheck the show_in_menu option
    – It still create a CTP (and shows it in the menu) when creating a from (and without going to the “Form to post” tab or anything else.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I can now uncheck the show_in_menu option

    good.

    It still create a CTP (and shows it in the menu) when creating a from (and without going to the “Form to post” tab or anything else.

    1. apart from the CF7 plugin and this one, are you using any other cf7 extensions? Can you try deactivating these other plugins to see if creating a new form still creates a new mapping.

    2. When you create a new form, can you check if you are getting any js errors in your console.

    Thread Starter brookjacoby

    (@brookjacoby)

    Hi, I tried with not other plugins : same result (and I don’t use any other CF7 extension).
    Then, I tried with the default WP theme (I normally use Divi), and I get the same result…
    And no errors

    • This reply was modified 3 years, 2 months ago by brookjacoby.
    Plugin Author Aurovrata Venet

    (@aurovrata)

    ok, thanks for ruling this out. Can you send me a screen capture video of creating a new form, saving it and returning to your contact form table listing the new form

    Thread Starter brookjacoby

    (@brookjacoby)

    Sure, here’s the video

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Got it! Thanks for that. I will run a few more tests and come back to you.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    found a tiny bug …fixed and now released in v5.3

    Thread Starter brookjacoby

    (@brookjacoby)

    It works, thanks!

    Plugin Author Aurovrata Venet

    (@aurovrata)

    great. Do leave a review when you have a moment to spare.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Automatic CPT and show_in_menu?’ is closed to new replies.