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

Handle the diagram shortcode in excerpts #305

Open
pkuliga opened this issue Oct 25, 2024 · 1 comment
Open

Handle the diagram shortcode in excerpts #305

pkuliga opened this issue Oct 25, 2024 · 1 comment

Comments

@pkuliga
Copy link

pkuliga commented Oct 25, 2024

Hi, I would like to show the chess game diagram in the manual excerpt.

I'm doing it by adding [fen]r2qkb1r/pp1n1ppp/2p1pn2/3p1b2/8/3P1NP1/PPPNPPBP/R1BQ1RK1 w kq - 0 7[/fen] to the manual excerpt but it's not working.

Could we make it possible?

@yo35
Copy link
Owner

yo35 commented Oct 26, 2024

Manual excerpts in WordPress are supposed to be text only. This restriction is not just for chess diagrams, but also images for instance.

Still, you can bypass this restriction by installing a plugin or a theme that activates the shortcodes within excerpts: https://wordpress.org/plugins/easy-custom-auto-excerpt/ for instance.

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

No branches or pull requests

2 participants