Skip to content

Magenaut

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

functions

Get password when user registers and save it sha1 into database

August 2, 2022August 1, 2022 by Magenaut

im working on a website where the users can connect with iphone to some functions of it by using a sha1 encrypted password. In other words the plain password of wordpress encrypted in sha1.

Categories Q&A, Wordpress Tags filters, functions, hooks, password, theme-development Leave a comment

Fatal error: Call to undefined function add_action() – an untouched problem

August 2, 2022August 1, 2022 by Magenaut

The question was asked many times in many ways, but unfortunately is not covered well in most of the answers. I’m having the same issue doing things using include-files.

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

List only child categories a post is in, of a specific parent category

August 2, 2022August 1, 2022 by Magenaut

Either this is harder than it needs to be or I am just not understanding WordPress/PHP very well 🙁 All I want to do is show the child/sub categories of a specific parent category…but only if the post is in those subcategories. Specific example:

Categories Q&A, Wordpress Tags categories, functions, posts Leave a comment

Add container to nav_menu sub menu

August 2, 2022August 1, 2022 by Magenaut

Is there a way I can wrap a div around wp_nav_menu’s ul.sub-menu

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

Get the blog page URL set in Options

August 2, 2022August 1, 2022 by Magenaut

I have set the blog to be a different page other than the home page.

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

Best way to style first post differently?

August 2, 2022August 1, 2022 by Magenaut

I am building a custom (child) theme and I want to style the first post of my loop in a different way than the others (bigger image, different position of some stuff).

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

How to override WordPress registration and insert an auto-generated username?

August 2, 2022August 1, 2022 by Magenaut

I need to auto-generate usernames upon WordPress registration. I have a custom registration form set up and would like to create the username in functions.php.

Categories Q&A, Wordpress Tags functions, hooks, user-registration, username Leave a comment

how to create shortcode in wordpress

August 2, 2022August 1, 2022 by Magenaut

So I have the following code:

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

Disable visual editor on one specific page

August 2, 2022August 1, 2022 by Magenaut

I would like to remove the visual editor from one specific page because if I edit this one page in Visual mode, it breaks the code. I want to make sure the client doesn’t have this option on the particular page. However, I don’t want to remove the html editor.

Categories Q&A, Wordpress Tags functions, pages, visual-editor Leave a comment

Function in Child Theme not overriding Parent Theme function

August 2, 2022August 1, 2022 by Magenaut

I have read up on this and tried it myself, but I cannot seem to figure out how to override a parent theme function using my child theme. I need to know what I am doing wrong (and I am sure there are several wrong things). Here is the function in the parent theme: function … Read more

Categories Q&A, Wordpress Tags child-theme, functions Leave a comment
Older posts
Newer posts
← Previous Page1 … Page21 Page22 Page23 … Page25 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