Skip to content

Magenaut

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

Wordpress

WordPress get the child pages of current page

August 6, 2022 by Magenaut

I want to display the child pages of the current page you are on.

Categories Q&A, Wordpress Tags child-pages, get-children, get-the-id Leave a comment

Add dynamic search to paginated WP_Query

August 6, 2022 by Magenaut

I am currently displaying a list of pages with “words” (English learning site) using WP_Query.
I want to add a search field at the top of the list, but in a way that would dynamically (is it AJAX?) modify the list below to display only the records that match with search field.

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

Why does wpdb->update delete other meta?

August 6, 2022 by Magenaut

My existing data in the termmeta table:

Categories Q&A, Wordpress Tags wpdb Leave a comment

Hide woocommerce category name from specific pages

August 6, 2022 by Magenaut

I need to hide the name in the category box from a specific page. I need to show the name in all other pages but this one.
Is there a way to use this CSS for a specific category? Thank you!

Categories Q&A, Wordpress Tags categories, css, woocommerce-offtopic Leave a comment

Excluding a media query from specific pages

August 6, 2022 by Magenaut

I have built a media query for Twenty Twenty-One that makes the mobile menu appear for screens widths up to 1023px. (My CSS is below for those interested, I think it should be pretty universal.)

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

Combine multiple CPT names to create valid permalinks

August 6, 2022 by Magenaut

I have three different Custom Post Types:

Categories Q&A, Wordpress Tags custom-post-types, permalinks, rewrite-rules, rewrite-tag, url-rewriting Leave a comment

if get_post_meta function returns empty – Do Not Display HTML

August 6, 2022 by Magenaut

I am working on a website with some custom PHP.

Categories Q&A, Wordpress Tags meta-value, post-meta Leave a comment

Why are thumbnails not being generated for PDF files?

August 6, 2022 by Magenaut

I’m trying to figure out why one of my WordPress sites is not generating thumbnails for PDF uploads. It works on my dev and staging sites. When comparing them, the only difference that I can find is that my production site is running PHP 7.2, whereas dev and staging are running PHP 7.3. I have the imagick extension installed on all of them.

Categories Q&A, Wordpress Tags pdf, thumbnails Leave a comment

How to create pre-designed page layouts for Gutenberg?

August 6, 2022 by Magenaut

Prior to the block editor, I would create pre-designed page layouts for my clients using the following method:

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

How to create a Tools menu on the Network Admin dashboard from a plugin

August 6, 2022 by Magenaut

I’m coding a plugin. I want to put a Tools menu item on the Network Admin dashboard when the plugin is installed on a multisite WordPress instance.

Categories Q&A, Wordpress Tags dashboard, multisite, plugin-development Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … 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