Skip to main content

Unanswered Questions

3,239 questions with no upvoted or accepted answers
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 ...
0 votes
0 answers
17 views

Is it possible to alter or replace the onChange function of an input within the InspectorControls panel?

I am writing a plugin and attempting to alter what attribute gets updated when changing the value of an input in the editor sidepanel. I am filtering a function through editor.BlockEdit using wp....
0 votes
0 answers
15 views

My wordpress plugin defaults to English (US) I would like it to default to English (UK)

I have written a Wordpress plugin which has been accepted into the repository: https://en-gb.wordpress.org/plugins/english-chess-data I have noticed that the language it is listed as is English (US), ...
2 votes
0 answers
40 views

Ways to reduce code duplication when creating custom blocks

I'm a bit of a rookie, so I may be looking at this all backwards - but if that is the case having someone point me in the right direction would be incredibly valuable! I'm creating a few custom blocks ...
0 votes
0 answers
36 views

how to include an image in the build of a multi block plugin

My WP plugin should show some (default) images in the font-end and editor UI. However, the URL generated with my code, refers to the build folder, while the images are not. This is my structure: lucy-...
0 votes
0 answers
17 views

WordPress Block with Interactivity API e Preact Component

Good evening, everyone. I am developing some custom blocks with the new Interactivity API. Within some of the blocks I need to use some complex components that I decided to develop with Preact, so as ...
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(...
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 ...
0 votes
0 answers
21 views

npm ERR! notarget No matching version found for @wordpress/components@^12.5.0

I am trying to create a Gutenberg block and have issues compiling it. I get this error when I run the following command. Can anyone help me in fixing the issue or atleast suggest/tell me what to do ...
0 votes
0 answers
23 views

How can I keep a WordPress dropdown menu open when navigating to a child page?

I'm using WordPress with the Astra theme (free version), along with Elementor Header & Footer Builder (free version) and the WP Mobile Menu (free version). I've set up a dropdown menu, but it ...
0 votes
1 answer
9 views

Files in build directory no longer working as expected

I have a serious issue with the files in my build directory after running the wp-scripts build command. None of them work when I try to run my plugin. The build directory used to have files along the ...
0 votes
1 answer
18 views

I've added SKU to Woocommerce permalinks, but I have small issue

I code number 1 in functions.php and number 2 in .htaccess to get product permalink based on SKU. Something like this: xyz.com/product-title/#sku How could I remove "#" from the permalink (...
0 votes
1 answer
32 views

How to correctly edit permalink structures for both default and custom posts/taxonomies?

I've renamed the default post type in my site 'Articles' using the following function: // Replace Posts Label with Articles in Admin Panel function change_post_menu_label() { global $menu; ...
0 votes
1 answer
18 views

WordPress homepage shows default theme after migration – logged-out users see different content

I migrated a website from Enom to Hostinger, installed wordpress to the website, and uploaded my backup files using Updraft. When I am logged in as an admin, everything works just fine. But when i try ...
0 votes
0 answers
29 views

Wordpress plugin update View version remove Update now

I would like to remove "Update now" below plugin name. This is my Update info: { "slug" : "simple-wp-plugin-update", "version" : "2.5", "url"...

15 30 50 per page
1
2 3 4 5
216