Creating Custom Post Types With Advanced Custom Fields

Поделиться
HTML-код
  • Опубликовано: 25 дек 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.

  • @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 RUclips are tailored to Elementor, which doesn't interest me.

  • @HaifengZhu-pn3uq
    @HaifengZhu-pn3uq Год назад +1

    Very helpful, it's so detailed

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

  • @ekcelhenrichekoumelong4457
    @ekcelhenrichekoumelong4457 Год назад

    Thank you for your work. That was incredible!!

  • @carolmaI1mn
    @carolmaI1mn Год назад +1

    Really interesting and useful! Thanks

  • @AvaneeshKumarSingh
    @AvaneeshKumarSingh Год назад +2

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

  • @california_ray
    @california_ray Год назад +2

    I love your videos. period.

    • @DavidMcCan
      @DavidMcCan  Год назад +2

      Thank you for the kind words.

  • @whitneylee33
    @whitneylee33 8 месяцев назад

    Very helpful, thank you!

  • @nicolaskeith8945
    @nicolaskeith8945 10 месяцев назад +2

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

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

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

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

  • @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 9 месяцев назад

    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/

  • @dannykirk2917
    @dannykirk2917 Год назад

    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 Год назад +1

      I have managed to sort it thanks Danny

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

  • @HSRehman
    @HSRehman Год назад

    A quality content, thank you

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

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

  • @cholo2605
    @cholo2605 5 месяцев назад

    Thanks!!!

  • @ahmedshalaby8832
    @ahmedshalaby8832 5 месяцев назад

    Thanks :)

  • @konjkavi-offical
    @konjkavi-offical 29 дней назад

    Install pods feel power