Skip to content

Magenaut

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

Q&A

How to display all posts not in a post_format

August 4, 2022 by Magenaut

Using WP_Query() I want to display all posts -except- those with the ‘image’ post_format. I tried this, but it did not work.

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

using add_action for a header hook that has an additional parameter

August 4, 2022 by Magenaut

The theme I’m using has a hook inside header.php file to separate the header into two parts, left & right. I want to add some content into the right section but I don’t understand how can I add the additional parameter when using add_action(). Code as below,

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

How to use

August 4, 2022 by Magenaut

I am a beginner in WordPress development looking to build a block with tab navigation using <LinkControl />. I am still learning, so any guidance/materials/code examples will be appreciated.

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

Get Text Domain For Transalation

August 4, 2022 by Magenaut

Is there a function which can be used to get the themes text-domain?

Categories Q&A, Wordpress Tags translation Leave a comment

Having trouble with custom date field for CPT query (WordPress)

August 4, 2022 by Magenaut

I’ve read as many of the questions and answers on here as I can find and none of the solutions are working for me. No idea what I’m doing wrong here.

Categories Q&A, Wordpress Tags custom-field, custom-post-types, query, wp-query Leave a comment

Category selectable homepage

August 4, 2022 by Magenaut

I’ve got a local WordPress install that I’ve tried to make customisable by users, so it only shows pages from categories they have selected.
I’ve used the code that I’ve found in the thread How to Set an Individual Homepage for Each User?
and while it works, it breaks the menu on every page, it just dissapears.

Categories Q&A, Wordpress Tags categories, customization, homepage Leave a comment

How to schedule Automatic WordPress Plugin and Core updates for night times

August 4, 2022 by Magenaut

I don’t want to update plugins within business hours. Is there a way to schedule for after 1 am? Maybe via a hook or a setting in wp-config.php?

Categories Q&A, Wordpress Tags automatic-updates Leave a comment

Fire a code when permalinks updated

August 4, 2022 by Magenaut

I would like to execute some php code when permalinks updated, I think some plugins I’m using them updates permalinks programmatically sometime and this breaks my some slug rewrite settings, at this point I need to run code when permalinks updated. Is there any filter or event listener to make me able to this.

Categories Q&A, Wordpress Tags filters, permalinks, rewrite-rules Leave a comment

Exclude a category from the filed under list only on some templates

August 4, 2022 by Magenaut

this is a follow up question to this post Exclude a category from the filed under list

Categories Q&A, Wordpress Tags categories, exclude, list, templates Leave a comment

how to show only last child terms of a taxonomy

August 4, 2022 by Magenaut

I’m trying to show the only the last child terms of a taxonomy in a post.

Categories Q&A, Wordpress Tags taxonomy, terms Leave a comment
Older posts
Newer posts
← Previous Page1 … Page2,251 Page2,252 Page2,253 … Page2,571 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