Creating Custom Post Types With Advanced Custom Fields

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 45

  • @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.

  • @SanongPenmongkol
    @SanongPenmongkol 4 місяці тому

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

  • @DoStemwithMsDandy
    @DoStemwithMsDandy 7 місяців тому +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 UA-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? 😉

  • @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

  • @AvaneeshKumarSingh
    @AvaneeshKumarSingh Рік тому +2

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

  • @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 Рік тому +1

    Very helpful, it's so detailed

  • @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/

  • @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. 😀

  • @whitneylee33
    @whitneylee33 8 місяців тому

    Very helpful, thank you!

  • @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.

  • @california_ray
    @california_ray Рік тому +2

    I love your videos. period.

    • @DavidMcCan
      @DavidMcCan  Рік тому +2

      Thank you for the kind words.

  • @melaniemarrot6276
    @melaniemarrot6276 4 місяці тому

    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

  • @nicolaskeith8945
    @nicolaskeith8945 10 місяців тому +2

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

  • @carolmaI1mn
    @carolmaI1mn Рік тому +1

    Really interesting and useful! Thanks

  • @ekcelhenrichekoumelong4457
    @ekcelhenrichekoumelong4457 Рік тому

    Thank you for your work. That was incredible!!

  • @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

  • @captusn7838
    @captusn7838 6 місяців тому

    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?

  • @HSRehman
    @HSRehman Рік тому

    A quality content, thank you

  • @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.

  • @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.

  • @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.

  • @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 5 місяців тому

    Thanks :)

  • @cholo2605
    @cholo2605 5 місяців тому

    Thanks!!!

  • @konjkavi-offical
    @konjkavi-offical 21 день тому

    Install pods feel power