-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a note about references in reusable blocks Signed-off-by: Narek Zakarian <[email protected]>
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,6 +104,22 @@ Yes, you need your own API key to connect with the Eurotext servers. For more in | |
|
||
Just send an email to [email protected] with a request. | ||
|
||
**Issue with References in Reusable Blocks.** | ||
|
||
In instances where Gutenberg's reusable blocks are utilized, there may be discrepancies in the references within imported posts. This can result in missing or inaccurate references to the corresponding reusable blocks. | ||
|
||
Specifically, the issue arises when the imported posts receive different IDs compared to the original posts, causing the references to become mismatched. | ||
|
||
*Illustrative Example:* | ||
|
||
For instance, let's consider a reusable block named "Text-Section" with the ID 1429. This block is utilized on the main page, and in the database, it is referenced as Ref: 1429, allowing it to be displayed. | ||
|
||
On the Spanish version of the site, the same "Text-Section" block is assigned the ID 189. However, in the database, the main page continues to search for the reusable block with the reference 1429, which no longer exists. Consequently, WordPress encounters difficulty in displaying the block. | ||
|
||
*Identifying Reusable Blocks:* | ||
|
||
To identify reusable blocks in the database, look for the following markup: *<!-- wp:block {"ref":1429} /-->* | ||
|
||
## License | ||
Copyright (c) 2021 Inpsyde GmbH | ||
|
||
|