Can you explain and maybe give examples?Hi, is there a plugin to add SEO content inside Forums and below posts? The native solution allows me to add only a description on top, but no content after the list of posts inside a forum.
og:image
etc., and anything else "below content", but placing "invisible" custom thread fields that can be called with template edits to insert into thread_view
, etc.It's probably worth looking at the pros and cons re: SEO. The thread list may be seen as adding irrelevant clutter to what otherwise could just be a good focussed page if it was an article on its own page. Especially with the article below the thread list.This would change the forum content to more than just a thread listing and would likely be beneficial for SEO.
The problem with that is that there are only 3 places that they can go, and none of them are where the author wants.Basically what you are asking for is Custom Forum Fields.
Vote for the possibility so that it doesn't need to be so hard:There are also suggestions on how to implement this, but I just ended up taking the "thread status block" box and making it invisible (don't display them how it's designed) so that I can call the custom thread fields where I want them to display and in what order I want them displayed.
And then above your thread, you can have something like this:
If I understand you correctly then you want to have an Article inside a forum node, with a snippet at the top and the full article below the thread list.
snippet()
or trim()
template functions (pretty sure that'd be snippet()
, but I'd have to play with whichever, for as long on the thread's message can be called in a thread list view to take a snippet from it (like the first 50 words).$thread
in the thread_list_macros
template to see if this is possible without a custom field of any kind.$thread.message|snippet(0, 150)
in there to get anything (unless I'm overlooking where it's nested).We use essential cookies to make this site work, and optional cookies to enhance your experience.