Skip to content

Magenaut

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

plugin-development

$_POST form request with admin-post

August 2, 2022August 1, 2022 by Magenaut

I tried to use a form with the following markup using the action admin-post.php

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

Change the_title() of a page dynamically

August 2, 2022August 1, 2022 by Magenaut

I’m developing a plugin that doesn’t use a custom post type, but separate database tables.
It’s a plugin that displays a list of courses with links that lead to the different course detail pages, where the user then can subscribe for a course.

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

How to make method from plugin available in theme?

August 2, 2022August 1, 2022 by Magenaut

Let’s say this was in my plugin:

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

Add CSS animation as Preloader to WordPress

August 2, 2022August 1, 2022 by Magenaut

I found a CSS animation snippet on Codepen, and would like to add it in my WordPress site for preloader animation, but I couldn’t find any related help or plugin that would allow me to add a Preloader with custom CSS animation.

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

Create a table in custom plugin on the activating it?

August 2, 2022August 1, 2022 by Magenaut

I’m trying to create a custom plugin where I want create a table when the plugin gets activated. I have tried the following code but it is not creating the table in the database

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

How to change a user’s password programatically

August 2, 2022August 1, 2022 by Magenaut

I am trying to create a totally different profile page (not the one provided by WordPress), since the layout and feel of the default profile page is too “WordPress” for the users. Now I am successful in being able to present a page that can modify user meta data like firstname, lastname, city, zip code, etc.

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

Why does WordPress add 0 (zero) to an Ajax response?

August 2, 2022August 1, 2022 by Magenaut

Unless I end Ajax processing function by exit() or die(), the Ajax function receives desired and correct output but following by 0.

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

What is nonce and how to use it with Ajax in WordPress?

August 2, 2022August 1, 2022 by Magenaut

A nonce is a “number used once” to help protect URLs and forms from
certain types of misuse, malicious or otherwise. WordPress nonces
aren’t numbers, but are a hash made up of numbers and letters. Nor are
they used only once, but have a limited “lifetime” after which they
expire.

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

Single functions.php or split into many small files?

August 2, 2022August 1, 2022 by Magenaut

I am creating a simple framework with theme options. I have divided chunks of code within functions.php and placed it within a specific folder structure.

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

Creating a user’s own folder on user registration

August 2, 2022August 1, 2022 by Magenaut

I need a plugin or some guidence on creating a user’s own folder on user registation.

Categories Q&A, Wordpress Tags plugin-development, plugins Leave a comment
Older posts
Newer posts
← Previous Page1 … Page26 Page27 Page28 … 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