Par défaut, le thème mettra en avant les 3 sujets les plus récents étiquetés featured et intégrera la première image du sujet. Dans les paramètres, vous pouvez choisir une balise personnalisée, masquer la balise, définir un titre personnalisé et configurer l’emplacement d’apparition du composant.
Vous pouvez modifier ce comportement par défaut en activant show all always. Cela rendra le composant défilant horizontalement sur les petits écrans (< 1000px).
Sur les écrans les plus petits (< 600px), vous avez la possibilité de les empiler à la place, en modifiant le paramètre mobile style.
Lorsqu’activé, la balise “featured tag” définie ci-dessus sera invisible pour les utilisateurs normaux lors de l’affichage des sujets.
show on
show for
make collapsible
Rendre l’ensemble du composant réductible
show title
Affiche le texte défini ci-dessous (le titre est toujours affiché lorsque make_collapsible est activé)
title text
trier par date de création
show all always
Par défaut, le nombre de sujets affichés diminue avec la taille de l’écran, jusqu’à un seul sur mobile. Cocher ce paramètre affichera tous les sujets quelle que soit la taille de l’écran.
hide closed topics
Masquer les sujets fermés de la liste des sujets en vedette
always link to first post
Toujours lier au premier message du sujet, même s’il a déjà été lu
mobile style
Si show_all_always est coché, les sujets seront affichés par un défilement horizontal par défaut. Vous pouvez modifier ce comportement sur les petits écrans et choisir de les empiler sur tout écran inférieur à 600px.
featured content position
Développement de thème avancé : cela modifie le point d’insertion du plugin pour le composant
Traduction
Défaut
featured_topic_title
Hébergé par nous ? Les composants de thème sont disponibles pour une utilisation sur nos plans Standard, Business et Enterprise.
This is lovely. Although I already use the Featured Topic Component, but this is not a bad idea too.
A suggestion, though: How about you make this component work with links too and not just tag? Maybe then can we link the contents to be sourced from maybe categories and/or top (to stand for trending) IMHO. With this, one can have the Trending topics feature on the homepage; like Reddit has. What do you think about this @awesomerobot?
Great component, thank you! A little feature request: It would be great, if you could adjust the number of topics on desktop/mobile and also show the author of the post beneath the image…
Amazing component.It gives a nice look to homepage. Would it be possible to showcase also 3 topics on mobile? Maybe with a slider? And also,would it be possible to showcase also featured topics by category?
I found a bug with how this component interacts with user cards.
For some reason, the user cards don’t seem to be aware that the component is adding page height.
Here is a screenshot from the theme previewer, when I click on a user profile the card comes up. As you can see the user card seems to be unaware of the featured topics:
I’ve taken several stabs at fixing this but I’m not sure why the height of the component isn’t being taken into account when calculating user card positioning.
The way I had it previously was interfering with some margin collapse… which threw off our top positioning calculation for user-cards… it’s briefly covered here: Mastering margin collapsing - CSS | MDN, this was related to “No content separating parent and descendants.”
Hi @awesomerobot this theme component is amazing. However, I would like to know if it’s possible that in the mobile version it doesn’t appear just 1, but a slider of the 3 featured themes that you can see in the main page. i think it gives a nice look to the main page. It would also be great if it was possible to add featured themes on each category page? Hopefully you can give some feedback and thanks a lot for this!
Thanks for this, it is really nice.
Is there anyway we can actually make the mobile show the 3 in a slider mode?|
Another awesome feature might be if you go inside a category or tag it can actually filter your “featured” tags and show them particularly for that tag or category.
That’s strange, I don’t see that much space on my end… is it possible you have other themes installed that could be causing it? (also as a side note that looks like desktop view at mobile with, not mobile view)
Hi,
Yesterday we had some thumbnails show up very nicely from 3 posts (2 of the post did not include images but rather a YouTube video) the system however had extracted the thumbnail and all was good.
Suddenly today the thumbnails are no longer appearing for the two posts that had the YouTube video. Is there a known problem here?