Skip to content

Magenaut

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

Q&A

Display Editable Text Above CPT Archive Listings

August 3, 2022August 2, 2022 by Magenaut

I have two custom post types (Authors and Partners). I display their archive page’s in the main navigation and use archive-authors.php and archive-partners.php to make a couple small tweaks to the display of posts in each.

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

How to get the custom post type from an archive page?

August 3, 2022August 2, 2022 by Magenaut

In my website I have three custom post types: scripts, scenes and plugins. When visiting the archive page of a single post type (i.e. by going to mysite.com/plugins) you correctly see all the posts of that type.

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

Is there a hook that fires before an ajax call?

August 3, 2022August 2, 2022 by Magenaut

I’m using the standard admin-ajax.php method of doing ajax. So I have some functions like this:

Categories Q&A, Wordpress Tags ajax, hooks Leave a comment

title_save_pre on post publish

August 3, 2022August 2, 2022 by Magenaut

I’m trying to build the title of a custom post using the values within post custom fields. The problem is that using title_save_pre only executes when I update the post, not when I create it.

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

How to display a shortcode caption somewhere other than the_content

August 3, 2022August 2, 2022 by Magenaut

I want to disable shortcode captions for posts in one of my themes, and display the content elsewhere, such as in a sidebar.

Categories Q&A, Wordpress Tags attachments, captions, filters, images, shortcode Leave a comment

Add site options UI in Multisite Sites > Infos page

August 3, 2022August 2, 2022 by Magenaut

I want to add meta fields for the sites in my network (such as a thumbnail and a category). I know how to do this using get/add/update_site_option, but I’m wondering where I could put the UI to manage those meta fields.

Categories Q&A, Wordpress Tags hooks, multisite, options, user-interface Leave a comment

Is it possible to add a filter for the output of nav-menu items in admin?

August 3, 2022August 1, 2022 by Magenaut

I want to remove certain input fields on the admin screen for nav-menus for specific menu positions. I’ve used filters to filter front-end output but not for admin output. Is there a filter available for this purpose?

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

Remove width and height attributes from [gallery] output

August 2, 2022August 1, 2022 by Magenaut

WordPress automatically adds the width and height attributes to shortcode images.

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

Child Terms not Displaying on the Taxonomy Term Admin Screen

August 2, 2022August 1, 2022 by Magenaut

I am experiencing an issue where terms with a parent are not being displayed in the category admin screen. The screen gives the total number of terms that should be there (i.e., 32), but only displays parent terms (i.e., 9).

Categories Q&A, Wordpress Tags taxonomy Leave a comment

Moving a blog from Tumblr to WordPress

August 2, 2022August 1, 2022 by Magenaut

I want to move all my content, posts and pics from Tumblr to WordPress ..!
What would be the best way to do this???

Categories Q&A, Wordpress Tags import, tumblr Leave a comment
Older posts
Newer posts
← Previous Page1 … Page2,460 Page2,461 Page2,462 … 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