Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
901 stars 357 forks source link

Varia: Respect styling of testimonials on testimonial archive page #1832

Open jordesign opened 4 years ago

jordesign commented 4 years ago

Steps to replicate

This affects Testimonials on any site using Varia or its child themes:

  1. Add 1 or more Testimonials (CPT provided by Jetpack)
  2. View the single Testimonial as compared to the Testimonial archive page

eg:

Result

No styling of text (bold italics) comes through in the archive view. All styling is stripped.

Screen Shot 2020-03-02 at 4 35 48 pm

Expected

I expected styling of the text (bold, italics) to come through in the Archive view as they do in the single/detail view.

Screen Shot 2020-03-02 at 4 35 41 pm
jordesign commented 4 years ago

I'm aware this is in some ways a discussion of whether the Jetpack Testimonials deserves some kind of special treatment. The archive template currently shows the_excerpt() when not specifically defined for a post type.

In the instance of Testimonials I can see there being value in archives outputting the_content() instead as they are usually short and self contained posts.

I'm also happy to work on a PR for this - but figured it needs discussion first...

nielslange commented 4 years ago

@jordesign As discussed in Slack, this issue is yours and you can create a PR for it. 😉