Unanswered Questions
3,409 questions with no upvoted or accepted answers
8
votes
3
answers
1k
views
Pass media upload value to input field
I have created a meta-box that provides a upload function via the default media uploader from WordPress.
This works fine as long as I have one upload option.
But guess what? I want another one.
If I ...
8
votes
3
answers
4k
views
Multisite Domain Mapping with SSL
I've done some searching but couldn't find this issue elsewhere, apologies if this has already been discussed elsewhere.
I've set up a Multisite install; and am trying to set up domain mapping for ...
6
votes
0
answers
521
views
Gutenberg Blocks doesn't render correctly when using do_blocks
I'm trying to render a post_content with blocks using the do_blocks function, that takes a gutenberg content, parses every block, and returns an HTML string.
The problem is that some blocks aren't ...
6
votes
1
answer
452
views
RequireJS in custom theme. Working Example
I try to add to my custom wordpress Theme requirejs because I do not want to use wp_enqueue over and over to inject used plugins and on the other side I do not want to mess the DOM from the beginning.
...
6
votes
3
answers
1k
views
Using MAMP and Xip.io to view a WordPress Multisite on a local network
I am trying to use MAMP's built in Xip.io functionality to view a WordPress multisite installation on a local network. I have this working no problem with a WordPress single installation but am ...
6
votes
2
answers
2k
views
Give to site admin the option to "skip confirmation email" when adding new user
in wordpress multisite when we give to site admin the option to add new users, site admin dont have the "checkbox" to add the new user without sending the user email with link activation (see the ...
6
votes
1
answer
1k
views
Post and Page Inheritance to subsites in a WordPress Network
I have to develop a multi-country, multi-lingual website. One country may have multiple languages. I have setup a WordPress Network and created subsites for each country like following.
abc.com/ > ...
6
votes
1
answer
207
views
WP Multisite - multilanguage - swich to other language by click, but "same" content
I want to run a WP-multisite for 4 languages (in development), and did it so, 4 blogs, each one got the same content but in a different language, same structure, same pages, same postings, same images....
5
votes
0
answers
883
views
Is there a core Sortable component in Gutenberg?
I managed to somewhat replicate the product gallery metabox from WooCommerce in Gutenberg using the
third-party react-sortable-hoc component. As it seems that this component is no longer supported, I'...
5
votes
0
answers
1k
views
Remove left alignment option in core/image block
I’m trying this code to disable the left alignment option from the core/image block. I just want to make available the center and right alignment options.
wp.hooks.addFilter(
'blocks....
5
votes
1
answer
777
views
WP-CLI methods for get_current_blog_id, get_blog_details or $wpdb->prefix
I'm looking for some extra information about an mu site (--url) when attempting to export from a remote server to my local testing environment.
One requirement for migration is the existing blog_id ...
5
votes
2
answers
2k
views
How to refresh Theme Customizer after change color inside wpColorPicker?
I develop my custom widget with setting where I can set up custom color for the widget. I use this code to initialize wpColorPicker instead of default text input in form() method of Widget class:
...
5
votes
1
answer
810
views
Multisite/network--automatic self-registration, blog setup
I am creating a WordPress Network multisite blog in a university environment. It's set up in subdirectory mode, so that each new blog appears as a subdirectory off a common domain name.
The Network ...
4
votes
0
answers
1k
views
Developing the save function in Gutenberg blocks
I am editing the save function on my local wordpress instance. Every time I make a change, I need to manually click the "Attempt Block Recovery" button to see the updated change when I go to ...
4
votes
0
answers
536
views
Custom Block - save.js function not saving attributes
I'm trying to get just a basic custom block displaying in the editor and saving. I've followed multiple tutorials and I keep getting the same result. No matter how simple my block is, whenever I add a ...