Skip to main content

Unanswered Questions

5,910 questions with no upvoted or accepted answers
2 votes
1 answer
118 views

How to block checkout process when session origin is unknown?

Recently, I found many card testing on my woocommerce site. these order all have the same characteristic, origin is Unknown. So I would like to write a some code to try to detect that if session's ...
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 ...
0 votes
0 answers
11 views

Trying to change the default page break numbering format

You provided an answer on the below post, I wanted to ask if this should work on Wordpress posts or pages, Im trying to do something similar for posts but I added your code to functions.php and it ...
-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 ...
0 votes
0 answers
15 views

Flat Rate Shipping Based on custom region dropdown field

i have custom dropdown field on checkout page For region select. Have 2 rate: For Region X with cost 5$ (flat-rate:34) Second for all others with cost 10$ (flat-rate:35) I want to set rates on field ...
-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
12 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 ...
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":"...
0 votes
0 answers
16 views

Can't Remove Unnecessary Slug

I am using a theme which utilizes different post types such as regular "posts", "videos" and "tv series". I can add a post at "posts" tab, I can add a video(...
1 vote
1 answer
34 views

wp_logout function not executed

Context: a custom plugin My goal: i need to redirect user to another site after a logout I wrote these error_log("test of error logging"); add_action('wp_logout', function () { error_log(&...
0 votes
0 answers
15 views

media_sideload_image only works on localhost and without return id or src

I'm trying to use media_sideload_image like in this question: Can't upload image using media_sideload_image it works on localhost with add_filter('https_ssl_verify', '__return_false'); for testing ...

15 30 50 per page
1
2 3 4 5
394