• Resolved pete258

    (@pete258)


    Despite of investigations and reading of the “Post my CF7 form” I haven’t been able to solve this issue.

    Situation: I’m using CF7, Post my CF7 Form, Custom and Themify Post Type Builder (PTB including PTB Extra Fields) with the Themify Ultra Theme and some other plugins (latest versions of all of them).

    I have set up a contact form with which I try to “fill” a custom post type via a “Post my CF7 Form” mapping. Because I want the contact form contents to be published right upon clicking the “Send” button in the form, I have amended the functions.php of my child theme with the code suggested by the “Post my CF7 Form” plugin for automatic publishing.

    Issue: I can fill in the form and press “Send”. The new custom post is created. The status of the new post changes to “Published”, the visibility is “public” and date and time of publishing are shown as expected. However, the post is not visible on my website unless I open the custom post and press “Aktualisieren” (I suppose that equals “Refresh” in the English version). Once I’ve clicked “Refresh” the post is shown on the website.

    I have tried to flush the post meta tags as per suggestion of another support case. Unfortunately, this didn’t help.

    The page I need help with: [log in to see the link]

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

    (@aurovrata)

    can you send me a screenshot of your mapping (the same as screenshot #1) so I can see the mapping settings you have used to create your custom post.

    It’s important that you understand how to properly register your posts, especially if you want it to be publicly queryable. You may also have to flush your rewrite rules once the form is submitted by hooking the post saving action.

    Thread Starter pete258

    (@pete258)

    Hi Aurovrata. Thank you very much for the immediate response. I have look into the links you provided above and I assume that the issues encountered are possibly related to one or both of the above. However, as non-developer and not really being familiar with writing PHP-code and hooks, I struggle with understanding which additional code-bits I need to add and where. Please find some explanations and screenshots on what I have done so far and some details on the issue encountered under the below link.

    https://docs.google.com/document/d/18zVke1V1bf98fFg_gFWpdMlknIRuML0EtYNmeFORAaM/edit?usp=sharing

    Thank you in advance for your help which is most appreciated to have our cross-country skiing website work smoothly. Your plugin is at the heart of it.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Good morning,

    as non-developer and not really being familiar with writing PHP-code and hooks, I struggle with understanding which additional code-bits I need to add and where

    unfortunately this plugin has been designed for developers. In the future it is possible that I will make an easier UI for beginners, but this requires a lot of additional effort which current I do not have the resources to accomplish.

    what I have done so far and some details on the issue encountered under the below link

    however, as you can see the plugin is working and mapping your form to your post. The problem is that the creation of the post type (using the plugin ‘Post Type Builder’ is where your issue lies. When you create a new post type, there are many configuration possible, one such configuration to make it public or not (ie visible on the front end of your website). The issue you are facing is that you have created a post type that is not visible in the front end. You need to contact the author of the Post Type Builder plugin and enquire how to make your post type public and visible in the front end.

    You can make a quick test. Create a new post ‘information’ from the dashboard (Add New) and see if you can see this post in the front end.

    If you cannot resolve this, you can reach out to me on vrata at syllogic dot in to hire my help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Publishing in CF7 form in Custom Post type – Status published but post not shown’ is closed to new replies.