How To Create A Metabox in WordPress | Tutorial for Beginners

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • In this video, we go over how to create a custom meta box from scratch!
    Repository: github.com/ale...
    WPScan: wpscan.org/
    💖 Become a Patron to show support & get perks!
    / wpcasts
    Sign up for the newsletter. Free course coming in 2020:
    wpcasts.tv
    *SOCIAL*
    Twitter: / alexanderbyoung
    Facebook: / wpcasts.tv
    #WordPress #Metabox #Beginners

КОМЕНТАРІ • 45

  • @WPCasts
    @WPCasts  4 роки тому +2

    I hope you learned something from this video! Make sure to follow me on Twitter: twitter.com/AlexanderBYoung

  • @starfjord
    @starfjord 2 роки тому +1

    I just took a chance on replacing 'post' with 'product' to get it on the product page instead. I feel like a genius right now :p

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

    Great Video.Thanks for sharing this to us 🥰

  • @RajibAhmad
    @RajibAhmad 2 роки тому

    what you taught us in this 26 minutes video, cant be find on most of the other channels. Thanks a lot. May Allah bless you. Please keep up the good work.

  • @ashleyredman
    @ashleyredman 4 роки тому +1

    Great video, meta boxes still work like a charm for me, also really nice to see another use the class style registration rather than chuck in random hooks & filters everywhere, have't seen many others do it, but I certainly do.

  • @heliocorreia1359
    @heliocorreia1359 3 роки тому

    I always liked to use wordpress with as few plugins as possible. Your simple video helped me a lot. Now I can make my metabox without any third party plugins. Grateful, very grateful. I am already studying the validations and type. It would be a nice video for you to detail. Thanks

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

    Very well explained, thanks 🙏

  • @taqimushaidi1414
    @taqimushaidi1414 2 роки тому

    Whats the outro music? I like it. Ca nyou provide any link of it??

  • @novakjetil
    @novakjetil 4 роки тому +3

    Good video! Is this code basically what happens in ACF, when we create fields like that in their plugin?

    • @novakjetil
      @novakjetil 4 роки тому +1

      You kinda answered all the way at the end :D

  • @vampirekabir
    @vampirekabir 3 роки тому

    learned so many thing from you

  • @CharlesHutchinson
    @CharlesHutchinson 4 роки тому

    Great stuff.. Thanks for putting this together.

  • @DesktopChronicles
    @DesktopChronicles 4 роки тому

    Your videos are awesome man, keep up the good work!

  • @JinSheng1990
    @JinSheng1990 2 роки тому

    thank you so much, you saved me! I am leaning wordpress online but that course just in wordpress 4.0 and I can not understand how to print $_POST and die() to see it, and you just give me this answer :).

  • @Rekwalde_PoE
    @Rekwalde_PoE 2 роки тому

    Hey, if I may ask what's the font you're using for your editor? Also great tutorial, I had found how to create the meta box visual itself but I was lost for DB part, thank you very much!

  • @droidism
    @droidism 4 роки тому

    The only thing I get mad at is short array syntax... JK. Another great vid. Keep it up!

  • @glaghi86
    @glaghi86 3 роки тому

    If I were to develop an autocomplete custom field, what should I do. I develop it as API-REST and then hook it up with jquery?

  • @svetoslavkodzhamanov5602
    @svetoslavkodzhamanov5602 2 роки тому

    One question. How we can run shortcodes in Admin Area. Similar to your example but instead a meta box, we can place shorcode. By just using do_shorcode( ) it doesn't work

  • @evgeniy8695
    @evgeniy8695 4 роки тому

    Can you show please how create module testimonials on Wordpress?

  • @fvgoya
    @fvgoya 4 роки тому

    YEAH!!!!!!!!!!!!! On top of that, will be also good to know of how to include more than one author in a post. Thanks for the content man!

  • @aashilbijukshe5952
    @aashilbijukshe5952 4 роки тому +1

    Can you please make a tutorial about WordPress React? Thanks

    • @WPCasts
      @WPCasts  4 роки тому +1

      Here is a tutorial about Headless WordPress using Create React App: ua-cam.com/video/9KGuI0UmpMw/v-deo.html&

  • @mahdikhav4071
    @mahdikhav4071 4 роки тому

    I’m looking for course that help me just i will want to make a custom field for my music website. And i’dont find anything about it. I have my common data in each post that i have write each time my common data . How enter common data for each custom music data feild that i will not write each time ? Do u help me؟

  • @MarquezChristina
    @MarquezChristina 3 роки тому

    will this show up on the archive/blog page?

  • @moneyfr
    @moneyfr 3 роки тому

    Do you know how use metabox fields as permalink ?

  • @philip9677
    @philip9677 4 роки тому

    Just wonderign why you would this with ACF, wouldn that be easier

  • @rickmonarch4552
    @rickmonarch4552 3 роки тому

    how can i customize woocommerce shop page?

  • @danestrela
    @danestrela 3 роки тому

    Hello bro, could you please share with us error display ?

  • @kishanjasani2681
    @kishanjasani2681 4 роки тому

    Can you please create one short video about do_meta_boxes

    • @WPCasts
      @WPCasts  4 роки тому

      What more would you like to know about do_meta_boxes?

    • @kishanjasani2681
      @kishanjasani2681 4 роки тому

      @@WPCasts I saw do_meta_boxes in wp doc but didn't understood the idea that why we need to use that hook. I didn't understood that what screen option parameters says....like Screen identifier. If you have used add_menu_page() or add_submenu_page() to create a new screen (and hence screen_id) make sure your menu slug conforms to the limits of sanitize_key() otherwise the 'screen' menu may not correctly render on your page.

  • @JimKernix
    @JimKernix 3 роки тому

    This is supposed to be for beginners?

  • @dave28lax
    @dave28lax 4 роки тому +1

    Surprised no one has said it yet, so...Arrested Development.

  • @JimKernix
    @JimKernix 4 роки тому +1

    Please tell me that WP developers don't use Gutenberg.

    • @WPCasts
      @WPCasts  4 роки тому +1

      haha, many do! I personally don't think it's in a spot to fit my needs, but I feel like it's important to still show that this type of meta box still works in the context of Gutenberg.

    • @Arm1q
      @Arm1q 4 роки тому

      And what else are they supposed to use? Just don't tell me elementor...

    • @JimKernix
      @JimKernix 4 роки тому

      @@Arm1q page builders are better than gutenberg - or learn how to build custom pages, posts and fields yourself - although that's a lot to learn

    • @Arm1q
      @Arm1q 4 роки тому

      @@JimKernix 1. I mean, I don't consider builder users as developers. 2. In my opinion gutenberg is better - it is all about priority, my priority is doing non-bloated websites. 3. That is right, that is who I call a developer, the one who does custom templates etc. as you mentioned.

    • @JimKernix
      @JimKernix 4 роки тому

      @@Arm1q Non-bloated? Are you aware of the HTML comments added after every block added? I'm taking 2 different Udemy classes on HTML & CSS, 3 on building a WP theme and 2 on javascript because I'm sick and tired of the slower sites due to page builders and the nonstop use of plugins to fix all the problems from other plugins and page builders. But I'd rather use a page builder than ever consider Gutenberg but that's my opinion and approach on the matter.