Skip to content

Magenaut

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

plugin-development

Add multiple plugin directories

August 3, 2022August 2, 2022 by Magenaut

There are not a lot of filters in subclasses of WP_List_Table, at
least no where we need them to be.

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

Filters ‘request’ and ‘parse_query’ not firing in sites.php nor link-manager.php

August 3, 2022August 2, 2022 by Magenaut

I’m trying to make sortable columns in Sites and Links listings admin pages.

Categories Q&A, Wordpress Tags bookmark, multisite, plugin-development, wp-admin Leave a comment

How can I add an option to the Page Template list from a Plugin?

August 3, 2022August 2, 2022 by Magenaut

I’ve been looking around for the past couple hours for a way to create a custom page template from within a plugin but haven’t had any luck yet.

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

What is the etiquette on extending a plug-in

August 3, 2022August 2, 2022 by Magenaut

I recently played with a plugin which I liked a lot, but felt it was missing something. So as first stage I went and wrote a tiny plugin (my first), that just added the needed feature – meaning, that the original plugin still had to be installed for something to work.

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

add_action hook for completely new post?

August 3, 2022August 2, 2022 by Magenaut

publish_post Runs when a post is
published, or if it is edited and its
status is “published”. Action function
arguments: post ID.

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

how to create child WordPress plugin

August 3, 2022August 2, 2022 by Magenaut

I like to create child plugin..

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

How can I load a page template from a plugin?

August 3, 2022August 2, 2022 by Magenaut

I want to add page templates to a theme directly from the plugin. The idea is that the template would show up in the dropdown under Page Attributes, and all the code would need to be in the plugin.

Categories Q&A, Wordpress Tags filters, page-template, plugin-development, templates Leave a comment

How would you require and automatically download dependent plugins?

August 3, 2022August 2, 2022 by Magenaut

Was wondering if there was a class or programming technique that would allow me to check for the installation and activation of a particular plugin and if said plugin were not installed, to have it downloaded from WordPress’s plugin repository?

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

How to add an admin notice upon post save/update

August 3, 2022August 2, 2022 by Magenaut

I have a post type the uses post_save to take the address from the post-meta and retrieve the lat/lng coordinates from the Google API. I need a way of notifying the user if there was an issue with retrieving the coordintes. I tried using admin_notices, but nothing displayed:

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

How to structure a plugin

August 3, 2022August 2, 2022 by Magenaut

This isn’t a question about how to build a WordPress plugin. Rather, what, if any, guides could be applied to how to put together the file architecture of any plugin.

Categories Q&A, Wordpress Tags customization, directory, mvc, plugin-development, plugins Leave a comment
Older posts
Newer posts
← Previous Page1 … Page20 Page21 Page22 … Page31 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