What and When to use static blocks vs dynamic blocks: WordPress Native Gutenberg Blocks Development

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Migrating your shortcodes, old code to use WordPress native Gutenberg blocks?
    Learn the difference between static blocks vs dynamic blocks in the Block editor experience so as to make the best choice of in that change.
    Code sample: github.com/YTT...
    HOW TO SUPPORT THE CHANNEL
    =============================================
    Do you like what I am doing?
    Join channel membership to get access to perks: / @techiepress Buy me a coffee through www.buymeacoff...
    Give via PayPal: paypal.me/laur...
    Visit omukiguy.com/s...
    I am social too:
    Facebook: / techiepress-1001496550...
    Twitter: / omukiguy
    Blog & Newsletter: omukiguy.com
    Github: github.com/ytt...
    -------------------------------------------------------------------------------
    LEARN MORE IN THE WELL CURATED PLAYLISTS BELOW
    --------------------------------------------------------------------------------
    Learn how to build a plugin from scratch: • Plugins Vs Functions.p...
    WooCommerce E-Commerce customizations
    == Build Free Custom E-commerce Online Shop using WooCommerce - • WooCommerce customizat...
    == Build Free Custom Theme for E-commerce Online Shop using WooCommerce -
    • Woocommerce Restaurant...
    ====== Build Dynamic Websites with Elementor ======
    == Learn the Elementor basics - • Elementor Beginner Tut...
    == Build a custom Elementor Widget from Scratch - • Build Custom Elementor...
    ====== How to use WordPress Gutenberg Block Editor ======
    WordPress 5.4 Gutenberg Blocks Updates
    == • WordPress 5.4 Gutenber...
    WordPress Gutenberg blocks for Designers
    == • WordPress Basics Train...
    Gutenberg WordPress Block Editor tutorials for beginners
    == • WordPress Basics Train...
    Custom WooCommerce Gateway Development from Scratch
    == • Build Custom WooCommer...
    WordPress Custom REST API Namespaces, Endpoints and Examples from Scratch
    == • Create Custom WordPres...
    ====== WordPress Plugin Development from Scratch ======
    Build Most Popular & Most Commented Post Plugin
    == • Build WordPress Most P...
    Build SMS Plugin with External WordPress API Integration using custom WordPress Databases
    == • Build SMS Plugin - Ext...
    WordPress External APIs Integration Plugin Development
    == • WordPress External API...
    Convert WordPress to mobile App in Headless WordPress
    == Convert WordPress Sports Website into Mobile Application - www.youtube.co...
    Make GraphQL API endpoints with WordPress Headless CMS WPGraphQL Plugin
    == • Make GraphQL API endpo...
    Customize Your WordPress & ClassicPress
    == Build Custom REST API Endpoints with WordPress or ClassicPress - • Build Custom REST API ...
    Custom Dashboard Widgets
    == • Custom Dashboard Widge...
    Build Custom Admin
    == • Custom Admin for WordP...
    Learn Git
    == Git tutorial for writers + software developers for beginners - • Git tutorial for begin...

ความคิดเห็น • 8

  • @SagarKowe
    @SagarKowe ปีที่แล้ว +1

    Love your Gutenberg block series. There's not many tutorials covering this topic and I find yours the clearest and easiest to follow while still going in depth. Please keep them coming!

  • @elimenendez237
    @elimenendez237 9 หลายเดือนก่อน

    Thank you! the WordPress codex was not very clear about the differences and why should I use one or the other, I was getting really confused and you helped me clear it out.

  • @johnny2598
    @johnny2598 7 หลายเดือนก่อน

    If i need to make an image slider with Swiper js should i use static or dynamic blocks ?

  • @yixiguan6520
    @yixiguan6520 ปีที่แล้ว

    Thank you. I learned something new from you video. My question is, how to use a state in render.php. For example, get post by ID. And the ID is a text field in the block?

    • @TechiePress
      @TechiePress  ปีที่แล้ว

      I am glad this was helpful. You can use the global $post and get the post ID. I admit the last part of your question is a bit confusing. Could you share more details?

  • @PhilaUAdam
    @PhilaUAdam ปีที่แล้ว +1

    Great stuff!

  • @theman7050
    @theman7050 ปีที่แล้ว

    Awesome vids man. Maybe a typo in the video title? It says 'What' it should be 'When to use', yeah? :)

    • @TechiePress
      @TechiePress  ปีที่แล้ว

      Thanks for the idea! I hope it helps the viewer 😁