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

A "block" for newly themes like 2025 #522

Open
differentieel opened this issue Dec 14, 2024 · 4 comments
Open

A "block" for newly themes like 2025 #522

differentieel opened this issue Dec 14, 2024 · 4 comments

Comments

@differentieel
Copy link

Very Near Future Request

Expected behavior

in the newly designed themes in WordPress - like Twenty Twenty-Five by the The Wordpress Team we have "blocks"
it would be great to have a LCP block to complete the blogging in those modern themes (there more based op 2025) like NORRSKEN by Anders Norén - see my website

Actual behavior

there is no LCP block available
widgets don't work in block themes
the 'shortcode' does work but formatting is not possible - all LCP post URL are on one vertical line - even when: catlist catname=yes catname_class=h2 ect - the last one is jumping to the left

Shortcode used and steps to reproduce the behavior

have a look at this blogpost - scroll down to see the behavior

WP version, LCP plugin version (versions of other software if relevant, e.g. PHP)

WP 6.7.1 - LCP 0.90.0

Not only for my self but it seems to be smart to make a LCP Block available for everyone ;)

@klemens-st
Copy link
Collaborator

I had a look at your site but couldn't tell what you mean, there is one LCP instance with two elements which look well formatted.

@differentieel
Copy link
Author

🙏🏻 for responding so quickly - there is no formatting possible except the size of the thumbnail - the H2 is jumping to the left, outside the text borders in the middle - the thumbnails should show in rows instead of vertical aligned

the way the LCP codes are arranged/inserted in the theme are as a "shortcode" combination in the 2025 themems that make them unreadable for CSS

@differentieel
Copy link
Author

when you look inside the 2025 theme you probably understand the problem

@klemens-st
Copy link
Collaborator

There must be some kind of misunderstanding 😉 Inside the LCP instance there are no h2 elements, so I don't know what you are referring to.

The widget is kind of obsolete and not being developed, it only receives bug fixes, we encourage the shortcode usage. As a replacement you can use my GUI add on plugin which helps you generate shortcodes but is not Gutenberg aware so it only works in Gutenberg’s ‘Classic’ block.

Whatever method you use: plain shortcode, widget, GUI plugin, you can use any CSS styling you want as described in the docs.

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

No branches or pull requests

2 participants