Giter VIP home page Giter VIP logo

Comments (5)

bobbingwide avatar bobbingwide commented on September 24, 2024

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.
image

I can apply the same workaround as I did for Fizzie; override the rendering of template parts.

from sb.

bobbingwide avatar bobbingwide commented on September 24, 2024

Editor -Tag cloud colour cannot be set

Two things here.

  1. The tag cloud doesn't support colours
  2. I only need to change the colour of links in a footer

from sb.

bobbingwide avatar bobbingwide commented on September 24, 2024
  1. 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.

bobbingwide avatar bobbingwide commented on September 24, 2024

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.

bobbingwide avatar bobbingwide commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.