Skip to content

Magenaut

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

Q&A

What is the preferred way to add custom javascript files to the site?

August 5, 2022August 4, 2022 by Magenaut

I’ve already added my scripts, but I wanted to know the preferred way.
I just put a <script> tag directly in the header.php of my template.

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

Change the Author Slug from Username to Nickname

August 5, 2022August 4, 2022 by Magenaut

Hi to the community,
is it possible to change the default username slug to nickname if is available?

Categories Q&A, Wordpress Tags author, slug, url-rewriting, users Leave a comment

How to rearrange fields in comment_form()

August 5, 2022August 4, 2022 by Magenaut

Im using a custom filter to change the fields, but can´t figure out how to change the order of the fields in the comment form.

Categories Q&A, Wordpress Tags comment-form, comments, templates Leave a comment

Using pre_get_posts with WP_Query

August 5, 2022August 4, 2022 by Magenaut

I was reading Stephen Harris‘s excellent answer to this question regarding the use of WP_query(), query_posts() and pre_get_posts.

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

Redirect function inside a Shortcode

August 5, 2022August 4, 2022 by Magenaut

I am developing a free plugin for connection a external support system to WordPress to be able to authenticate users on WordPress.

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

Export data as CSV in back end with proper HTTP headers

August 5, 2022August 4, 2022 by Magenaut

I wrote a plugin that displays all products in a woocommerce store in admin settings option, now I want to add a link to download the products as CSV file.

Categories Q&A, Wordpress Tags csv, permissions, plugin-development, wp-admin Leave a comment

How can I get only parent terms?

August 5, 2022August 4, 2022 by Magenaut

Is there any way to get only parent terms from custom taxonomy or category?

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

$ not defined using jQuery in WordPress

August 5, 2022August 4, 2022 by Magenaut

I know that jQuery is loaded, because I can switch out the $ for ‘jQuery’ and everything behaves as expected, but this will be a messy script if I can’t fix this

Categories Q&A, Wordpress Tags jquery Leave a comment

Software for WordPress Theme and Plugin Development?

August 5, 2022August 4, 2022 by Magenaut

Firefox Portable those plugins won’t run themselves

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

Programmatically add widgets to sidebars

August 5, 2022August 4, 2022 by Magenaut

I would like to programmatically add widgets to my two sidebars that I’ve got. I couldn’t find any official way of doing it?

Categories Q&A, Wordpress Tags sidebar, widgets Leave a comment
Older posts
Newer posts
← Previous Page1 … Page2,313 Page2,314 Page2,315 … 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