Skip to content

Displaying Dynamic text #58626

Open
Open

Description

What problem does this address?
Now there in no built-in method to dynamically display data within content in wordpress and that presents a challenge for users of various WordPress themes. Whether it's displaying the current year or changing statistics, users often encounter difficulties in updating dynamic content without resorting to plugins or manual template modifications. This manual intervention not only disrupts workflow efficiency but also introduces potential errors and maintenance overhead.

For example:
I’m using the Twenty Twenty-Three theme for my WordPress website and I’d like to display the current year dynamically within a paragraph, rather than hardcoding it. Ideally, I want the year to automatically update on the fly each year without requiring manual edits.

For example, the paragraph would currently say:
“We are now in 2024!”

But on January 1st, 2025 I want it to be changed automatically to:
“We are now in 2025!”

What is your proposed solution?
I propose integrating a flexible and user-friendly mechanism within WordPress themes to facilitate the dynamic display of content without the need for external plugins or manual code adjustments. By incorporating a built-in feature to handle dynamic data within content blocks or templates, users can effortlessly showcase changing information such as the current year, upcoming events, or other time-sensitive data points.

If we cannot do it codeless - so maybe add to the block template a way to add the relevant php code like you ca in the older classic themes in which you can edit the template and include some PHP to do it.

I think that this solution aligns with WordPress's commitment to user empowerment and accessibility by streamlining common tasks and reducing dependency on external resources. Providing users with intuitive tools to manage dynamic content enhances the overall user experience and encourages creativity in content creation.

I think that implementation this feature across WordPress themes, will empower users to seamlessly integrate dynamic data into their content without unnecessary complexity or reliance on third-party solutions.

Thank you for considering this enhancement request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions