gridd icon indicating copy to clipboard operation
gridd copied to clipboard

Display related posts on single post

Open vbaimas opened this issue 6 years ago • 7 comments
trafficstars

I really like the option to show some related posts on single post. Some inspiration : This section can have two options and be displayed as:

  • Grid layout. Featured image, date, author, comments, description or not, post title.
  • List layout. Appearing only the post title.

vbaimas avatar Jul 10 '19 10:07 vbaimas

Related posts are plugin territory so they can't be in the theme. However we could add styles for the most popular plugins... I think Jetpack does related posts so we should definitely check that and make sure they are properly styled.

aristath avatar Jul 10 '19 21:07 aristath

Xm. Instead of using plugin like Jetpack or something else, we can use a query to "call" the latest posts from the same category. What do you think?

vbaimas avatar Jul 11 '19 06:07 vbaimas

It's possible and easy, but not allowed in themes hosted in the w.org repository because it's plugin territory. So we can't add that functionality, we can just style plugins that add it.

aristath avatar Jul 11 '19 15:07 aristath

Sorry, but I do not have a deep knowledge of the specific issue that you mentioned. It seems strange to me as I have seen it personally on some themes hosted in the w.org.

vbaimas avatar Jul 11 '19 15:07 vbaimas

The review process in .org themes is a bit weird... There's the initial check when you submit a theme, and then once the theme is live you can do whatever you want. So some themes may be submitted without that feature and add it after they get approved. These themes get sometimes reported by users and other developers for violating the guidelines and then they are forced to remove those features. It's definitely possible to add it, but not that ethical 😅

aristath avatar Jul 11 '19 15:07 aristath

Who is saying that related posts are not allowed? That is worth discussing in a theme review meeting in that case.

It's only showing posts withing the same category, excluding the current post. I mean, it doesn't change or create any content, it displays existing content... Or did you mean something more advanced?

carolinan avatar Aug 25 '19 07:08 carolinan

Oh it's allowed?? I clearly remember seeing somewhere that it was plugin terrirory. My bad, marked as a feature request 👍

aristath avatar Aug 25 '19 13:08 aristath