Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results found
Search options questions only not deleted not closed answers 0
7 votes
0 answers
476 views

Wordpress: Can I add categories/tags to all sites in my network at once? [merged]

I've installed Wordpress 3.1.2, and have enabled the multi-site network. Each employee in my department can now have their own company blog. I was hoping to provide a bunch of pre-defined categories …
user avatar
7 votes
0 answers
3k views

add_rewrite_endpoint() not working for custom post type archives

i'm working on somekind of wiki/encyclopedia system based on wordpress. there are two custom post types. i'll show my configuration for one of them: $labels = array( 'name' => _x('Objects', 'pos …
hans's user avatar
  • 77
6 votes
0 answers
2k views

How to trigger JS in gutenberg page load

I've loaded a jQuery script with enqueue_block_editor_assets for gutenberg and wp_print_scripts for frontend which is loaded fine. add_action( 'wp_print_scripts', 'sk_load_script' ); add_action( 'enqu …
micky's user avatar
  • 113
6 votes
0 answers
628 views

How to load paginated post pages via ajax

Here's the case I got: I've setup post pagination for my website and everything works well. Except one thing - on every new page request all the resources are loaded again. This makes the website load …
Gadzhev's user avatar
  • 181
6 votes
0 answers
1k views

Add additional classes to gutenberg .editor-styles-wrapper

I'm working with tailwind and I was wondering how you would add a class to the div that has .editor-styles-wrapper applied to it so it would be .editor-styles-wrapper .my-custom-class Is there a filte …
Astrid's user avatar
  • 123
6 votes
0 answers
247 views

Customize WordPress Media Manager - Media Window

Im trying to customize the wordpress media manager "add media" window to get it as simple as possible to use. So i want to disable/ hide the following fields/ functions because i dont need some or oth …
public9nf's user avatar
  • 386
6 votes
0 answers
675 views

Prevent 404 when using pre_get_posts to filter an archive page

I have added a custom taxonomy named "area" to the default "post" post type. It's meant to organize posts by geographical area. In category pages I've added a dropdown that allows the user to filter …
Andreyu's user avatar
  • 263
6 votes
0 answers
1k views

WordPress REST API call generates nonce twice on every call

I'm trying to login a user via the REST API, and then retrieve the current user on subsequent requests. As per the documentation, in my plugin, I am creating and retrieving a nonce after a successful …
kvnam's user avatar
  • 111
6 votes
0 answers
518 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 r …
Raba's user avatar
  • 406
6 votes
0 answers
591 views

How to remove unwanted panels inside InspectorControls from core blocks in Gutenberg

If I want to extend the core block I can use Block Filters where I found a filter like editor.BlockEdit. Example from doc: const { createHigherOrderComponent } = wp.compose; const { Fragment } = wp.el …
kanlukasz's user avatar
  • 534
5 votes
0 answers
2k views

Fetching private posts or custom post types via WP-API with basic authentication

I've installed WP-API along with Basic Auth. I'm able to fetch cpt posts using curl http://siteurl.com/posts?type={post-type} However, if I change a post to private, it is no longer returned. This …
rera's user avatar
  • 51
5 votes
0 answers
2k views

How to allow users login to WP from external domain and make REST requests

Basically what i want to do is: Use Wordpress as a login system and data storage for web-application on another domain. Make users able to register and perform REST calls from the application. Let u …
Dariusz Sikorski's user avatar
5 votes
0 answers
1k views

Exporting revisions

How do you export revisions for posts? I cloned a site with it's complete Wordpress DB 4 months ago. After the clone revisions have been made to the existing posts and new posts has been added to th …
lowkey's user avatar
  • 150
5 votes
0 answers
457 views

HTML5 theme support for comments + form 'novalidate' - how to handle it properly?

INTRODUCTION My research is based on following assumptions: WordPress version supports HTML5 Go to any admin page and inspect the resulting document. It should start with <!DOCTYPE html>. Theme su …
Frank P. Walentynowicz's user avatar
5 votes
0 answers
860 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' …
leemon's user avatar
  • 2,002

1
2 3 4 5
33
15 30 50 per page