Coder Social home page Coder Social logo

Comments (7)

mor10 avatar mor10 commented on May 5, 2024

Good issue. Are you interested in contributing with a PR, or highlight which rules you'd like to see changed?

from wprig.

benoitchantre avatar benoitchantre commented on May 5, 2024

Yes. I’ll either add some comments or work on a PR next week.

from wprig.

benoitchantre avatar benoitchantre commented on May 5, 2024

I'll try to work on it this week.

from wprig.

benoitchantre avatar benoitchantre commented on May 5, 2024

At the moment, WP Rig has styles on the following classes related to microformats:

  • hentry
  • entry-title
  • entry-content
  • entry-summary
  • updated
  • published

The only class not added by WP Rig is hentry (added by post_class()).

I would like to see styles removed from hentry, entry-title, entry-content and entry-summary.
This involves to add new classnames as replacements where entry-title, entry-content and entry-summary are used in the templates. These new classnames may depend on #109.

from wprig.

miklb avatar miklb commented on May 5, 2024

I wouldn’t remove the microformat classes, just add new styling hooks

from wprig.

benoitchantre avatar benoitchantre commented on May 5, 2024

At the moment, the idea is not to remove the microformat classes, only to move styles to other classes in order to decouple the microformat classnames and the styles. In a second step, structured data could be added with JSON-LD (recommended by Google) instead of microformats.

from wprig.

miklb avatar miklb commented on May 5, 2024

Ah, ok, I misread your comment regarding changing the class names. Also json-ld != microformat and I would argue not removing microformats if you want to add JSON-LD

from wprig.

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.