Archived topic
Dynamic Content vs Theme Blocks
3 replies · Started by Hashim on July 17, 2021
Hi there,
Quick question...
How does dynamic content of GeneratePress Premium relate to Theme Blocks of WordPress 5.8 and above?
Do they overlap in functionality, should we use one above the other for best results or they do work together hand in hand?
Thank you in advance!
Sincerely,
Hashim
Hi there,
There is nothing stopping you using one, the other or both.
The major differences is WP FSE will result in the creation of HTML templates to output your content, which currently has to be assigned in the post editor. This means no Hooks or calling other dynamic functions that are NOT 100% block based.
Whereas GP will allow you to replace entire content templates ( eg. Single Post or Archive posts ) or hook in specific templates ( eg. Post Heroes, Post Meta, Author Box etc ) to anywhere in your site and control their display conditions from a single place in the elements module. And its not limited to block based output.
Overtime as FSE develops we will look at the best parts for integration with GP.
Thanks for explaining, David!
You're welcome