Creating Custom Post Types With Advanced Custom Fields

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

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

  • @sidikvideos
    @sidikvideos ปีที่แล้ว +6

    Great tutorial! I like also the very relaxing tone of your voice.

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

    Thanks so much. Excellent tutorial. Clear and concise. I just spent an hour watching a different tutorial that was trying to explain the same features but the author was not a native English speaker and it was pretty much impossible to follow his broken English when he would omit important key words.

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

    This is helpful! Thank you for the detailed walkthrough.

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

    Hello, David! Thank you for the excellent content that you provide on your channel. I really appreciate your work, and I am looking forward to seeing more videos on ACF. I have noticed that most of the videos on TH-cam are tailored to Elementor, which doesn't interest me.

  • @AthloneH
    @AthloneH ปีที่แล้ว +5

    Thank you for the video David, always helpful. How about a Metabox vs ACF showdown now that they both have CPT abilities? 😉

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

    Hi David, Can we have an ACF vs ACPT comparison video with all new features of both the tools?

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

    very good tutorial
    by the way, how do we display extra field in the post list ?

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

    Great video David - what did you use to generate the Lorem Ipsum in the dropdown please? Looks like it came from your menu bar?

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

      A browser extension called "Lorem Ipsum Generator". There are several of them in the extension store. I guess these days I should be using AI to create something more real like. 😀

  • @HaifengZhu-pn3uq
    @HaifengZhu-pn3uq ปีที่แล้ว +1

    Very helpful, it's so detailed

  • @nicolaskeith8945
    @nicolaskeith8945 9 หลายเดือนก่อน +2

    Hey Dave, great video. Question: wouldn't book authors be a taxonomy?

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

    Hello, thanks for this video. I have a question, you may have the answer ! I have created an ACF custom post type but my posts (in the admin menu) are, by default, ordered by name. How to order them by date of creation ? Thanks

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

    I love your videos. period.

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

      Thank you for the kind words.

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

    Thank you for your work. That was incredible!!

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

    Would like to understand how to use a number field or Text field for Addresses which are numberic and text. ACF said I could use only one. What's up?

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

    Hi love the video very well put together. One question I have is how do you remove the post type key from the url slug. I could do this very easily in CPTUI?
    Thanks
    Danny

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

      I have managed to sort it thanks Danny

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

    Very helpful, thank you!

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

    Hello! Thank you for your tutorial. I have noticed that select fields have the search option when creating a new post. I have tried to enable it using the Stylized UI option but it still does not show up when creating new custom post. Help? :D thx

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

    Your tutorial is extraordinary, I only have a question: how would you make the permalink show the category to which the book belongs? Did you make a taxonomy called Generate?

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

      There was a taxonomy called Genre. The show on the right side in the editor.

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

      @@DavidMcCan Thanks for responding but what I mean is that in the natural section of WP which is POST, and when you select that category under the Title your route appears including the taxonomy of the selected category.
      In the case of CPT, by nature, that permalink does not appear under the title and when you select your Gender category, the url does not contain said category and that is exactly what I need to know if it is possible for the CPT from the plugin to do that.
      I solved that using a permalink code from the wordpress core. But the ideal is for the ACF Pro to do it.

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

      @@mikethefunkmorales - So for the permalink. I haven't tried it, but the docs mention that you can specify a custom slug. On this page under PERMALINK REWRITE: www.advancedcustomfields.com/resources/registering-a-custom-post-type/

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

    Thanks for this info. Very useful. I'm planning on using Formidable Forms to do frontend CRUD for s business directory. It can save entries as CPT, which I am planning to create somehow--ACF looks great. Formidable also has views for displaying on the front end. I want to use a CPT because I'm planning to use FacetWP for filtering on the front end, which requires a CPT. I want the listing owners to be able to categorize etc for searching on the front end. Any advice on this would be appreciated? I'm getting a little confused figure out how it will all fit together, but I don't think it should be super complex.😃

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

      Using Custom Post Types makes sense. The easiest way to make facets is using Categories and tags. Those are usually the default sources for the filters. You can use custom fields for the filters, but that is more advanced. Hope that helps.

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

    Really interesting and useful! Thanks

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

    David, thank you for the tutorial, could you tell me specifically what that "Hierarchical" function is for at 10:00? Im a beginner and noticed that without this option my cpt archive template give me a 404 error. While if I activate this function it's ok. Thank you

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

      When it is hierarchical it is like categories and when it is not it is like tags. Perhaps you have an archive for categories and not tags or when you created the archive you added a field to output for one and not the other?

  • @HaifengZhu-pn3uq
    @HaifengZhu-pn3uq ปีที่แล้ว

    hi, I want to create one custom field in my post to use it in Dynamic Content, shall I do this with Custom Post Type UI or Advanced Custom Fields?

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

      Advanced Custom Fields. You don't need CPT-UI any more.

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

    A quality content, thank you

  • @HaifengZhu-pn3uq
    @HaifengZhu-pn3uq ปีที่แล้ว

    hi, I have already created custom post type, how can I add categories to the custom post type

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

      If you created the Custom Post Type using ACF, then you can use it to create the custom taxonomy also. The video show that.

    • @HaifengZhu-pn3uq
      @HaifengZhu-pn3uq ปีที่แล้ว

      @@DavidMcCan hi, I have created one taxonomy, how can I add sub-taxonomy under this taxonomy?

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

      Set it as being hierarchal.

  • @SebastiánMillán-j4g
    @SebastiánMillán-j4g ปีที่แล้ว

    Hi David! Thanks for the video, you just saved my work haha! I want to ask you if there's a way for listing in the autor's page the books just by that author, and when i click on another author, the same, see only the books of that author. Thanks again for the video!

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

      Yes, it is called the author archive. When you create your front-end templates you'd create one called author.php, or it will use the archive.php if that doesn't exist. If you are using a page builder then check its archive options. If you are creating a custom one then you can use the posts block or the query loop or whatever of that type of block and instead of category you filter by author. In the post meta you make the author's name a link.

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

    Thanks!!!

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

    Lat update lost me... So many changes I cant catch up :/

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

      Sorry to hear that. There have been a lot of changes. Many, but not all, can be ignored -- you can keep using CPT-UI, for instance, if you want to.

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

    Thanks :)

  • @konjkavi-offical
    @konjkavi-offical 2 วันที่ผ่านมา

    Install pods feel power