Skip to content

Magenaut

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

Wordpress

Modify Admin Bar Link

August 3, 2022August 2, 2022 by Magenaut

Starting on line 474 of /wp-includes/admin-bar.php there is a function that is declared as the following:

Categories Q&A, Wordpress Tags admin, admin-bar, admin-menu, functions Leave a comment

Registering custom TinyMCE buttons, for admin area, to work with custom instances of wp_editor

August 3, 2022August 2, 2022 by Magenaut

Thanks to this answer here, I am able to use different instances of wp_editor to determine which buttons each of my differing TinyMCE instances use.

Categories Q&A, Wordpress Tags plugin-tinymce, tinymce, wp-editor Leave a comment

Attributing a version number to a child theme’s main stylesheet

August 3, 2022August 2, 2022 by Magenaut

In header.php, I like to attribute a version number to the stylesheet so that the browser gets forced to refresh it. But when working with a child theme, its stylesheet is not explicitely called, rather WordPress automatically seeks it. So how or where to attribute a version number to the child theme’s stylesheet?

Categories Q&A, Wordpress Tags child-theme, css Leave a comment

Sort plugins by rating

August 3, 2022August 2, 2022 by Magenaut

When I want to install a new WordPress plugin, I do a search for the plugin I want, and I receive a list of results.

Categories Q&A, Wordpress Tags plugins, sort Leave a comment

Loop through widgets in sidebar

August 3, 2022August 2, 2022 by Magenaut

I have a sidebar called footer, I know I can use dynamic_sidebar() but I need to be able to split that into individual widgets.

Categories Q&A, Wordpress Tags widgets Leave a comment

Login to wp-admin “redirect_to” points to wrong URL after migration

August 3, 2022August 2, 2022 by Magenaut

I have a WordPress site hosted on GoDaddy, it’s a Windows server, (i have the web.config set up). and .htaccess correctly configured. The site was working on example.com/wordpress , as it was a development test. I moved the site to example.com .

Categories Q&A, Wordpress Tags redirect, site-url, urls, wp-admin, wp-redirect Leave a comment

Bulk post type conversion

August 3, 2022August 2, 2022 by Magenaut

I have been given a client’s wordpress site to update & improve. Biggest problem – I need to take about 200+ posts of a specific category, ‘reviews’ and convert them all into a custom post type ‘reviews’.

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

When/why does ‘$query->get( ‘tax_query’ );’ return empty?

August 3, 2022August 2, 2022 by Magenaut

First the code:

Categories Q&A, Wordpress Tags oop, query, tax-query, terms Leave a comment

Exclude a category if post is only in that category using wp_Query

August 3, 2022August 2, 2022 by Magenaut

I have two categories

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

I’m getting a 404 message when I try to access wpadmin

August 3, 2022August 2, 2022 by Magenaut

I can’t access wp-admin at all after changing wp-config folder permission for hardening my security. The content for the site load find, I cant access wp-admin at all, all I get is 404 message.

Categories Q&A, Wordpress Tags 404-error, wp-admin Leave a comment
Older posts
Newer posts
← Previous Page1 … Page305 Page306 Page307 … Page430 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