Skip to content

Magenaut

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

Wordpress

Create a shortcode to display custom post types with a specific taxonomy

August 1, 2022July 31, 2022 by Magenaut

I created a page template to list all products of a specific product line.
Now I want to list all posts from this custom post type (products) based on the taxonomy described in the shortcode for each page.

Categories Q&A, Wordpress Tags custom-post-types, custom-taxonomy, shortcode Leave a comment

Is it possible to remove the main rich Text box editor?

August 1, 2022July 31, 2022 by Magenaut

I am using the simple fields plugin to provide additional rich text editors and have no need for this ‘main’ text editor box on any of my ‘page’s

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

Creating a Custom Post Type for Inserting Preset Content into Post & Pages?

August 1, 2022July 31, 2022 by Magenaut

In response to Mike Schinkel‘s comment (see below) on my post about how to pre-populate content (essentially using a content template)…

Categories Q&A, Wordpress Tags custom-post-types, page-template Leave a comment

How can I bulk delete media and attachments using WP-CLI?

August 1, 2022July 31, 2022 by Magenaut

I’m trying to mass delete 4000 images in a wordpress website. WP itself sets the max to 999, which would work fine and take a few minutes to delete them via the backend. However, I get REQUEST URI TOO LARGE because the backend form uses GET instead of POST.

Categories Q&A, Wordpress Tags attachments, media, media-library, wp-cli Leave a comment

SELECT max(meta_value) FROM wp_postmeta WHERE meta_key=’price’… stops working when value is over 999

August 1, 2022July 31, 2022 by Magenaut

Overview: I am not trying to return a post. I simply want the single highest value for a particular meta_value across all posts… just the value itself.

Categories Q&A, Wordpress Tags custom-field, meta-query, meta-value, sql, wpdb Leave a comment

Full Domain Mapping with WP3 in Multiuser Mode

August 1, 2022July 31, 2022 by Magenaut

You may have learned already to reconfigure your WP3 so that it loads in MU mode, and set it for subdomains.

Categories Q&A, Wordpress Tags multisite Leave a comment

Post being redirected to attachment post

August 1, 2022July 31, 2022 by Magenaut

That’s strange issue I have on this one website. Similar to this problem and I am trying to get this fixed from last couple of weeks.

Categories Q&A, Wordpress Tags attachments, permalinks Leave a comment

Using a custom WP_Query with get_template_part loop

August 1, 2022July 31, 2022 by Magenaut

I have a query for a custom post type:

Categories Q&A, Wordpress Tags get-template-part, loop, wp-query Leave a comment

WordPress and magic quotes

August 1, 2022July 31, 2022 by Magenaut

I’ve been writing some WordPress plugins, and I’ve been having some problem with WordPress putting magic quotes on POST and GET data.

Categories Q&A, Wordpress Tags php, plugins Leave a comment

Display last login time

August 1, 2022July 31, 2022 by Magenaut

I am using this script to get the last time a user logged in

Categories Q&A, Wordpress Tags date-time, login Leave a comment
Older posts
Newer posts
← Previous Page1 … Page400 Page401 Page402 … Page430 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