How to Create Custom Fields in WordPress Without a Plugin?

  Рет қаралды 18,933

WP Simple Hacks - Wordpress tips and tricks

WP Simple Hacks - Wordpress tips and tricks

Күн бұрын

Пікірлер: 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!
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Glad it helped
@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
@wpsimplehacks
@wpsimplehacks Жыл бұрын
You're welcome ☺️
@richardshaules3981
@richardshaules3981 6 ай бұрын
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 6 ай бұрын
Sorry, can't help you with this. It would be wise to ask about it from the plugin support team.
@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?
@visualmodo
@visualmodo 2 жыл бұрын
Very good job!
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Thank you! Cheers!
@tristanabais1044
@tristanabais1044 2 жыл бұрын
Great content. Just lacking repeater custom field, and it will be perfect 🙂
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Agreed!
@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.
@barbaragerbert1847
@barbaragerbert1847 2 жыл бұрын
Thank you for this video. Is there an option in the code snippet to unset or hide the field when they are empty
@barbaragerbert1847
@barbaragerbert1847 2 жыл бұрын
I found that It works with css .my_class:empty{display:none;}
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
:)
@akbarshakir9458
@akbarshakir9458 2 жыл бұрын
Always amazing content. Thank you for sharing such content.
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Glad you enjoy it!
@kmmarch60
@kmmarch60 2 жыл бұрын
Excellent tutorial!
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Glad you liked it 🙂
@mw1076
@mw1076 3 ай бұрын
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 3 ай бұрын
It would be wise to ask about it from the plugin support team
@mw1076
@mw1076 3 ай бұрын
@@wpsimplehacks ok, thank you.
@fabrictexture4767
@fabrictexture4767 Жыл бұрын
Great dear well explained
@wpsimplehacks
@wpsimplehacks Жыл бұрын
Glad you liked it
@lodeluyckx
@lodeluyckx 6 ай бұрын
Great video, thanks!
@wpsimplehacks
@wpsimplehacks 6 ай бұрын
You're welcome!
@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 жыл бұрын
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.
@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.
@doeyehof
@doeyehof 2 жыл бұрын
Very helpful!!! thanks
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Glad it helped. 🙂
@theman7050
@theman7050 2 жыл бұрын
Very useful. Thanks.
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Glad it helped 🙂
@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 Жыл бұрын
What's wrong with the ACF free version? ☺️ wordpress.org/plugins/advanced-custom-fields/
@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
@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
@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 жыл бұрын
Maybe this helps you although I haven't tested it with custom fields kzbin.info/www/bejne/pGOcgKlul8tqbdk
@rodrigoscustodio
@rodrigoscustodio 2 жыл бұрын
Great video!
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Thanks 🙂
@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 жыл бұрын
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 жыл бұрын
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 !
@HaifengZhu-pn3uq
@HaifengZhu-pn3uq Жыл бұрын
This is helpful
@wpsimplehacks
@wpsimplehacks Жыл бұрын
😊
@bagel8472
@bagel8472 4 ай бұрын
Ok but how can I get the custom field to show up as a dynamic field in Elementor?
@wpsimplehacks
@wpsimplehacks 4 ай бұрын
You need an Elementor Pro to display dynamic content
@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.
@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 Жыл бұрын
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
@advanced-developers
@advanced-developers 2 жыл бұрын
good video.
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Glad you enjoyed it
@pixelgap
@pixelgap 2 жыл бұрын
Amazing video. Thank you so much for the info. You are amazing.
@wpsimplehacks
@wpsimplehacks 2 жыл бұрын
Thanks 😊
@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/
@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 3 ай бұрын
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 3 ай бұрын
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! :)
Creating Custom Post Types With Advanced Custom Fields
28:46
David McCan
Рет қаралды 46 М.
Advanced Custom Fields & Gutenberg Beginners Guide
15:19
Jamie WP
Рет қаралды 19 М.
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 9 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 80 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 16 МЛН
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 1,7 МЛН
How to Set Up Woocommerce Custom Related Products? (3 minute hack)
8:40
WP Simple Hacks - Wordpress tips and tricks
Рет қаралды 13 М.
How to Create a Custom Woocommerce Thank You Page in Less Than 10 minutes?
11:09
WP Simple Hacks - Wordpress tips and tricks
Рет қаралды 20 М.
12 Woocommerce Hidden Secrets Every User Should Know
13:45
WP Simple Hacks - Wordpress tips and tricks
Рет қаралды 5 М.
How to Display Posts and ACF Fields in WordPress (2 Ways)
32:44
Envato Tuts+
Рет қаралды 31 М.
BEST Website Builder 2024 (My TOP Recommendation)
15:27
Metics Media
Рет қаралды 1,5 МЛН
How To Create Custom Post Types & Custom Fields WordPress Tutorial
40:00
WPCrafter.com WordPress For Non-Techies
Рет қаралды 158 М.
WordPress 6.6 is changing the game for Custom Fields
11:12
Brian Coords - WP Dev
Рет қаралды 9 М.
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 9 МЛН