Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

wpdb

Home/ wpdb/Page 2

wpdb – issue with save custom post meta in custom table

Question
until now, I was saving my custom post meta in post_meta table. and my code was: function add_book_meta_box() { add_meta_box( 'book_meta_box', 'book info', 'show_book_meta_box', 'book',
0
Saeed 7 months 0 Answers 0 views

custom post types – See if the email exists or not

Question
I have extracted a bunch of emails using PHP IMAP connection and assigned those emails to a custom post type. Here's the code how I assigned those emails to custom post type. $total = $emails->total_msg(); for ($j=1; $j <= $tot
0
Rohit KC 8 months 0 Answers 0 views

wpdb – Register custom table for WP to use in a plugin

Question
I am trying to add a custom table handler to $wpdb. public function __construct() { $this->register_tables(); } public function register_tables() { global $wpdb; $wpdb->tables[] = 'my_new_tablename'; } pub
0
Alvaro Franz 9 months 0 Answers 0 views

plugin development – $wpbd->insert_id is returning null

Question
I have been trying to return a $wpdb->insert_id; but unfortunately, it is returning null; What am I doing wrong here? I am sending data using ajax from the front end. Here is the backend code. function add_fav() { global $wpdb;
0
Jewel Mahmud 9 months 0 Answers 0 views

Get updated post meta on save_post action

Question
I'm trying to save post id and keyword (Yoast Focus Keyword) to a custom table when post is created or updated via save_post action. It saves everything fine on Publish (first-time) but when I update the post, it gets old value for focus key
0
Key 11 months 0 Answers 0 views

database – SELECT rows between two datetimes when the range is dynamic

Question
I'm trying to select rows that fall into a certain date range from my database table. The range is determined dynamically by the user. In my database I have a column called "dateAndTime". It has dates stored into it in this format: 20
0
Antti 1 year 0 Answers 0 views

mysql – User set date and time from frontend doesn’t get stored into database

Question
My application lets users store diary entries into a database table. They are free to set the date and time to what they need using html inputs (so I can't simply use the current time because they might want to create an entry in the past). I'm ab
in progress 0
Antti 1 year 0 Answer 0 views

no result returns when using $wpdb->get_results with where clause

Question
I have 2 mysql queries, 1 with where clause, 1 without where clause. The one with where clause is not able to generate results eventhough the query is correct, I have tested it on PhpMyadmin. Meanwhile the one without where clause works just fine. How to
0
Murniyanti Malik 1 year 0 Answers 0 views

How to get all term meta for a taxonomy – getting term_meta for taxonomy

Question
TL;DR: I'm trying to get the meta_value display_type for a taxonomy, but it returns blank (even though I can see it in the database). This question wants to access a term meta that is on a the taxonomy: pr
0
Zeth 1 year 0 Answers 0 views
1 2
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

  • 404 error - Page not

    ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.
      Skip to toolbar
      • About WordPress
        • WordPress.org
        • Documentation
        • Support
        • Feedback