Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Related Posts on Index and Archives #409

Open
richardmtl opened this issue Mar 24, 2014 · 15 comments
Open

Show Related Posts on Index and Archives #409

richardmtl opened this issue Mar 24, 2014 · 15 comments
Labels
[Feature] Related Posts Good For Community [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it

Comments

@richardmtl
Copy link
Contributor

Related Posts only appear on individual posts. Can we add an option to make them appear on each post in index.php and archives? Similar to the option we have for sharing buttons.

Originally requested here: http://wordpress.org/support/topic/related-posts-dont-show-up-on-main-page?replies=1

@jeherve
Copy link
Member

jeherve commented Oct 23, 2014

@mikeyarce
Copy link
Member

Also suggested here: 2190849-t

@kraftbj kraftbj added this to the vFuture milestone May 26, 2015
@samhotchkiss samhotchkiss modified the milestones: vFuture, Needs Triage Aug 29, 2015
@jeherve jeherve modified the milestones: Community, Needs Triage Feb 16, 2016
@samhotchkiss samhotchkiss modified the milestones: Community, Not Currently Planned Feb 10, 2017
@jerclarke
Copy link

Would like to add another dimension to this: Can we have the "related posts" display available outside of the "related posts" use-case?

I love how they look and work. I would like to use the format in a widget on my homepage as the main headlines display for recent posts (the core Recent Posts widget is so crappy with no images etc).

Would also be a great widget item to show off posts from a particular taxonomy term.

Having a vertical format (for sidebars) would be pretty much mandatory to make it work.

I can create a new ticket for this, but figured I'd add it here to avoid adding noise.

@stale
Copy link

stale bot commented Sep 18, 2018

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

@stale stale bot added the [Status] Stale label Sep 18, 2018
@jerclarke
Copy link

I still want this feature, as well as my idea for a more generalized display!

@stale stale bot removed the [Status] Stale label Sep 18, 2018
@kraftbj
Copy link
Contributor

kraftbj commented Sep 18, 2018

Related Posts take the content of the current post, scores it, then compares that to other content on the site to come up with a sense of what's related. With having more "generic" related posts, what would y'all expect the "source" be to compare to?

It almost sounds like the type of display is notable and good, but the source of information may be different. Like, for an index or archive, maybe the most popular posts on a site/in a term may make mores sense?

This isn't something on the roadmap right now, but I appreciate your input so we have a better sense of it when it is up for consideration.

@jerclarke
Copy link

Personally I'd love Jetpack to add a widget that is just like "Jetpack posts" and uses this display.

On our industrial-strength, custom-everything WP site we have a widget that does this called "Headlines". It lets you choose Recent, Popular (Google Analytics API), Random as well as picking a term from categories/tags.

I would love it if "Jetpack Posts" widget had similar options. Then on a well-sidebared theme it would be easy to build a homepage with topical sections using this nice-looking and theme-agnostic display. We could also use it to show "popular posts from across the site" (Jetpack stats) in the general posts sidebar, which is a nice complement to the "related to this post" headlines you see at the bottom.

Having it also be available as a shortcode would be great too, so we could e.g. put a shortcode at the bottom of a post and specify a specific category we want to show posts from before the related ones (i.e. "More posts about Widgets!" below an article about the new Jetpack Posts widget :P )

@jeherve jeherve added the [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack label Sep 21, 2018
@jeherve
Copy link
Member

jeherve commented Sep 21, 2018

Thanks for the extra details.

This sounds like a mix between Jetpack's Top Posts Widget, Jetpack's Display Posts Widget, and a yet to come Related Post widget (# for now).

Widget may not be the correct term here, as it would be something you'd see as a shortcode as well. This may be a good candidate for a Gutenberg block maybe: basically a block offering you to display posts, with options like the number of posts you want to display, as well as how the posts should be queried: popularity, category / tag, and more.

Am I understanding things correctly here?

@kraftbj
Copy link
Contributor

kraftbj commented Sep 21, 2018

+1 to this being a potential future block.

@jerclarke
Copy link

@jeherve Yeah Gutenberg, I forgot about that. Having a block would be good too of course. I did mean widget as in widget though. I'd like to put recent posts, with that nice display in sidebars.

You mention Top Posts and Display Posts widgets, which I don't use, but forgot why:

  • Top Posts & Pages has "text list" "image list" and "image grid", but all three are very flawed compared to what I see from "related posts".
    • The text list is the same as the default WP recent posts widget
    • the image list uses tiny images
    • the image grid is JUST images, when what would make a nice consistent UI is a grid of image+headline / image+headline / image+headline

Display WordPress Posts I honestly don't know what it does because I can't get it to work but it seems to demand a URL of an external WP site, which isn't what I want. When I give it my own website's address (which is silly but I tried it) I get an error:

An error has occurred. Please reload the page and try again.

So maybe Display WordPress Posts does look and work like "Related Posts", but if it does, I think it should be rebranded as "Display Posts" and the "external" aspect should be optional (and it should work better and fail with more specific errors). "Display WordPress Posts" is pretty ambiguous since it could also describe local posts.

Ultimately I think it would be ideal if there were less Jetpack widgets, because there are so so many now, and it's confusing. If there was one called "Display Posts (Jetpack)", it could have options for "top posts", post types, taxonomies etc. all in one place and with a consistent set of display modes (text/small image/large image/just image).

@jeherve
Copy link
Member

jeherve commented Sep 21, 2018

I honestly don't know what it does because I can't get it to work

It should work with any URL of a WordPress.com or Jetpack site, even your own. Small caveat; if using a Jetpack site, the JSON API module has to be activated. It is activated by default though, so that should not be an issue.

If you'd like we can take a closer look as to why that does not work for you; don't hesitate to send us an email with more details about the site, or you can just bug Richard A. about it the next time you meet him :)

If there was one called "Display Posts (Jetpack)", it could have options for "top posts", post types, taxonomies etc. all in one place and with a consistent set of display modes (text/small image/large image/just image).

That makes sense. It would certainly be ideal and much simpler! It may not be easy though, as many people use the existing widgets and sometimes heavily customize them. As you pointed out the look may not be what you're looking for, which is why some people customize them through filters (to get bigger images for example) or CSS.

@tyxla
Copy link
Member

tyxla commented Dec 20, 2018

We're planning to add Related Posts as a block in the next Jetpack version - 6.9. #10132 has already been merged. Should we close this issue, @jeherve? Or at least label "Gutenberg" out of it.

@jeherve jeherve removed the [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack label Dec 20, 2018
@jeherve
Copy link
Member

jeherve commented Dec 20, 2018

Yes, I'll remove that label. The block will address some of this by offering a way for folks to show Related Posts on archive pages if they add the block to a post that is displayed there.

@stale
Copy link

stale bot commented Jun 18, 2019

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

@stale stale bot added the [Status] Stale label Jun 18, 2019
@kraftbj kraftbj removed this from the Not Currently Planned milestone Jan 26, 2021
@stale stale bot removed the [Status] Stale label Jan 26, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale. This happened because:

  • It has been inactive in the past 6 months.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`, etc.

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

leogermani pushed a commit that referenced this issue Aug 12, 2022
Bump version to 1.5.7.1 and update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Related Posts Good For Community [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

No branches or pull requests

8 participants