How To Interact With The WordPress Database | WPDB Development Tutorial

Поділитися
Вставка
  • Опубліковано 10 лип 2024
  • In this video, we go over WPDB and how you can use it to safely retrieve data from the WordPress database.
    My favorite caching plugin - WPRocket: wpcasts.tv/go/wprocket
    💖 Become a Patron to show support & get perks!
    / wpcasts
    *SOCIAL*
    Twitter: / alexanderbyoung
    Facebook: / wpcasts.tv
  • Наука та технологія

КОМЕНТАРІ • 30

  • @corneliuskamwi6000
    @corneliuskamwi6000 11 місяців тому

    Thanks for this tutorial , its an eye opener i want to venture in worpress development and this has just made my life. been trying to find a way to interact with the wp database for so long . again thanks you are amazing👏

  • @beracode9394
    @beracode9394 3 роки тому

    As always a great video to learn new things about WP.

  • @HuyLe-vv7go
    @HuyLe-vv7go 3 роки тому

    Good stuff 👍 thanks for sharing

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

    Amazing tutorial

  • @harmonicresonanceproject
    @harmonicresonanceproject 3 роки тому

    Excellent, thanks.

  • @lewyathan
    @lewyathan 3 роки тому +2

    love the content, you're the best!

  • @ovidiublaga1
    @ovidiublaga1 3 роки тому +10

    Thanks for the tutorial. It would be great if you would make an entire tutorial with more complicated database queries with Join, etc. Between different tables. All wordpress developers will appreciate it. Thank you.

    • @jasongoossens
      @jasongoossens Рік тому +3

      Kinda beyond the scope of this video, it has nothing to do with WordPress and everything to do with SQL.

  • @BuntyWP
    @BuntyWP 3 роки тому

    Perfect

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

    Hi, is it possible to apply ajax to load more terms, that you retrieved through wpdb? Totally struggling with it.
    Pls let me know what you think

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

    Did you create that php file? If you didn't, does any interaction have to be done in this file? Like creating a table and stuff. Thank you

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

    Is it possible to apply ajax load more to a query that you retrieved from wpdb. I’m working on retrieving terms not posts, and want to apply ajax to them.
    Really struggling with it. Is it possible?

  • @frankdrolet9439
    @frankdrolet9439 3 роки тому

    Great content au usual! Do you have a paid in-depth WordPress course?

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

    thanks in advance for your major work , my question and i think it can be kind a silly , but i'll do it anyhow ... i did a query and i got a result into a php variable $something and now i want to send the value to a jsvar so i can use that same value in the elements that i built . if you can give me an answer it would perfect thank you very much

  • @muhammadusmanakram406
    @muhammadusmanakram406 3 роки тому

    Can you make series on wordpress plugin development?? Please it'll be of alot help

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

    Hello! After using $wpdb, should the SQL connection be closed? What is the correct way to do it?

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

    Do you plan to create a premium WordPress theme or plugin development courses?

  • @etfs
    @etfs 3 роки тому +1

    I'd love to see a video about how to store data in the WP DB!
    E.g. you have a cronjob that pulls data from an external API at a fixed point of time each day and then pushes it to an array in the DB. Not sure if that's possible, but would be so much easier storing this simple array in the WP DB instead of setting up an external server.
    Anyways, great intro that made me aware of several thinkgs I didn't know yet. Thanks for sharing!

    • @WPCasts
      @WPCasts  3 роки тому +2

      Give this video a look: ua-cam.com/video/LWM41Rcao3s/v-deo.html

    • @etfs
      @etfs 3 роки тому

      @@WPCasts That's awesome, wish I had seen that video sooner. Thanks Alex!

  • @misters6451
    @misters6451 3 роки тому

    Hi! Thanks a lot! How do you feel about using Wordpress as Dashboard and GUI, and writing all the content output logic through own tables and queries?

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

    I try to figure out how to find my old website that I created in WordPress. Site is not active anymore but it was created in WordPress so all the information is sometwhere there in the database. Where do I find that? If I type my site address with /wp-admin I get the message that there is an error because the domain is not active anymore, but I just want to enter the database with all the page I created. How can I do that?

  • @Gigabyteserviceofficial
    @Gigabyteserviceofficial 3 роки тому

    Please your full music which is started at 8:47

  • @user-oj1er6tv5o
    @user-oj1er6tv5o Рік тому

    Can you please explain how to store contact form 7 data in the database of WordPress? I have been stuck in this for a while and need some help.

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

    How to make Wordpress Database work with write and read-only ?

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

    Would you accept a job of building a website?

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

    😊