Unanswered Questions
4,782 questions with no upvoted or accepted answers
0
votes
0
answers
6
views
How do I disable quantity field on the cart page for a product that has a maximum quantity set in WooCommerce
I have added a maximum quantity field under the General menu of the product data. After I set a maximum if I add more than the maximum to the cart I get the desired error and the number of items can't ...
0
votes
0
answers
16
views
Is AJAX relevant when inserting a new post programmatically?
What I'm already able to achieve :
Inserting a new post with the WordPress function.
Doing it programmatically when some conditions are fulfilled.
The downside of this way of creating new post is ...
0
votes
0
answers
13
views
How do I ensure that the URL parameters are updated correctly when multiple filters are applied
I am writing a product filter, and ran into this issue.
I have 2 different attributes of my product filter:
Tilt -- as a checkbox with "Yes" or "No", and Multibrand Compatible -- ...
0
votes
0
answers
17
views
Filtered queries not responeding to page path
I am writing a product filter, and ran into this issue.
I have 2 different attributes of my product filter:
Tilt -- as a checkbox with "Yes" or "No", and Multibrand Compatible -- ...
0
votes
0
answers
19
views
Wordpress Block - add_rewrite_rule doesn´t work
I created a Wordpress Plugin to display Events.
The plugin is developed via Wordpress Block and works fine. The url to the detail page is http://localhost:4444/?slug=02-12-2024_artist_name
To make it ...
0
votes
0
answers
13
views
Display image sizes in media library and make it sortable
I've used this code https://wordpress.stackexchange.com/a/296517/254438 to add image sizes in media library.
How do I add sorting of image sizes? I know there are plugins but I don't want to use any ...
0
votes
0
answers
12
views
How to Modify Gallery Preview on Edit Screen on the "Visual" Tab in Classic Editior
I am modifying the gallery_shortcode() function from media.php using a plugin.
How do I make my custom gallery structure show up as the preview on the edit page. I want to change how it displays in ...
0
votes
1
answer
9
views
Can you open a media frame to sellect an attachment to associate with another attachment you are editing on an existing media frame?
I want to have a media frame that pops up on click of a button on an existing media frame.
This way I can associate another attachment with that attachment.
This question shows an example of you can ...
-1
votes
0
answers
12
views
WP_TEMP_DIR unlink(dirname(__FILE__).' issue
i got issue with writing anything on the server (updating plugins and themes, creating pages etc.)
Downloading update from https://downloads.wordpress.org/plugin/instawp-connect.0.1.0.66.zip…
Warning:...
0
votes
0
answers
9
views
WP_Options tabel randomly increasing in size indefinetly
I have a problem with my wordpress page (woocommerce store, woodmart parent theme), where the wp_options table in my database gains almost 50MB in size, in what I thought was approximently every 10 ...
-1
votes
0
answers
8
views
Couldn't find publish button on WordPress site portal
I am using wordpress after years, I have already published the site but I am not able to publish the site with minor changes.
can I know from where it should published ? ( Version 6.7)
I have tried ...
0
votes
0
answers
11
views
Rank Math Seo register custom xml url
Using Rank Math SEO plugin generates below xml file.
https://yoursitename.com/sitemap_index.xml
https://yoursitename.com/page-sitemap.xml
I want to register new sitemap url for custom data generated ...
1
vote
0
answers
38
views
How to expose hooks to @wordpress/hooks?
I'm trying to hook into wp_handle_upload_prefilter with JavaScript, but I must be doing it wrong.
Here's my code:
add_action(
'admin_enqueue_scripts',
'enqueue_backend_scripts',
);
public ...
0
votes
1
answer
30
views
WP_Query with multiple categories unexpected behavior
I'm working on a custom filter that uses checkboxes to choose which categories to show. I'm trying to get it show posts based on selecting more than one category. When I test with hard coded ID's it ...
0
votes
1
answer
24
views
rest_cannot_update error
I got this error when i try to post article on my blog via python using rest api. everything works but got error when i try to add seo rankmath meta description.
Response: {"code":"...