I know we can print post property (e.g. title or date) wrapped into the link to the post by using a block with the attribute "isLink":true i.e.

<!-- wp:post-title {"level":1, "isLink":true} /-->

But is there a "built-in" block to print post link standalone?

Something like

<a href="<!-- wp:post-permalink {} /-->">Link to a post</a>

None of the following options work:

<!-- wp:post-permalink {} /-->
<!-- wp:post-link {} /-->
<!-- wp:post-url {} /-->
<!-- wp:post-path {} /-->
  • Are there anybody knows how to fix this issue? Commented May 3, 2023 at 13:05


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.