Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
skoda-ep:carousel [23.11.2017 15:10]
Jakub Štěpánek
skoda-ep:carousel [02.05.2024 07:56] (aktuální)
Zbyňěk Hovorka
Řádek 1: Řádek 1:
-Carousel is placed only on the homepage. It rotates selected articles. ​+====== ​Carousel ​====== 
 +The carousel ​is placed only on the homepage. It rotates selected/​latest ​articles. ​ 
 + 
 +{{ :​skoda-ep:​sni_mek_obrazovky_2019-09-25_v_16.20.55.png |}}
  
 To define articles go to Administration of WordPress and go to Carousel section - See left navigation: Carousel. To define articles go to Administration of WordPress and go to Carousel section - See left navigation: Carousel.
  
-{{:​skoda-ep:​carousel.png|}} ​ 
  
-===== How to setup image position in carousel ​=====+===== Home Page Carousel ​setup ===== 
 + 
 +{{ :​skoda-ep:​carousel-setup-page_v2.png |}} 
 + 
 +There are 2 carousels - one for the Storyboard homepage and one for the Media Room Homepage. The setup page also contains 2 options tabs (**Homepage**/​**Media Room Homepage**). 
  
 +----
 +//The Carousel must be set up for each language separately! So it provides flexibility to have a different sticky post in the carousel in each language version of StoryBoard.
 +//
 +----
 +There are 3 positions in each carousel which are automatically filled by the latest Stories in the case of Storyboard and by News in the case of Media Room. You can set up what content type is used for automatic filling. See **Automatic post type** list of checkboxes.
  
-We have 3 options ​in the vertical plane and 3 options ​in the horizontal planeYou can choose which part of the image you want to primarily see (top right corner, center or bottom right corner, and other combinations).+If you select 1 article from the Left list to the Right list, you will overwrite one position ​in the carousel. If you select 2 articles, you will fill 2 positions ​in the carouselThe third position is still filled by the latest article. So, you can stick up to 3 articles in the carousel despite there being 3 more newest articles than your stuck ones.
  
-Carousel ​on the homepage uses 3:1 aspect ratio of the view box (what this means is that the image inside the carousel will be 3x wide and 1x high, i.e. 1500x500 px or 2100x700 px and so on). The image will be positioned based on the settings you have chosen (i.e. bottom corner/​center etc.). Settings are available in each post metabox called Carousel/​Hero options (Bottom right of post edit screen).+===== Exclude Category from Carousel ​=====
  
-For **transparent background**slide down with the right trimmerYou will see transparent color as "​chessboard patern"​+If necessaryone or more categories can be removed from the carouselSuch exclusion is done in the category settings. However, if you manually select an article in the carousel selection, the setting ​will ignore its prohibited category. It is therefore possible to manually attach any article regardless of whether or not it is included in prohibited category.
  
-{{:​skoda-ep:​carouselherooptions.png?nolink|}}+{{:​skoda-ep:​category-carousel.png|}}
  
  
-===== Examples ===== 
-  
-These are 3 examples of visibile parts of image located on the homepage based on the "​Vertical anchor"​ setting 
  
-{{:​skoda-ep:​stb_carousel_top.jpg?​nolink&​100|}} 
-{{:​skoda-ep:​stb_carousel_center.jpg?​nolink&​100|}} 
-{{:​skoda-ep:​stb_carousel_bottom.jpg?​nolink&​100|}}