How to Add and Edit Custom Post Types via WordPress Form | JetEngine & JetFormBuilder

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024

ความคิดเห็น • 60

  • @caspervsworld
    @caspervsworld หลายเดือนก่อน +1

    I would like to highlight 20:50 : it is very important, to make the correct preset settings. note that its _post_id and not post_id. the form here is different to setup. I recommend to follow the instructions precisely

    • @Crocoblock
      @Crocoblock  หลายเดือนก่อน

      thank you :)

  • @KOBE42__
    @KOBE42__ 2 ปีที่แล้ว

    Just as I was about to start a new project, you guys gave me a tutorial that I was looking for. Thanks guys!

  • @brink6876
    @brink6876 2 ปีที่แล้ว

    Very nice. Calendar functionality of Jetengine was the original selling point for me on the Crocoblock suite in 2018. Every time you make a flick though I learn something new. Keep it up.

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Thanks for sharing!

  • @jeromedebruyne4091
    @jeromedebruyne4091 2 ปีที่แล้ว +2

    Thanks for your tutorial. Maybe it's only me but i am very sensitive to the sound quality to keep focus on this type of video. Would be great to use in a heaset and a good microphone to keep audience attention and not hear the little disturbing noise of your mouse or keyboard .. thanks a lot again

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      We are sorry for that, thank you for sharing your feedback!

  • @naabigaabdoulrazak1959
    @naabigaabdoulrazak1959 2 ปีที่แล้ว

    Really liked this tuto and the way you drove us through the different setup.
    Keep doing the amazing work ! ✌

  • @kmmujahidulislam1218
    @kmmujahidulislam1218 2 ปีที่แล้ว

    BROTHER, YOU ARE THE BEST!!! You oooh really helped me!! THANK YOU VERY

  • @keepcoding-api
    @keepcoding-api 10 วันที่ผ่านมา

    I would have like you to show me how you came about having event display page as you have it. Is it the theme? Or is it a separate page you created and edited that way?
    And secondly, the video editing or capturing makes the writing or features so small to easily know what's what.
    Taking beginners from the scratch on how you arrived at every page you're on is very important in understanding where you're coming from.

    • @Crocoblock
      @Crocoblock  9 วันที่ผ่านมา +1

      To display events we used mainly the possibility of the Profile Builder (JetEngine's module) - so, there are usual templates, no special theme is needed
      Thanks for this feedback, I'll pass it to the team :)

    • @keepcoding-api
      @keepcoding-api 7 วันที่ผ่านมา

      @@Crocoblock PLEASE, I tried to follow your tutorial "2. How to Add and Edit Custom Post Types via WordPress Form JetEngine & JetFormBuilder".
      But EACH time I use the "Edit Event" on the Account page on the frontend it doesn't update and worst of all, the imported Presets "Account" page disappears from the WP list of "Pages".
      I would have to start the process all over again. It get stuck whenever I come to "Edit Event" on the frontend. "Add Event" works fine. But not "Edit Event" I patterned exactly like the Presets imported "Edit Post". Why is this?
      It's frustrating each time the "Account" in list of WP "Pages" just disappears when I try to use "Edit Event" on the frontend! And cannot be found even in the Jetengine selection of Profile Builder Pages.

    • @Crocoblock
      @Crocoblock  3 วันที่ผ่านมา

      in the post submit action you don't need to choose the field with ID - prnt.sc/jRlyckRmXQJj

    • @keepcoding-api
      @keepcoding-api วันที่ผ่านมา

      @@Crocoblock Thank you for your efforts!
      Okay, disappearances of 'Account' from WP 'pages' . . . stopped, but the "Edit Event" creates a new 'updated' event in addition to its old version as if I were using the "Add Event", instead of just updating the old without replicating it as a new 'updated' event.
      And if I try to select the 'Post ID (will update post)' in the post submit action of the "Edit Event', the imported presets 'Account' disappears from WP 'pages' as reported earlier.

    • @keepcoding-api
      @keepcoding-api 21 ชั่วโมงที่ผ่านมา

      @@Crocoblock Hmm!
      I have tried to no avail.
      Rather than the JetEngine 'forms' I used the JetFormBuilder 'forms' to create the "Add Event" form and "Edit Event" form, in the Templates changed the Provider from 'JetEngine' to 'JetFormBuilder' to retrieved both forms. I tried "Add Event" it worked perfectly. But, "Edit Event" rather than update current event it clones the event been updated with effected changes. Like the "Edit Post" it should just update current event.
      Sir, what's the way forward. please?

  • @andreasalardi5623
    @andreasalardi5623 ปีที่แล้ว +1

    Hi, How does the ability to show custom post types fit into roles below admin? in the wordpress control panel?

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      Hi! Please, contact our support on this issue - crocoblock.com/help-center/

  • @burner918
    @burner918 ปีที่แล้ว

    Great tutorial. Thank you.

  • @huynhhieutravel6645
    @huynhhieutravel6645 ปีที่แล้ว

    Can I add members (other users) invited to the Event? When they enter My Event, it will appear (As an event requires participation).
    And it doesn't appear when the event doesn't include them as a member?

  • @stillready6405
    @stillready6405 2 ปีที่แล้ว

    Great video and a off topic question: What are your experiences using the "kava" theme compared to other themes you used, like maybe "Astra" or "Hello Elementor"?

    • @osamu_wakabayashi
      @osamu_wakabayashi 2 ปีที่แล้ว +1

      Kava is great, especially when my projects are running JetEngine and other Croro plugins. If anything goes wrong, the Croco team always gives timely support.

  • @paige470
    @paige470 ปีที่แล้ว +1

    When someone is editing a post, how do you prevent them from simply changing the post ID in the URL to edit a post that they should not have access to?

    • @burner918
      @burner918 ปีที่แล้ว

      This is a great question. Never thought of that but yeah, someone could change the post ID in the URL to pull up a pre-filled form for someone else’s info, right? Did you ever figure out how to prevent this?

    • @paige470
      @paige470 ปีที่แล้ว +2

      @@burner918 Yes, they can change the ID and edit a post you don't want them to access! I did eventually find a solution though. Logically, the only way for the site to know if someone should be able to edit a specific post is if the user is the author of the post OR they're related to it. In either case, you'll need to go into JetEngine settings and enable "Dynamic Visibility". Then edit your page where the JetForm for editing posts lives and add Dynamic Logic to the widget. The tricky part is for the source, you need to pick "Query Variable" and enter the post ID query value (ex: _post_id).
      In my case, I have 2 relations set up: "User to Agency (CPT)" and "Agency to Family (CPT)". The posts users are editing have a grandchild relation to users, but there isn't an option for such relations in the Dynamic Visibility settings; only parent to child relations. So I added a meta field to Users for "Agency ID". In that field, I add the post ID for the Agency post the User is associated with. It's annoying, but a user's Agency will never change so it works fine for me.
      For the Dynamic Visibility on the form, here are my settings: 1. Condition = Equal | 2. Field = User Field (Field = Agency ID, Context = Current User) | 3. Value = Related Items (From Relation: Agency to Family, From Object: Parent, Initial Object ID: Query Variable, Variable Name: _post_id) | 4. Data type = Numeric.
      Now if a user tries to edit a post that they're not associated with, the widget will not appear.

    • @burner918
      @burner918 ปีที่แล้ว +2

      @@paige470 Thank you so much for the super detailed response. 🙏 I will try this approach, but it's great to know there is a way to prevent this, even though it's a bit of a workaround.

    • @davidsantiagopaucar9894
      @davidsantiagopaucar9894 5 หลายเดือนก่อน

      @@paige470 I don't see the metabox data even though I configure the URL query variable.

  • @Art-01
    @Art-01 10 หลายเดือนก่อน

    Thank you for sharing.

  • @guilhermevilasboas9818
    @guilhermevilasboas9818 ปีที่แล้ว

    Amazing video I learned a lot, an idea the next video "how to delete a post after a certain date automatically"

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      Thank you for the suggestion!

  • @HappyHappy_1314
    @HappyHappy_1314 ปีที่แล้ว

    Excellent video! May I know if possible to set listing grid content to be only viewed by logged in user?😊

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      Hi! Could you please enable Dynamic visibility for the listing grid and set the rules to display the widget Show element if User logged in prnt.sc/JS2p6AOXG0qE ?

    • @HappyHappy_1314
      @HappyHappy_1314 ปีที่แล้ว

      @@Crocoblock thanks for great advice😄

  • @alishayanofficial
    @alishayanofficial 2 ปีที่แล้ว

    Hi Osamu! I have a very important question about the custom post type adding and editing with form.
    I created the form and custom post type but without using the account page and the templates. So, when I added form on the normal page and add post, the page itself become the post of the post type. is it necessary to use the account and template page or was it some other mistake?
    I will really appreciate this and was waiting for long time for this tutorial>
    Best Regards,

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว +1

      Hey Ali, you can use form editing without account page/templates. For instance, you want add the form to the page and set the Post Submit Action as you need. If anything goes wrong, please drop a line to the support team, they will gladly guide you or check what is wrong :)

    • @roygh
      @roygh 2 ปีที่แล้ว +1

      To edit a post select as source that is querry variable and put _post_id.
      If you enter the current ID it will take the page ID and return it to publication.

  • @taidang26
    @taidang26 ปีที่แล้ว

    Hi, at 35:31 can I redirect to the detail page of the post I just created or updated?

  • @passtscho8796
    @passtscho8796 2 ปีที่แล้ว

    Nice tutorial, thanks for that :)
    Is it possible to use this workflow without Elementor? for example only with Gutenberg or other page builders. I don't want to pay for Elementor Pro or using other Crocoblock plugins or themes only for getting the template functionality. It would be nice if there will be an additional toturial for this, which only uses jetengine and jetformbuilder and no other 3rd party plugins :)

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Sure, you can use JetFormBuilder + JetEngine with WordPress Gutenberg editor. Just follow the workflow in the video and add the form to the page created in Gutenberg :)
      We have JetEngine Gutenberg playlist here: th-cam.com/video/Ytyc4XXlEYc/w-d-xo.html
      And planning to create more tutorials with WordPress editor :)

    • @osamu_wakabayashi
      @osamu_wakabayashi 2 ปีที่แล้ว

      Just FYI, all my tutorials were made without Elementor Pro.

  • @digdoyopradananurkholis2386
    @digdoyopradananurkholis2386 2 ปีที่แล้ว

    how to create a calendar event menu that can only be seen by others without logging in?

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Please, contact our support on this issue - crocoblock.com/help-center/

  • @madeinusa5395
    @madeinusa5395 11 หลายเดือนก่อน +2

    Wow. So cunfusing. So much back and forth without completing the task at hand. And ending with the start - adding a new post. Very bizarre.

    • @Crocoblock
      @Crocoblock  11 หลายเดือนก่อน

      Hello! We are sorry to hear you found this tutorial difficult for understanding! Could you please contact our support team and ask all the questions you have about this functionality? crocoblock.com/help-center/

    • @e1nspieler
      @e1nspieler 10 หลายเดือนก่อน +1

      Same here! These tutorials need a clear structure :-D

    • @StoneyBoi0613
      @StoneyBoi0613 6 หลายเดือนก่อน

      yeah this was.... pretty bad. I appreciate the attempt though

  • @Website-Developer
    @Website-Developer 10 หลายเดือนก่อน

    Is it possible to build the forms using The Events Calendar post types that are already created?

    • @Crocoblock
      @Crocoblock  9 หลายเดือนก่อน

      You can create a form which Adds new posts in your existing CPT or Update posts. So yes, it's possible to build forms for any of the CPTs on your website :)

    • @Website-Developer
      @Website-Developer 9 หลายเดือนก่อน

      @@Crocoblock Thank you so how do I call The Events Calendar's form fields to a Jet form?

  • @temanbintang
    @temanbintang 5 หลายเดือนก่อน

    How to edit slug with jetformbuilder.?? Please tutorial

    • @Crocoblock
      @Crocoblock  5 หลายเดือนก่อน

      Please, contact our support team for clarification of your question- crocoblock.com/help-center/.

  • @nicolasschiff6164
    @nicolasschiff6164 ปีที่แล้ว

    Hello, thank you for this great tutorial! I followed all of this to the letter to make a system for adding, editing or deleting musical instruments. I don't use the profile builder because I don't need it in this case. However, I notice that when I am just a logged out visitor and want to edit a post that was created while logged into my WordPress admin account, the form fields are not pre-populated. Whereas if I connect to my account, I see the pre-filled fields. Is this normal? How can any user or visitor be able to edit an article with fields pre-filled by someone else?
    Thanks a lot for your help !

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว +1

      For security reasons the pre-sets work for authors of the post which you are trying to edit. Please, contact our support team for clarification of your task - crocoblock.com/help-center/. We will do our best to assist you with your questions.

    • @VFA91
      @VFA91 ปีที่แล้ว

      @@Crocoblock does this mean that if any user enters through the url with an id which he has not created, he will not be allowed to perform any operation on the form?
      Thank you very much

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      It depends on a user's role: www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/

    • @VFA91
      @VFA91 ปีที่แล้ว

      @@Crocoblockthank you very much,

  • @lodesign5911
    @lodesign5911 2 ปีที่แล้ว

    hi the listing grid very strong :) can you pls tell me how i can show woo product that on/have sale price only (product on sale) , super thanks :)

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว +2

      Thank you! These tutorials can help:
      Custom stock status with JetEngine: th-cam.com/video/LVesu51Oi1k/w-d-xo.html
      Also, you can drop a line to our support team and they will guide you :)

    • @lodesign5911
      @lodesign5911 2 ปีที่แล้ว

      @@Crocoblock thanks alllot :)