Skip to content

Magenaut

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

Q&A

the_date() not working

August 4, 2022August 3, 2022 by Magenaut

I am using wordpress 3.2 and I did a query post like this:

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

Modify Taxonomy pages to exclude items in child taxonomies

August 4, 2022August 3, 2022 by Magenaut

I found this question:

Categories Q&A, Wordpress Tags advanced-taxonomy-queries, pre-get-posts Leave a comment

How can I add a URL field to the attachments window?

August 4, 2022August 3, 2022 by Magenaut

For example…

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

Nested custom post types with permalinks

August 4, 2022August 3, 2022 by Magenaut

I am trying to set up a multi-level custom post type structure with permalinks that look like authors/books/chapters, with authors, books, and chapters all set up as their own custom post type. For example, a typical URL on this site might look like example.com/authors/stephen-king/the-shining/chapter-3/

Categories Q&A, Wordpress Tags custom-post-types, hierarchical, permalinks Leave a comment

How can I add columns to the post edit listing to show my custom post data?

August 4, 2022August 3, 2022 by Magenaut

When you click on “Posts” or “Pages”, you get a paged listing of your posts or pages with the following columns:

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

Adding custom columns to custom post types

August 4, 2022August 3, 2022 by Magenaut

I’ve done this previously but I’ve forgotten the name of the hook, and can’t find it anywhere…

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

Disable update notification for individual plugins

August 4, 2022August 3, 2022 by Magenaut

Is there a way to disable update notifications for specific plugins?

Categories Q&A, Wordpress Tags notifications, plugins, updates Leave a comment

Regenerate Slugs From Title of Posts

August 4, 2022August 3, 2022 by Magenaut

is it possible to regenerate the slugs programmatically after changing the titles of the post? Numerous post titles were updated and the slug was not updated with the title so I need to regenerate all these slugs.

Categories Q&A, Wordpress Tags get-posts, slug Leave a comment

Theres a way to use $query->set(‘tax_query’ in pre_get_posts filter?

August 4, 2022August 3, 2022 by Magenaut

Theres a way to use $query->set('tax_query', ...) in pre_get_posts filter? for example next code is not altering the query. Note that I’m building $taxonomies from and custom search.

Categories Q&A, Wordpress Tags pre-get-posts Leave a comment

Why does save_post action fire when creating a new post?

August 4, 2022August 3, 2022 by Magenaut

I’m surprised by the fact that my function that I’ve tacked onto the save_post action fires when I click the “New Post” link in the Admin Dashboard. Note – this is before I’ve pressed Save or Update, and it fires immediately, not after an elapsed time or auto-update.

Categories Q&A, Wordpress Tags actions, save-post Leave a comment
Older posts
Newer posts
← Previous Page1 … Page2,335 Page2,336 Page2,337 … 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