tomusborne / generateblocks

GenerateBlocks is a small collection of lightweight WordPress blocks that can accomplish nearly anything.
https://generateblocks.com
194 stars 19 forks source link

GP Dynamic Data Gaps #1094

Open diggeddy opened 1 year ago

diggeddy commented 1 year ago

Description

Expand GenerateBlocks dynamic data options to include the options exclusively available to GP Dynamic Data options. Successful completion will allow us to deprecate GP Dynamic Data options.

Data Sources

Add:

Content Sources

Title The Title content source displays only the Single Post Content Title. It should conditionally display:

*The blog page title GP doesn't currently handle. We should take the opportunity to fix thia Consider: get_the_title( get_option('page_for_posts', true) );

Add content sources for archives Blocks to be included as noted, and conditions for front end display:

Link Sources Should be present on ALL blocks that have a link source. Consider GB Pro Container Links

General All Text Content Source Keep it simple and add text fields to add:

Calvin-Susan commented 1 year ago

I put in a separate issue, but the author meta is not available on the image block — would love to include that as well (so we could pull in custom author photos via custom fields).