Title: Daniel Richards's Replies | WordPress.org

---

# Daniel Richards

  [  ](https://wordpress.org/support/users/talldanwp/)

 *   [Profile](https://wordpress.org/support/users/talldanwp/)
 *   [Topics Started](https://wordpress.org/support/users/talldanwp/topics/)
 *   [Replies Created](https://wordpress.org/support/users/talldanwp/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/talldanwp/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/talldanwp/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/talldanwp/engagements/)
 *   [Favorites](https://wordpress.org/support/users/talldanwp/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 123 total)

1 [2](https://wordpress.org/support/users/talldanwp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/talldanwp/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/talldanwp/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/talldanwp/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/talldanwp/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/talldanwp/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unremovable borders since last WP7.11 release](https://wordpress.org/support/topic/unremovable-borders-since-last-wp7-11-release-may-20-2026/)
 *  [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/unremovable-borders-since-last-wp7-11-release-may-20-2026/#post-18915468)
 * There is a reported issue for this problem, so you can track progress in fixing
   it – [https://github.com/WordPress/gutenberg/issues/70211](https://github.com/WordPress/gutenberg/issues/70211).
 * Seems like this can happen for some themes that use particular CSS Variable names.
   Hopefully updating the theme fixes it for you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gutenberg] My Patterns Folder Missing](https://wordpress.org/support/topic/my-patterns-folder-missing/)
 *  Plugin Author [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [8 months ago](https://wordpress.org/support/topic/my-patterns-folder-missing/#post-18753044)
 * I’m not sure how technical your are [@ecabral](https://wordpress.org/support/users/ecabral/),
   but it sounds like a possible issue with the REST API on your site. The newer
   gutenberg-style pages use the WordPress REST API to retrieve the list of patterns,
   the older WP admin page doesn’t use the REST API (I expect it uses WP Query directly).
 * I’ve seen in the past some users have issues with the REST API when they have
   a firewall setup too aggressively, so that could be something to check.
 * You can also check the network requests in your browser dev tools to see what
   happened to the request for patterns. Let me know if you’d like me to explain
   how to do that.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gutenberg] The editor has encountered an unexpected error in Gutentor](https://wordpress.org/support/topic/the-editor-has-encountered-an-unexpected-error-in-gutentor/)
 *  Plugin Author [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/the-editor-has-encountered-an-unexpected-error-in-gutentor/#post-18547472)
 * This error is slightly different to the others I’ve seen, but just to let you
   know Gutenberg 21.1.1 has been released and may fix your problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gutenberg] 21.1.0 editor error](https://wordpress.org/support/topic/21-1-0-editor-error/)
 *  Plugin Author [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/21-1-0-editor-error/#post-18547470)
 * There’s now a Gutenberg v21.1.1 release that you can update to and it should 
   resolve the issue.
 * Let me know via a reply if you still have any problems!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gutenberg] Gutenberg error reported](https://wordpress.org/support/topic/gutenberg-error-reported/)
 *  Plugin Author [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/gutenberg-error-reported/#post-18547468)
 * There’s now a Gutenberg v21.1.1 release that you can update to and it should 
   resolve the issue.
 * Let me know via a reply if you still have any problems!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gutenberg] Unexpected error after updating to 21.1.0](https://wordpress.org/support/topic/unexpected-error-after-updating-to-21-1-0/)
 *  Plugin Author [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/unexpected-error-after-updating-to-21-1-0/#post-18547465)
 * There’s now a Gutenberg v21.1.1 release that you can update to and it should 
   resolve the issue.
 * Let me know via a reply if you still have any problems!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress Shaking While in Edit Mode](https://wordpress.org/support/topic/wordpress-shaking-while-in-edit-mode/)
 *  [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/wordpress-shaking-while-in-edit-mode/#post-18142675)
 * I haven’t experienced myself, but it was mentioned to me that this was resolved
   after updating the Grammarly browser extension to the latest version.
   Is anyone
   able to confirm?
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [Synced patterns override – don’t display field when not filled in](https://wordpress.org/support/topic/synced-patterns-override-dont-display-field-when-not-filled-in/)
 *  [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [2 years ago](https://wordpress.org/support/topic/synced-patterns-override-dont-display-field-when-not-filled-in/#post-17904215)
 * [@thegirlinthecafe](https://wordpress.org/support/users/thegirlinthecafe/) Sorry
   for the late reply. From what I understand, the button block should already behave
   like that, not showing in the frontend of your site when there’s no button text.
   The same is true when using a button in a pattern with overrides.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gutenberg] Fatal PHP error in v18.6.0](https://wordpress.org/support/topic/fatal-php-error-in-v18-6-0/)
 *  Plugin Author [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-php-error-in-v18-6-0/#post-17882459)
 * [@jetteroh](https://wordpress.org/support/users/jetteroh/) Sorry for a slow reply.
   This should be fixed in the latest [Gutenberg 18.7.1 release](https://github.com/WordPress/gutenberg/releases/tag/v18.7.1).
   
   I think you’re using WordPress 6.4, and so you should know that the Gutenberg
   plugin will drop support for 6.4 in the not too distant future after WordPress
   6.6 is released, so you may want to consider upgrading to 6.5 or 6.6.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPForms - AI Form Builder for WordPress - Contact Forms, Payment Forms, Survey Form, Quiz & More] After WP update, showing shortcode instead of form](https://wordpress.org/support/topic/after-wp-update-showing-shortcode-instead-of-form/)
 *  [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/after-wp-update-showing-shortcode-instead-of-form/#post-16743965)
 * I found some more info on why this is happening here – [https://core.trac.wordpress.org/ticket/58333](https://core.trac.wordpress.org/ticket/58333)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Outside Query Loop](https://wordpress.org/support/topic/outside-query-loop/)
 *  [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/outside-query-loop/#post-16688022)
 * Maybe we’ll leave it there if this is how you reply to people trying to help 
   you.
 * Good luck!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Outside Query Loop](https://wordpress.org/support/topic/outside-query-loop/)
 *  [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/outside-query-loop/#post-16687511)
 * > My block uses context provided by Query Block: “queryId”, “query”, “queryContext”.
   > None of this contains data I need. How do you get data stored in DB out of 
   > this objects?
 * I think you want to use the `postId` property from the block context.
 * How you fetch the post data is different different depending on whether you’re
   writing JS or PHP. In PHP, you can use `get_post( $context[ 'postId' ] )`.
 * For the JS part, the way I’d recommend is `useEntityProp( 'postType', postType,
   property , postId )`, which provides an API for both reading from and writing
   to the properties of a post. There’s an example here – [https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/post-title/edit.js#L40](https://github.com/WordPress/gutenberg/blob/832da5008b68ae4c3fef9acc87928f44ee4f18d8/packages/block-library/src/post-title/edit.js#L40)
 * I’d still recommend starting with `ServerSideRender` for the JS part to make 
   the learning curve easier. It’s often easier to get something working first, 
   and then build on the initial concepts.
 * > Also I tried to research code and found some very strange stuff. I suspect 
   > that “wp-includes/blocks” folder contain wordpress blocks. But inside each 
   > block folder there are only .css files and block.json file.
 * The source code for blocks is in the gutenberg project, in the `packages/block-
   library` folder.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Enforcing default block in block directory search](https://wordpress.org/support/topic/enforcing-default-block-in-block-directory-search/)
 *  [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/enforcing-default-block-in-block-directory-search/#post-16660584)
 * I found a ticket that seems to match your situation – [https://meta.trac.wordpress.org/ticket/6735](https://meta.trac.wordpress.org/ticket/6735).
 * I also found this ticket –
   [https://meta.trac.wordpress.org/ticket/6465](https://meta.trac.wordpress.org/ticket/6465)
 * The attached patch suggests that the `parent`/`ancestor` properties are used 
   to determine the top-level block, and only a top-level block should be displayed.
   If a block references a parent that’s not within the plugin then it should also
   be considered top-level.
 * I’d suggest commenting on the tickets mentioning your issue. Hopefully it’ll 
   help track down why it’s not working.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Enforcing default block in block directory search](https://wordpress.org/support/topic/enforcing-default-block-in-block-directory-search/)
 *  [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/enforcing-default-block-in-block-directory-search/#post-16660553)
 * The WordPress REST API seems to use the first block:
   [https://github.com/WordPress/wordpress-develop/blob/0276bfdd6d714810542866adf4325619b873db67/src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php#L124-L125](https://github.com/WordPress/wordpress-develop/blob/0276bfdd6d714810542866adf4325619b873db67/src/wp-includes/rest-api/endpoints/class-wp-rest-block-directory-controller.php#L124-L125)
 * I don’t know how the order of the blocks is defined though. It possibly matches
   the order that’s shown in your plugin’s description – [https://wordpress.org/plugins/infinite-scroll-block/#description](https://wordpress.org/plugins/infinite-scroll-block/#description).
    -  This reply was modified 3 years, 4 months ago by [Daniel Richards](https://wordpress.org/support/users/talldanwp/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [WooCommerce variation image issue](https://wordpress.org/support/topic/woocommerce-variation-image-issue/)
 *  [Daniel Richards](https://wordpress.org/support/users/talldanwp/)
 * (@talldanwp)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-variation-image-issue/#post-16660466)
 * [@gavalian](https://wordpress.org/support/users/gavalian/) I’d suggest reaching
   out to WooCommerce’s own support.
 * The support here is for general WordPress problems, and doesn’t extend to issues
   with plugins.

Viewing 15 replies - 1 through 15 (of 123 total)

1 [2](https://wordpress.org/support/users/talldanwp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/talldanwp/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/talldanwp/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/talldanwp/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/talldanwp/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/talldanwp/replies/page/2/?output_format=md)