항상 모두 표시 옵션을 켜면 이 기본 동작을 변경할 수 있습니다. 이렇게 하면 작은 화면(< 1000px)에서 컴포넌트가 가로로 스크롤되도록 합니다.
가장 작은 화면(< 600px)에서는 모바일 스타일 설정을 변경하여 주제를 대신 쌓아 올리는 방식을 선택할 수 있습니다.
설정
이름
설명
featured tag
주제를 가져올 태그를 설정합니다. 선택된 태그 중 어떤 태그와 일치하는 주제가 선택됩니다.
number of topics
최대 폭에서 최대 5개의 주제를 표시합니다
max number of topics
선택된 주제의 최대 수입니다. number of topics보다 높게 설정하면 주제를 페이지네이션하기 위해 화살표가 표시됩니다.
pages loop
페이지네이션이 활성화된 경우(max number of topics > number of topics), 마지막 페이지를 넘어가면 첫 페이지로 돌아갑니다.
hide featured tag
활성화된 경우(기본값), 위에서 설정한 featured 태그는 일반 사용자가 주제를 볼 때 숨겨집니다. 스태프는 여전히 볼 수 있습니다.
show on
컴포넌트가 표시되는 위치: homepage, top_menu 페이지(상단 메뉴 사이트 설정에서 설정된 페이지) 또는 all 페이지.
show for
컴포넌트를 보는 방문객: everyone, logged_in 사용자만, 또는 logged_out(익명) 방문객만.
make collapsible
전체 컴포넌트를 접을 수 있게 만듭니다
show title
아래에 설정된 텍스트를 표시합니다 (make_collapsible이 켜져 있으면 제목은 항상 표시됨)
title text
제목에 사용할 텍스트입니다. 이를 로컬라이즈하려면 featured_topic_title 번역을 대신 사용하세요
sort by created
비활성화하면 최근 댓글 순으로 정렬합니다
show all always
기본적으로 표시되는 주제의 수는 화면 크기에 따라 감소하여 모바일에서는 1개만 표시됩니다. 이 설정을 체크하면 모든 화면 크기에서 모두 표시됩니다.
hide closed topics
선택된 주제 목록에서 닫힌 주제를 숨깁니다
always link to first post
이전에 읽었는지 여부와 관계없이 항상 주제의 첫 번째 게시물로 링크합니다
mobile style
show_all_always가 체크되어 있으면 기본적으로 주제는 가로 스크롤을 통해 표시됩니다. 이 동작은 작은 화면에서 변경할 수 있으며, 600px 미만인 경우 쌓아 올리는 방식으로 선택할 수 있습니다.
featured content position
고급 테마 개발: 이 설정은 컴포넌트의 플러그인 아웃렛을 변경합니다
번역
기본값
featured_topic_title
우리가 호스팅을 하고 계신가요? 테마 컴포넌트는 Pro, Business, 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?