Skip to content

Magenaut

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

Q&A

Safe to disable wptexturize?

August 1, 2022July 31, 2022 by Magenaut

To optimise the speed of my platform (beyond caching, database optimisation, JPEG compression, CSS sprites etc), it has come to my attention that disabling the wptexturize() function may give some minor results.

Categories Q&A, Wordpress Tags functions, optimization Leave a comment

How to prevent posts from being published too close to each other?

August 1, 2022July 31, 2022 by Magenaut

I manage a blog which consists of about 25 writers. Sometimes a few of them are in the process of writing a new post at once, and they end up publishing them too close to each other.

Categories Q&A, Wordpress Tags posts, publish, scheduled-posts Leave a comment

Is there un-wp_autop function?

August 1, 2022July 31, 2022 by Magenaut

I have a problem with WP that need your help. Some of my posts have content that was applied “wp_autop” filters already. This filter turned all double break lines into <p> tag. I want to the opposite thing: turn all <p> tag into double break lines.

Categories Q&A, Wordpress Tags content, wp-admin, wp-autop Leave a comment

How to auto-upgrade my plugin?

August 1, 2022July 31, 2022 by Magenaut

How do I have my plugin pop up with that New version available. Upgrade Automatically dialog to appear when my plugin has a new version? Specifically for plugins not hosted on the WP.org repository.

Categories Q&A, Wordpress Tags plugin-development Leave a comment

Find most recent authors

August 1, 2022July 31, 2022 by Magenaut

What I’m looking to do it get the 16 latest posts from 16 different authors. In other words there would be the 16 latest posts, but no one single author would have more that 1 post on the page.

Categories Q&A, Wordpress Tags author, loop, posts Leave a comment

Can i use php sql functions instead of $wpdb?

August 1, 2022July 31, 2022 by Magenaut

I’m new to WordPress and was wondering why in WordPress API do they tell you to use functions such as prepare(), insert(), get_col(), get_row(), query(), etc. when technically I can use the built-in PHP-SQL functions such as mysqli_query(), mysqli_fetch_assoc(), etc.

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

Query posts only with featured image

August 1, 2022July 31, 2022 by Magenaut

I want to query 6 posts, but only those which have a featured image attached. I am using meta_key method for this with WP_Query as such:

Categories Q&A, Wordpress Tags post-thumbnails, wp-query Leave a comment

What is “meta_input” parameter in wp_insert_post() used for?

August 1, 2022July 31, 2022 by Magenaut

I am inserting some post into wordpress using the function wp_insert_post().

Categories Q&A, Wordpress Tags custom-field, post-meta, wp-insert-post Leave a comment

Can this site be built using wordpress?

August 1, 2022July 31, 2022 by Magenaut

I want to know if this site can be built with wordpress, I’m a programmer and I don’t know anything about wordpress, how I’m just to get some good advices from you guys:

Categories Q&A, Wordpress Tags development-strategy Leave a comment

Creating a custom public user page

August 1, 2022July 31, 2022 by Magenaut

I’d like to develop a plugin that allows me to have custom user pages. I really like the way the author archive template handles the URL: /author/username. I don’t want to rewrite the author_base as I’d like to keep that functionality in place untouched.

Categories Q&A, Wordpress Tags author-template, custom-post-types, plugin-development, url-rewriting Leave a comment
Older posts
Newer posts
← Previous Page1 … Page2,547 Page2,548 Page2,549 … Page2,571 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