Skip to content

Magenaut

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

Q&A

How can I put a custom meta box above the editor but below the title section on the edit post page?

August 5, 2022August 4, 2022 by Magenaut

I have a custom meta box for a custom post type that my client wants placed between the title/permalink section and the post editor in the admin panel. Is this possible and if so is there a hook/filter/etc that I would need to use?

Categories Q&A, Wordpress Tags metabox, post-editor Leave a comment

Remove slug from custom post type post URLs

August 5, 2022August 4, 2022 by Magenaut

It seems that all web resources based on the subject of removing a custom post type slug ie

Categories Q&A, Wordpress Tags custom-post-types, posts, slug, urls Leave a comment

How to Require a Minimum Image Dimension for Uploading?

August 5, 2022August 4, 2022 by Magenaut

I need a way to restrict authors from uploading images bellow specific dimensions.

Categories Q&A, Wordpress Tags images, uploads Leave a comment

How to customise the output of the WP image gallery shortcode from a plugin?

August 5, 2022August 4, 2022 by Magenaut

We’re building a plugin that displays posts, and we also want to display the image gallery when it is used in a post. However, we need to limit the number of photos displayed? Is that possible?

Categories Q&A, Wordpress Tags gallery, plugins, shortcode Leave a comment

Display a portion/ branch of the menu tree using wp_nav_menu()

August 5, 2022August 4, 2022 by Magenaut

I have a menu defined in WP Admin that looks like this:

Categories Q&A, Wordpress Tags menus, sub-menu Leave a comment

WP Query Args – Title or Meta Value

August 5, 2022August 4, 2022 by Magenaut

How do I query by meta_value or title?

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

Pagination returns 404 after page 20

August 5, 2022August 4, 2022 by Magenaut

I got a paged loop that pulls in 4 posts per page from custom post type. It works great, with the only downside that the pagination wont go over the page/20 everything after that is 404, and the posts_nav_link won’t show the next arrow at all. Like the pages just aren’t there.

Categories Q&A, Wordpress Tags loop, pagination, wp-query Leave a comment

Get the the top-level parent of a custom taxonomy term

August 5, 2022August 4, 2022 by Magenaut

How would I get the top-level parent of a given term?

Categories Q&A, Wordpress Tags custom-taxonomy, hierarchical, terms Leave a comment

How to check if last uri segment is a custom post type or taxonomy term?

August 5, 2022August 4, 2022 by Magenaut

After following Jeffs suggestion on this thread to create nested parent and child taxonomy terms within a permalink like…

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

Extra TinyMCE editor strips and tags?

August 5, 2022August 4, 2022 by Magenaut

Hey guys, I’ve added a TinyMCE to some textareas that are displayed in a custom meta box. All of the formatting works perfectly fine, except that the editor will not save <p> or <br/> tags. It doesn’t preserve the line breaks.

Categories Q&A, Wordpress Tags editor, line-breaks, tinymce Leave a comment
Older posts
Newer posts
← Previous Page1 … Page2,312 Page2,313 Page2,314 … 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