Skip to content

Magenaut

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

Wordpress

Why is my array of nav menus returning empty?

August 5, 2022 by Magenaut

I am trying to retrieve of list of available menus but the array is returning empty.

Categories Q&A, Wordpress Tags menus Leave a comment

Add WordPress hook outside of Plugin or Theme

August 5, 2022 by Magenaut

We have the following code that is used to hide our core theme so that it can’t be enabled directly and you can only enable the child themes from the WordPress Dashboard.

Categories Q&A, Wordpress Tags hooks Leave a comment

Get current user id in function php

August 5, 2022 by Magenaut

I know that this question is already often asked but there is no exact answer for it.

Categories Q&A, Wordpress Tags functions, id, php, users Leave a comment

Gutenberg select excerpt, use generated excerpt or use more block excerpt

August 5, 2022 by Magenaut

I am trying to add the excerpt as a placeholder to a description field in the Gutenberg sidebar. The problem is that when there is no manual added excerpt the placeholder will be empty.

Categories Q&A, Wordpress Tags block-editor, javascript Leave a comment

Why WordPress suddenly changed sizes of thumbnails?

August 5, 2022 by Magenaut

I’m consistently using 3000×750 images for the standout images for my entries. I’ve recently added a new post with such image (I’m 100% sure about its size) and I’ve realized, that for some reason it started looking differently than others (see images below, headers for clarity):

Categories Q&A, Wordpress Tags images, media, thumbnails Leave a comment

Second nav is merged with the first in mobile

August 5, 2022 by Magenaut

When I load the website (https://notes.goncaloperes.com) on mobile one can see the two menus/navigations that exist

Categories Q&A, Wordpress Tags genesis-theme-framework, menus, merging, mobile, navigation Leave a comment

Use an HTML Element To Filter Taxonomies In WP Search

August 5, 2022 by Magenaut

I have a WP search form where I would like to add a <select> element for a particular taxonomy and its terms (salary bands) for a custom post type of ‘jobs’.

Categories Q&A, Wordpress Tags custom-taxonomy, forms, search Leave a comment

How to overwrite wp_unique_filename logic

August 5, 2022 by Magenaut

We are having a problem where uploading images through the media upload tool sometimes times out. Using NewRelic, I’ve tracked it down to wp_unique_filename, which makes sense I guess because we have over 200,000 images.

Categories Q&A, Wordpress Tags media, uploads Leave a comment

SSL and www to non-www redirection works only on homepage – WordPress

August 5, 2022 by Magenaut

I’ve enabled SSL on my WordPress website and set redirection from www to non-WWW via the following code placed in .htaccess:

Categories Q&A, Wordpress Tags htaccess, redirect, ssl Leave a comment

Question about the template-loader.php file

August 5, 2022 by Magenaut

I am studying the WP code and have a doubt regarding the end of the /wp-includes/template-loader.php file, which handles the template that must be loaded for a certain URL request.

Categories Q&A, Wordpress Tags core, php Leave a comment
Older posts
Newer posts
← Previous Page1 … Page61 Page62 Page63 … 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