How to Create Custom Fields in WordPress Without a Plugin?

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

КОМЕНТАРІ • 86

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

    🅱️ Blocksy theme wpsimplehacks.com/blocksy (SAVE 10% Coupon WPSH10)
    🔵 Kadence Blocks Pro and Kadence theme here: wpsimplehacks.com/kadence (SAVE 10% Coupon SIMPLEHACKS)

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

    I didn't know that WordPress code generators even existed until I watched this video, thanks!

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

    Wow ... I've searched for a way to create custom fields for custom post types without any of that big extensions. Thank you ;3

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

    Great content. Just lacking repeater custom field, and it will be perfect 🙂

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

    Always amazing content. Thank you for sharing such content.

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

    Great video, thanks!

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

    Very useful. Thanks.

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

    Very helpful!!! thanks

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

    Hello and thanks for taking the time to share this! Quick question for you, I want to create a customer user registration form with FluentForms and link those values to a BuddyBoss profile. I've tried to use Automator plugin, but it doesn't seem to connect fields other than a text field. Do you have any idea how I could display that inputs from a FluentForm user registration form to a BuddyBoss profile?
    Thank you!

    • @wpsimplehacks
      @wpsimplehacks  5 місяців тому +1

      Sorry, can't help you with this. It would be wise to ask about it from the plugin support team.

  • @mw1076
    @mw1076 2 місяці тому

    I have installed BRW rental and booking plugin and it doesn't have a file field for input image or pdf from user in frontend. Can I create a file field directly to this plugin to show it in frontend?

    • @wpsimplehacks
      @wpsimplehacks  2 місяці тому

      It would be wise to ask about it from the plugin support team

    • @mw1076
      @mw1076 2 місяці тому

      @@wpsimplehacks ok, thank you.

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

    Excellent tutorial!

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

    Very informative video

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

      Glad you think so!

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

      @@wpsimplehacks I have question, I am using Blockcy and Elementor free version, I am looking for a plugin to use gsap in Elementor advice plz

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

    do you have a snippet for oembed field? wp skills doesn't seem to have one and generate wp's is pay-locked

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

      Sorry, but unfortunately I can’t help you with that.

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

    Your tutorials are amazing, I learn something new every time, Thanks!
    Is there an easy way to Output a media file (image/gallery) in the frontend? Like The advanced text block but for media
    Thanks!

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

      Kadence Blocks has an Advanced image block that works with custom fields.
      And Kadence Blocks (free) has an Advanced Gallery block you can use. It doesn’t work with the custom fields though.

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

    Great dear well explained

  • @bagel8472
    @bagel8472 3 місяці тому

    Ok but how can I get the custom field to show up as a dynamic field in Elementor?

    • @wpsimplehacks
      @wpsimplehacks  3 місяці тому

      You need an Elementor Pro to display dynamic content

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

    Very good job!

  • @vai.junior
    @vai.junior Рік тому

    Is it possible to create custom field in woocommerce product back end and then show that field via the shortcode? Or maybe create product atribute and the show it via the shortcode in the particular place of product description? I have not found anyone who managed to do that, that would be amazing video tutorial with many views! For example create custom field in woocommercce back and with "Product Size" and then make custom table in description and add that size in that table.

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

      You can accomplish that with Avanced Custom Fields plugin. Add fields to products and use shortocode to output them. See here www.advancedcustomfields.com/resources/shortcode/

    • @vai.junior
      @vai.junior Рік тому

      @@wpsimplehacks Thank you, but thats $50 a year per website. Is there a way to replicate that using snippets?

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

      What's wrong with the ACF free version? ☺️ wordpress.org/plugins/advanced-custom-fields/

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

    Really great video!! but where do I paste the frontend custom fields if i refuse to use code snippet? And I used a different metabox generator as the one from the video needed me to upgrade to pro

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

      If you're not using a Code snipüets plugin or any other plugin for adding snippets then you need to create a child theme and add the code to the functions.php file.
      By the way, what other meta box generator you're using?

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

    Is there a way to update the custom fields information in bulk? So for instance, you don't have to go to each product and enter the data?

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

      Maybe this helps you although I haven't tested it with custom fields ua-cam.com/video/n29Ov8bf77w/v-deo.html

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

    Great video!

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

    Another great video thanks. I am trying to show my custom fields on a custom post type (only) without editing the theme code, is there an easy way to do that, please?

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

      Find out your CPT slug and use it to add custom fields to it.
      For example, if the CPT slug is "properties" then use it in Meta Box Generator in a way that I use "product" slug in a video to add custom fields for Woocommerce.

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

    Thank you for this video. Is there an option in the code snippet to unset or hide the field when they are empty

  • @HaifengZhu-pn3uq
    @HaifengZhu-pn3uq Рік тому

    This is helpful

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

    Hi, ty for all the time you put in making us smarter, really appreciate ! I follow your tutorial to add a new tab after review and also how to install metabox on my product tab. How do i link the 2 of them together ? I buy print from artist and then turn them into shirts. I would like to be able to mention them in my tab with the link to find them to give them work. Ty !

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

      Sorry, coudl you explain a bit more. At the moment I did not understand what is it you’re trying to do.

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

      It's a bit trickier and need custom coding. It would be wise to hire someone from Fiverr to create this solution for you.

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

      @@wpsimplehacks ok thanks for your help !

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

    Amazing video. Thank you so much for the info. You are amazing.

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

    Nice tutorial as always. One question. In you tutorial you show how to display custom fields into Woocommerce products. What if I want to display custom fields on an archive page. Is there a way to do that.

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

      Yes, just use a Woocommerce archive hooks. See here www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/

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

      @@wpsimplehacks Thank you for your response. Sorry I was not clear. I am taking about displaying the custom fields not on Woocommerce archive but on a post archive page. I used custom fields on a custom post type and I want to display the values on an archive page. Nothing to do with woocommerce. I don't have Elementor Pro to do that so I am looking for a workaround solution. Thanks in advance

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

      In this case it depends on your theme and whether it uses hooks for archive page. If it does then you can use those hooks. It would be wise to ask from your theme developer which hooks locations they use.
      For example, I use Blocksy Pro theme and this allows me to add custom fields on archive pages in two ways: 1) From the customizer CPT page settings 2) Using hooks that Blocksy uses

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

      @@wpsimplehacks Thanks a lot. Have a nice day. I love your videos. Thank you for all the work you do

  • @vai.junior
    @vai.junior 2 роки тому

    You have amazing demos. After watching kadence vs blocksy I even bought $649 lifetime Kadence bundle. Now I am wondering if I done correct decision as you use Blocksy everywhere. Why not Kadence?

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

      It depends on your needs. I still use Kadence blocks and Kadence Shop Kit everywhere and Kadence aconversionse here or there. But as a theme I like Blocksy more. It has a bit more customization ootions and more Woocommerce related features. It doesn't mean that Kadence isn't a good theme. It still is for certain. 🙂

    • @vai.junior
      @vai.junior 2 роки тому

      @@wpsimplehacks would you say thay you can achieve more customisation with Blocksy than Kadence? I spend days researching both and cant make my mind up. Do you use Blocksy just because you started with it (as its older) and you know it better or its truly better theme if combining it with kadence shop kit and blocks?

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

      Actually I discovered Kadence half a year before I discovered Blocksy. For me, the structure of the Customizer is better in Blocksy and Pro version has more customization options (support for custom fields, for example). Take a look at the Blocksy related video playlist in my channel and you'll see what type of site I have crested with it.
      But once again, it all depends on your needs. Test the Blocksy free to see how it suits you and then you can decide whether to test Pro. They have a 14-day money back guarantee. Also, in my video descriptions there's a 10% discount coupon for you.

    • @vai.junior
      @vai.junior 2 роки тому

      @@wpsimplehacks do you think Blocksy will integrate well with ALL premium Kadence plugins?

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

      So far for me everything has worked well. Kadence Blocks color picker isn't linking with Blocksy theme colors, but this is a minor thing for me.

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

    Where did Custom field on frontend come from?

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

      It's in the video 🙂 You create a custom fields and the output them in frontend.

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

      @@wpsimplehacks there is no explanation where you got the second code from, the first code you got from the site the second where?

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

      @@ChrisDaleArt Did you look in the video description? There are two links:
      Meta Box Generator wp-skills.com/tools/meta-box-generator
      Code Snippets shown in the video: wpsimplehacks.com/how-to-create-custom-fields-in-wordpress/

  • @advanced-developers
    @advanced-developers 2 роки тому

    good video.

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

    Amazing content!! but what if i want to add this fields to the pages and anywhere only from gutenberg.?..thanks

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

      Kadence Blocks Pro is the plugin that allows you to add dynamic content using Gutenberg.
      If you’re interested, then see the link in the video description for 10% discount.

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

    Dear advice for gsap plugin
    Regards

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

      What is GSAP plugin?

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

      @@wpsimplehacks to put JS code there

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

      Once again, what is GSAP plugin? :)
      Nevertheless, I don’t use Elementor and therefore it would be wise to ask about it directly from the Elementor support team.

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

      @@wpsimplehacks to animate using JavaScript there is custom code in Elementor pro but my question is where I put that kind of codes

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

    #BEWARE #NOTFREE generator. it gets your email first, THEN tells you you cannot use it unless you buy the Pro version/subscription ("This generator is for PRO users only.")

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

      Thanks for the heads-up. It seems that they've cancelled the free version.

  • @CS-uc2oh
    @CS-uc2oh 2 місяці тому

    This started off good and went straight to hell when it came time to add the fields to the frontend. You got lazy with the instructions. And BTW, you absolutely used a plugin for this didn't you? Good grief.

    • @wpsimplehacks
      @wpsimplehacks  2 місяці тому

      This comment started off well and went straight to hell when it came to blaming me for you not understanding the tutorial. It seems that you got lazy with pausing the video and concentrating on the content. Otherwise, why did other users figure out what to do? And by the way, I absolutely mentioned in the video that you can add the code to your child theme’s functions.php file, hence, use this without any plugin. Good grief! :)