grav-plugin-relatedpages icon indicating copy to clipboard operation
grav-plugin-relatedpages copied to clipboard

Plugin stopped working after 1.7 update

Open tomceek opened this issue 4 years ago • 2 comments

The plugin stopped working after the 1.7 update. Probably, related to the changed path of the pages. Any help would be grateful.

{% for related_path, score in related_pages %} {% set related = grav['pages'].get(related_path) %} {% set related_image = related.media.images|first %} {% if related %} ...

tomceek avatar Feb 09 '21 19:02 tomceek

Seems to work for me in my testing. I guess I need more details.

rhukster avatar Feb 25 '21 21:02 rhukster

Update March 2023 for any new readers: it definitely works in 1.7.4, but Im not sure why its picking up words in the content if content is set to false. It still picks up words that are tags (eg images tag and 'images' the word). But, still good. Ive put it in the page foot so that each post has its own set of 'suggested posts'.

Penworks avatar Mar 29 '23 05:03 Penworks