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 [22.11.2017 06:31]
Lukáš Čech [How to setup image position in carousel]
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**).
  
  
-We have 3 options ​in the vertical plane and 3 options ​in the horizontal plane. You can choose which part of the image you want to primarily see (top right corner, center or bottom right corner, and other combinations).+---- 
 +//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 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.
  
-Carousel on the homepage uses 3:aspect ratio of the view box (what this means is that the image inside ​the carousel ​will be 3x wide and 1x highi.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).+If you select ​article from the Left list to the Right list, you will overwrite one position in the carousel. If you select 2 articlesyou will fill 2 positions in the carousel. The third position is still filled by the latest articleSo, you can stick up to 3 articles ​in the carousel despite there being 3 more newest articles than your stuck ones.
  
 +===== Exclude Category from Carousel =====
  
-{{:​skoda-ep:​carouselherooptions.png?​nolink|}}+If necessary, one or more categories can be removed from the carousel. Such 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 a prohibited category.
  
 +{{:​skoda-ep:​category-carousel.png|}}
  
-===== Nadpis ===== 
-Examples ​ 
  
-These are 3 examples of visibile parts of image located on the homepage 
  
-{{:​skoda-ep:​stb_carousel_top.jpg?​nolink&​100|}} 
-{{:​skoda-ep:​stb_carousel_center.jpg?​nolink&​100|}} 
-{{:​skoda-ep:​stb_carousel_bottom.jpg?​nolink&​100|}}