Comments (5)
Front end - Tag cloud in the front end is displayed with
<br />
between each link - when formatted in a template part.
As expected, this is another instance of the problem I raised with wpautop()
being run for template parts.
WordPress/gutenberg#26731
Commenting out line 104 of build/block-library/blocks/template-part.php
resolves the problem.
//$content = wpautop( $content );
The fix needs to be applied to packages/block-library/src/template-part/index.php
.
I can apply the same workaround as I did for Fizzie; override the rendering of template parts.
from sb.
Editor -Tag cloud colour cannot be set
Two things here.
- The tag cloud doesn't support colours
- I only need to change the colour of links in a footer
from sb.
- Front end - White colour for the headings has not been respected
This appears to be the same problem as WordPress/gutenberg#29535
But I got a different result from Carolina's comment WordPress/gutenberg#29535 (comment)
I've worked around the problem by removing the unnecessary colour for link, which added the style
attribute which didn't look quite right to me.
style="--wp--style--color--link:var(--wp--preset--color--background)"
Elsewhere the inline CSS sets the color property as:
color:var(--wp--style--color--link,#00e)
from sb.
Whereas the Tag cloud is working fine in the footer, the archive pages for s-word and b-word haven't yet been developed.
Leaving open therefore.
from sb.
the archive pages for s-word and b-word haven't yet been developed. Leaving open therefore.
I didn't need to develop archive pages for taxonomies - index.html does the job.
The template part override, commenting out wpautop(), is still in place.
So is the, possibly unnecessary, tag cloud override.
Closing anyway.
from sb.
Related Issues (20)
- Rename block-templates and block-template-parts HOT 1
- Rework submit bigram page HOT 4
- Investigate server performance when Yoast SEO activated HOT 1
- Do we need a widget cache?
- Develop nav menu item override a la Fizzie / Thisis HOT 1
- the_posts filter affecting Dashboard All Bigrams listing HOT 1
- Investigate reducing processing in the `genesis_sb_the_posts filter()` function for `the_posts` HOT 4
- Styling blips with v0.2.1 HOT 7
- Remove block override dependency on Gutenberg
- Replace Classic blocks with shortcode blocks or equivalent Gutenberg blocks HOT 1
- Support PHP 8.1, PHP 8.2 and PHP 8.3. HOT 1
- Add AI prompt and AI response styles. Adjust featured image size on singular.html HOT 2
- Add AI revised prompt style. Adjust home page hero layout HOT 2
- Add support for additional fields: Suggested/supplied by and Synthesised by - which are probably taxonomies HOT 3
- Images incorrectly sized on the home page HOT 1
- Enable image search on Search results page and Supplied-by archive page HOT 1
- Override tag cloud block to display more than 100 tags for the Supplied By taxonomy HOT 3
- Update the main-menu for the new book - Stupidly Brilliant
- Display taxonomy info below the bigrams on archive pages HOT 1
- Font has unexpectedly changed to Times New Roman HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sb.