Skip to content

Tag: wordpress

Wp return result from sql using AJAX

I need some help i am making a wordpress plug in. when i try to get some rows from sql thro a AJAX post i will get nothing back. Even if i try just to return a string it will stays empty. I Dont get any error . Thank you so much for helping. Script: my function: Answer You should

Custom field in multiple selection

I’ve started WordPress 1 month ago and i’ve just done my first hook into the website (just to add/remove an estimated delivery date). Once i’ve had this I was thinking that I’ve broke the website (LMAO) but it was just a postmeta problem. The postmeta value just need to be added on on …

Whats the right syntax to CONCAT in wpdb?

I’m quiet new in working with wordpress database tables. So far I know because of the wpdb documentation how to update a row in a table. Now i want to achive to update the row and keep the old data in that row. I’ve read that you can use the CONCAT function to get this working but I’ve no cl…