Skip to content

Magenaut

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

Q&A

What form should the $query media query array have for an Elementor page builder function?

August 5, 2022August 4, 2022 by Magenaut

There’s no WordPress-specific stuff in this answer, but I’m just trying to help since the official documentation is (as of writing) not very helpful..

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

WP_QUERY post_in problem

August 5, 2022August 4, 2022 by Magenaut

why when i using this code :

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

Why doesn’t WordPress use the smaller sized image?

August 5, 2022August 4, 2022 by Magenaut

I’ve been trying to understand how WordPress picks images to use depending on the size of the user screen, but I’ve been unable to figure it out.

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

How can I display Only the first Array/Object?

August 5, 2022August 4, 2022 by Magenaut

By using WordPress REST Api

Categories Q&A, Wordpress Tags api, array, rest-api, users Leave a comment

Add instructions to featured image

August 5, 2022August 4, 2022 by Magenaut

How do you add instructions to the featured image field (see attached screenshot) – something like: “recommended dimensions – H980px by W450px”..?

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

WP REST API not retrieving all categories

August 5, 2022August 4, 2022 by Magenaut

I am developing a project that is using the WP REST API. After some tests, I realized that it’s not retrieving all the categories based on what I am trying to GET. In precise, there are supposed to be 21 results but only 10 come up. Is there some kind of restriction that I am not seeing? Any settings that I’ll have to change.

Categories Q&A, Wordpress Tags categories, rest-api, taxonomy Leave a comment

Call to undefined function insert_with_markers

August 5, 2022August 4, 2022 by Magenaut

I’m experimenting with creating a function to write code into htaccess (I understand the security issues associated). I’m currently using the function insert_with_markers() as a starting point however its throwing a ‘call to undefined function’ error.

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

How to send email when my plugin is activated?

August 5, 2022August 4, 2022 by Magenaut

I’m creating and developing a new plugin for some of my private clients and I do want to see if my clients are sharing my plugin with other people (I asked them not to do that).

Categories Q&A, Wordpress Tags plugins Leave a comment

Randomize attachment IDs

August 5, 2022August 4, 2022 by Magenaut

I’d like to have my attachments IDs being random (not sequential). Just like what this plugin does, but for attachments. I’ve tried to look into the source code of the plugin, but it uses filters that are not applicable to attachments.

Categories Q&A, Wordpress Tags attachments, filters, hooks, plugins Leave a comment

CREATE TABLE with dbDelta does not create table

August 5, 2022August 4, 2022 by Magenaut

I based this code from the codex on the docs. I placed it in my main plugin file but it’s not creating the database table. Have I missed something?

Categories Q&A, Wordpress Tags dbdelta, sql, wpdb Leave a comment
Older posts
Newer posts
← Previous Page1 … Page2,288 Page2,289 Page2,290 … 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