Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

query

Why my query ‘REPLACE INTO…’ does not work?

August 5, 2022 by Magenaut

To insert or update data if data exists, I was using ‘REPLACE INTO…’ in a var $query_string
like this :

Categories Q&A, Wordpress Tags dbdelta, query Leave a comment

Shortcode with loop stacks output

August 5, 2022 by Magenaut

I found some shortcode to display a custom post type, but it’s not display how I envisioned.

Categories Q&A, Wordpress Tags code, custom-post-types, loop, query, shortcode Leave a comment

Delete post revisions only for a single post

August 5, 2022 by Magenaut

How to delete post revisions only for a specific post identified by its ID using an SQL query?

Categories Q&A, Wordpress Tags database, posts, query, revisions Leave a comment

Taxonomy archive page listing terms instead of posts

August 5, 2022 by Magenaut

Is it possible to show list of taxonomy terms in archive page instead of the post list? Via modifying the query and not temper with theme templates?

Categories Q&A, Wordpress Tags advanced-taxonomy-queries, plugin-development, query Leave a comment

Dynamically populate query source in Elementor post widget

August 5, 2022 by Magenaut

I want to call dyanamically categories in the post widget of Elementor. I created a function to call results from a field created with ACF (a dropbox select of posts categories):

Categories Q&A, Wordpress Tags custom-field, query Leave a comment

Is it good practice to use wpdb->query() function?

August 5, 2022 by Magenaut

I am using custom php code to perform data insertion, deletion, updating and other tasks. I am able to insert data into a table in two different ways,

Categories Q&A, Wordpress Tags database, functions, mysql, query Leave a comment

How to mass delete one line from all posts after site hack

August 5, 2022 by Magenaut

My WordPress site has been hacked and every post has had

Categories Q&A, Wordpress Tags bulk, hacked, query Leave a comment

wpdb COALESCE won’t work

August 4, 2022 by Magenaut

I am struggling to get the result using COALESCE from custom table. I need to run a second query if the first results null but wpdb resulting query string itself rather than the result.

Categories Q&A, Wordpress Tags mysql, query, wpdb Leave a comment

Having trouble with custom date field for CPT query (WordPress)

August 4, 2022 by Magenaut

I’ve read as many of the questions and answers on here as I can find and none of the solutions are working for me. No idea what I’m doing wrong here.

Categories Q&A, Wordpress Tags custom-field, custom-post-types, query, wp-query Leave a comment

How is it possible to get top comment from all children?

August 4, 2022 by Magenaut

I’m able to check whether or not the parent comment is the top comment:

Categories Q&A, Wordpress Tags query Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page7 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress