Тёмный
No video :(

Tailwind CSS + WordPress Theme & Block Type Boilerplate 

LearnWebCode
Подписаться 340 тыс.
Просмотров 31 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 72   
@kalpanabandara6019
@kalpanabandara6019 Год назад
I remember when I didn't have any knowledge about programming and I found Brad's channel from one of his video from 10 days JS series and started watching every video of his channel. Every piece of content he teach is very easy to grasp. watching his tutorials and testing them in practical by doing some projects helped me to learn and start my career as a web dev. Cant thank you enough!!
@SebastianPerezG
@SebastianPerezG 2 года назад
Dude , i just saw one of your Tutorials , the one Become a Wordpress ... and i love how do you explain things , it will be AWESOME if you can make something similar but with Woocommerce theme development !!! there are very limited tutorial around here and they are not very deep like the one that you did.
@karansingh-jx8nc
@karansingh-jx8nc 2 года назад
Please make a video series on woocommerce theme development or a hotel booking system in WordPress.... Thank you for your knowledgeable content
@AJonesB83
@AJonesB83 Год назад
Very great tutorials. I worked many years with the classical Wordpress then went off to React developer land and now coming back to Wordpress to catch up and your videos definetely are great so thank you!
@henrihuisman6464
@henrihuisman6464 2 года назад
It would be so useful if there was also an example / boilerplate of using Tailwind with the new FSE approach, in line with your latest "Become a WordPress Developer" course addition. It is so hard to find good "beginners" information about it, I'm stuck on it for days.
@zaifhossain8509
@zaifhossain8509 2 года назад
I love you teaching Brad, you're the best
@cleibertxxx
@cleibertxxx 2 года назад
This guy is an amazing teacher
@brianloriga
@brianloriga 3 месяца назад
Love your videos..Took your Udemy Bootcamp last year. Is there a video showing how extend this current set up multiple blocks in this same plugin, this includes file structure, updates to how the package.json would work, etc
@EronMahmuti
@EronMahmuti 5 месяцев назад
hello Sir, I see you as a wordpress king for youtube, hopefully you will create a tutorial for react-wordpress theme development like the one "university-theme" you did. That would be very useful for developers I guess.
@Michael_Fritzke
@Michael_Fritzke Год назад
BRO THX MEN, AMAZING STUFF ! i had issues with wordpress 6.0.3 , then change to 6.0 and tailwind works without problems ! maybe it helps somebody
@FernandoClaussen
@FernandoClaussen 2 года назад
Thanks for this video. One thing I am having trouble wrapping my head around is the duplication issue. We now have Tailwind classes loading on the theme e potentially the same classes loading on the plugin. I wish the plugin could somehow see that the theme already declared those classes and avoid redeclaring them. This can cause issues if someone changes themes but since I build all the custom blocks and themes from scratch at work it would be ok.
@suleymanali_76
@suleymanali_76 Год назад
Thank You Very Much. I Am Grateful For The Hot Reload And TailwindCSS
@jugibur2117
@jugibur2117 Год назад
Wow, this is a great implementation of Tailwind, thanks!
@whammoexplode
@whammoexplode Год назад
Hi Brad, Thx so much for sharing this, it's a great help!
@sigurdwatt877
@sigurdwatt877 4 месяца назад
This is awesome. Just wondering though.. if you have a really big WP website with lots of blog posts then I guess React would not be the best choice as it will build the HTML for ALL the blog posts on render which will mean it takes ages to render the first time..? Fantastic to see modern JS frameworks actually being using with WP though and Tailwind of course, thanks very much for the great content :)
@mwaqaspro
@mwaqaspro 2 года назад
Always Good to see you Sir!
@zensukai
@zensukai 2 года назад
This is awesome Brad, thank you! =)
@israelestrada6342
@israelestrada6342 10 месяцев назад
amazing video, thanks for sharing Brad
@Michael_Fritzke
@Michael_Fritzke Год назад
i have install it 1:1 up to you but the tailwind dont show the changes like background color changes ? anybod can help ?
@garethBarry_dev
@garethBarry_dev 5 месяцев назад
Great resource this - having an issue with the auto reload however. Everything is fine on the VSCODE side however Chrome isn't auto reloading for some reason. Any ideas?
@Allformyequine
@Allformyequine 2 года назад
This is super cool! I've added TW to Wp before but this covered a lot of missing details for me; just great thank you! One thing I'm not getting and so hope nobody is thinking this is a dumb question; so here goes... i'm not understanding the point of the boiler plate Block Type Plugin is that just a starting point for you to build other blocks that has TW in it ~ I mean is it just to show how you might use TW in a plugin do I have that right?? I was puzzled at what that was exactly for??
@LearnWebCode
@LearnWebCode 2 года назад
The block type is mainly there just because this boilerplate repo already existed before I added Tailwind (it was using SCSS). Back then, the point of the repo was how to use React on the front-end / public facing portion of your website. In other words, WordPress makes it easy to use React in the admin / Gutenberg editor, and there's tons of documentation, but if you want your actual front-end to use React for a block type there's zero documentation and you have to get creative to make it happen yourself. So since it was in the repo already, why not add a Tailwind version. Also, it shows how you can use nesting and prefixes in Tailwind to prevent your plugin from affecting the styles of the rest of the site / vice versa.
@Allformyequine
@Allformyequine 2 года назад
@@LearnWebCode OK great yes, I get it now thank you!! This is good stuff!
@thewaliiiii
@thewaliiiii 2 года назад
Nice! Let's say I know the basics, and all I want is to add Tailwind to an existing theme I bought so I can overwrite the styles effectively. Can I use your boilerplate for this? No JS, just classes to existing PHP templates.
@LearnWebCode
@LearnWebCode 2 года назад
My boilerplate will have a lot of extra stuff you don't need. In my tailwind-theme folder, you could go into the tailwind.config.js file and only keep the reference to php files, remove the js one. Then, in my package.json file, the only script/task you'd want is the "tailwindwatch" one, and then you'd just need to handle going into the existing theme's functions.php file and enqueuing the new/extra css file located at /build/index.css.
@thewaliiiii
@thewaliiiii 2 года назад
@@LearnWebCode Thank you so much 🙏🙏
@salauddinayub3958
@salauddinayub3958 2 года назад
love From Bangladesh sir❤️
@garden520
@garden520 Год назад
Brad, I've run into a problem. I am using the theme boilerplate with Tailwind and making it a block theme. It appears that having the line add_theme_support('wp-block-styles'); in the functions.php file adds a .editor-style-wrapper class in the block editor and overwrites add_editor_style(build/index.css) file. It odes not do that in the FSE. Any idea on how to fix this?
@elabinnovations
@elabinnovations 8 месяцев назад
How to use GSAP animation inside custom block with tailwind?
@MizMartha123
@MizMartha123 Год назад
WordPress updates major changes these days. With the newest version of WP 6.0.2, the theme and plugin work, but as soon as I add the post, single and index.html files. The index continues to work on the frontend but the backend says "This block has encountered an error and cannot be previewed”. The plugin works on the backend, but stops working on the frontend and it's empty on the front end. Perfectly fine on the editor.
@annafeledi7909
@annafeledi7909 7 месяцев назад
Hello! Your video is great! I have a big problem. I did everything as you showed, but after changing the bg color to yellow or anything else, nothing happens. However, it is displayed in devtools textually, but nothing is visible visually. Please help me :(
@ravimakwana1641
@ravimakwana1641 Год назад
Thank you so much for the boilerplate, Is it purge the CSS with tailwind?
@umairmalik4517
@umairmalik4517 2 года назад
Hi Brad, longtime student, first time commentor. Your courses helped make me $$, btw best teacher on the web! Anyways, React is working but Tailwind classes don't seem to be chaning the styles, I see the casses being applied ofc but not changing the rendered styles. Any suggestions?
@annafeledi7909
@annafeledi7909 7 месяцев назад
did you manage to solve it? I have this problem too
@umairmalik4517
@umairmalik4517 7 месяцев назад
@@annafeledi7909 I don’t recall this but can follow up with you just allow me sometime to review.
@ilkerbalc3956
@ilkerbalc3956 2 месяца назад
Thanks, can we ask for bootstrap one? but not with cdns, bootstrap installed one please.
@glecio1203
@glecio1203 Год назад
i love you for this!! thank you😍
@zickonezero
@zickonezero Год назад
Outstanding.
@jonmunoz
@jonmunoz Год назад
Nice video, thanks! I am looking for a way to use the predefined colors, sizes etc configured in the tailwind.config file to give the user the posiibility to change font and border colors etc. without having to savelist all the required classes. What would be the way to achieve this?
@logimw
@logimw 11 месяцев назад
You've shown me a lot of stuff, tailiwind in wp was exactly what i was looking for. I have one issue. Browsersync is not reloading the page, of course rebuilding it's working fine, but i need to manually refresh the page. Any idea? I'm using windows
@MrVishalGaikwad
@MrVishalGaikwad Год назад
Suppose we have both custom theme and custom plugin. Is there a way to use the same tailwind config OR we will have to build both theme and plugin separately?
@visualmodo
@visualmodo 2 года назад
Very good video!
@mojlbhr1480
@mojlbhr1480 2 года назад
Good tutorial, but there is one issue Warning ⚠️ from tailwind about nesting. This issue has discussion on source in CRA
@abdullaalfaiyaz1890
@abdullaalfaiyaz1890 2 года назад
Is there any chance of creating a PHP course just like your WordPress course ? Doing a big project and in the process your are learning about the programming language itself. In udemy most PHP courses are backdated or not that much interesting because your favourite instructors are not making it. Probably everybody thinks that its already dead or people are not interested in PHP anymore. So its kind of good news for a new PHP course cause not everybody is making one and there might be a great chance that your one will be a standalone since it will be a new course and somehow best instructors such as you are not making any courses in PHP anymore!
@LearnWebCode
@LearnWebCode 2 года назад
That's actually one of the course ideas I've been working on organizing lately. It's still very far away from being completed and released, but it is indeed something I'm gradually working on. Glad to know there would be some interest for it!
@DavidMSSmith
@DavidMSSmith Год назад
He also recently released a Laravel PHP course which is highly recommended.
@Aimee-kt1nh
@Aimee-kt1nh 11 месяцев назад
Could you make a video on wordpress/scripts Gutenberg block themes (Not Plugin) and serverside, also with Tailwind that would be great. thankyou.
@unity_12
@unity_12 Год назад
amazing!
@sheraz_razzaq
@sheraz_razzaq 2 года назад
Fav Sir ❤️❤️First One ❤️
@emperoroftheearth3215
@emperoroftheearth3215 2 года назад
Thanks
@bilalyounas8240
@bilalyounas8240 2 года назад
very helpful, bro could you make a video on the Lottie file + WordPress
@BneiAnusim
@BneiAnusim Год назад
This Tailwind with ACF image won't show at all: bg-[url()] Has anyone encountered this behavior? This way works but is ugly: style="background-image: url();"
@razvanfrandes
@razvanfrandes 2 года назад
Hello Brad, thank you for sharing your knowledge. :) I extended the tailwind to use PostCss import, prefix etc.. But how can I make the JavaScript to have 2 separate main files: 1 for Gutenberg development, and 1 for the front end of the site, using the same package.json file ? BTW, just finished your Udemy course, I think is the only one that explains how to create Gutenberg blocks with react, well done, and thank you again :)
@LearnWebCode
@LearnWebCode 2 года назад
Thanks! Doesn't my "block-plugin-tailwind" example in the linked GitHub have 2 separate files, 1 for Gutenberg (index.js), and 1 for the front-end (frontend.js)? Or do you mean, how could you have both your own WordPress Theme and your own custom block types all in the same overall folder? In the full WP course I have all of them in one single theme folder, as we build a block theme (2nd to last chapter in the course); essentially, in package.json - when you spell out the "start" task that uses "wp-scripts" you can feed it as many files as you want, instead of just one file. It will handle outputting them to uniquely named files in your "build" or "dist" folder.
@razvanfrandes
@razvanfrandes 2 года назад
​@@LearnWebCode Thank you Brad, I wanted to have both block development and front end development in the same folder. I revisited your course and managed to implement it correctly :) Thank you.
@krisroadruck5081
@krisroadruck5081 2 года назад
wait does wrapping the @tailwindcss bits in a class like that also force this to apply to preflight styles? Because if it did you just solved a major headache for me.
@LearnWebCode
@LearnWebCode 2 года назад
I think the preflight / baseline styles also get wrapped. Here's my example built / final file in the plugin setup that uses the nesting strategy: github.com/LearnWebCode/brads-boilerplate-wordpress/blob/main/brads-boilerplate-block-plugin-tailwind/build/index.css
@vuedev
@vuedev 2 года назад
nice. thanks for the video. vite + vue.js video next?
@LearnWebCode
@LearnWebCode 2 года назад
I only know the basics of Vue, so I'm probably not the best Vue teacher, however, the next video on this channel is indeed using Vite 🙂
@protocode_227
@protocode_227 Год назад
well, now I only need Vue and VIte in there :D
@OmidFaryabi
@OmidFaryabi 2 года назад
hi brad can you plz do a type script video
@dywa_varaprasad
@dywa_varaprasad 2 года назад
udemy coupons not working
@LearnWebCode
@LearnWebCode 2 года назад
I'm sorry about that. Udemy only lets instructors create 3 coupons per month for a course. Whenever I post a RU-vid video I go and create new coupons for the courses, but Udemy only lets each coupon last 5 days, which doesn't last for an entire month. I hope Udemy will change that in the future.
@garden520
@garden520 2 года назад
I can get the preview script to run. The url has %27 added before and after my domain name.
@garden520
@garden520 2 года назад
I am using XAMPP on Windows. Any Idea what is going on.
@LearnWebCode
@LearnWebCode 2 года назад
I think %27 is the URL encoded version of the single quote character; are there any extra sets of quotes in your package.json script/task area where you spell out your local dev domain?
@garden520
@garden520 2 года назад
@@LearnWebCode No. This is the code: "sync": "browser-sync start --proxy 'bbh' --files '**/*.php' 'build/*.js' 'build/*.css'", I am stumped.
@garden520
@garden520 2 года назад
@@LearnWebCode I fixed the %27 by putting \ before the quotes and using " (i.e. \"localhost/bbh/\". It spins up the the web site and is now working.
@lalkaskar7147
@lalkaskar7147 11 месяцев назад
@@garden520 Thanks! You're amazing! 🥳
@patriotlightning7791
@patriotlightning7791 2 года назад
Ever heard of Underscorestw?
@LearnWebCode
@LearnWebCode 2 года назад
I'm familiar with undescores, but hadn't seen this Tailwind focused one. I checked it out, but it doesn't look like their starter code comes with React / block types (and connecting the dots between Gutenberg and front-end) all pre-wired and ready to go like my example.
@patriotlightning7791
@patriotlightning7791 2 года назад
@@LearnWebCode Oh man you're right :D
Далее
Why You Should Try Tailwind CSS
41:03
Просмотров 13 тыс.
Tailwind CSS for WordPress Developers
47:42
Просмотров 7 тыс.
WordPress Full Site Editing But For Developers
19:22
Просмотров 24 тыс.
Styling Forms with Tailwind CSS
17:25
Просмотров 140 тыс.
Install TailwindCSS in WordPress [2024 GUIDE]
3:58
Просмотров 1,3 тыс.
WordPress - Custom Post Type
15:06
Просмотров 10 тыс.
WordPress Block Theme Development
47:33
Просмотров 23 тыс.
How to Become a WordPress Developer
11:02
Просмотров 6 тыс.