Use YouTube API with Dynamic Shortcodes in WordPress

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025

Комментарии • 12

  • @BeYourOwnNerd
    @BeYourOwnNerd Месяц назад +1

    Great video Dave! Keep up the great work! 🙂

    • @daveden2
      @daveden2  Месяц назад

      Thank you! It is very much appreciated.

  • @tobisalami
    @tobisalami 2 месяца назад +2

    Just the video I wanted to see! You're marvelous! Watching now!

    • @tobisalami
      @tobisalami 2 месяца назад +2

      Excellent video. Thank you!

    • @daveden2
      @daveden2  2 месяца назад

      Thanks!!

  • @techiesreviews
    @techiesreviews 2 месяца назад

    Nice vid dave! Loving it hahah. I find shortcodes to be user-unfriendly, the reason being you don't see a visual way for what you are actually adding.

    • @daveden2
      @daveden2  2 месяца назад

      If you're working with Elementor or Breakdance, you can see the output on the page. But with Bricks and Gutenberg, it only renders on the front end.
      The reason for that was that Bricks tends to do some page caching, especially when working with templates, so you would see old results or results from the wrong page.
      I hope they'll include the preview again.

  • @vitalpilze
    @vitalpilze 2 месяца назад +1

    thank you for the video. most of us have no youtube channel. can you please do another api tutorial maybe with something common

    • @daveden2
      @daveden2  2 месяца назад

      Have you seen my previous video? I showed a few examples there.
      ruclips.net/video/oyJRT1srGhw/видео.htmlsi=FodXv8t_bhzKkSgc
      I will look at showing another example.

    • @vitalpilze
      @vitalpilze Месяц назад +1

      @@daveden2 awesome thanks

  • @maxziebell4013
    @maxziebell4013 2 месяца назад +1

    Getting pretty complex. Why use a shortcode abstraction when I could just write direct code? The required syntax and indentation feel Too complex and unique to the solution, and at that level I would rather learn the real thing. Hence, use and modify real code, with caching based on standard web/PHP principles. This could be added to functions.php or a snippet … I might be biased.

    • @daveden2
      @daveden2  2 месяца назад

      Yes, to be honest, you can do everything directly in code.
      The indentation was mainly to organise the code. It doesn't have any impact on the function.
      I think one of the benefits is that you can take the data from the API and easily manipulate it in your Bricks elements without having to write a separate code for it.
      But it would have definitely been nicer to use a GUI for it. I believe there is a GUI for Elementor users with the Dynamic Content for Elementor plugin. I haven't tested the update yet.