Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Create helper that can load reusable block in the template without the need to write large iterations of the code #402

Closed
wants to merge 1 commit into from

Conversation

DjidjaleskaSandra
Copy link

Description

Develop a helper function in PHP for WordPress that simplifies the process of loading reusable block content into templates. This function aims to reduce redundancy and improve code readability by encapsulating the common pattern of fetching, parsing, and rendering reusable blocks into a single, reusable utility.

Productive task

https://app.productive.io/1-infinum/tasks/7979972

Issue

infinum/eightshift-frontend-libs#459

@DjidjaleskaSandra DjidjaleskaSandra added the feature request New feature request label May 14, 2024
@DjidjaleskaSandra DjidjaleskaSandra self-assigned this May 14, 2024
@DjidjaleskaSandra DjidjaleskaSandra changed the title this helper will get reusable blocks content and render it This helper will get reusable blocks content and render it May 14, 2024
@DjidjaleskaSandra DjidjaleskaSandra changed the title This helper will get reusable blocks content and render it [FEATURE] Create helper that can load reusable block in the template without the need to write large iterations of the code May 14, 2024
@iruzevic iruzevic deleted the branch develop June 5, 2024 07:05
@iruzevic iruzevic closed this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants