Widget Settings and Customization in Median UI

FullpageSponsoredProduct

"Fullpage" , "Label_2"

"Sponsored" , "Advertorial"
"Product" , "Label_1"

.postTitle a, .itemTitle a{-webkit-line-clamp:3}

<b:eval expr='snippet(data:post.body

<b:eval expr='snippet(data:post.snippets.long

expr:data-text='format(data:post.lastUpdated, &quot;MMMM d, YYYY&quot;)'
expr:data-text='format(data:post.date, &quot;MMMM d, YYYY&quot;)'

<b:includable id='postTimestamps'>
  <b:if cond='data:post.lastUpdated != data:post.date'>
    <time class='postTimestamp updated' expr:data-text='format(data:post.lastUpdated, &quot;MMMM d, YYYY&quot;)' expr:datetime='data:post.lastUpdated.iso8601' expr:title='&quot;Last updated: &quot; + data:post.lastUpdated format &quot;MMMM d, YYYY&quot;'/>
    <b:else/>
    <time class='postTimestamp published' expr:data-text='format(data:post.date, &quot;MMMM d, YYYY&quot;)' expr:datetime='data:post.date.iso8601' expr:title='&quot;Published: &quot; + data:post.date format &quot;MMMM d, YYYY&quot;'/>
  </b:if>
</b:includable>

.postTimes .postReadtime span{opacity:.8}

.postTimes .postReadtime span{opacity:.8}
.postTimes .postReadtime{display:none}

  1. Widget Label

<b:includable id='cloud'>
  <b:loop index='tags' values='data:labels' var='label'>
  
    <!--[ Only show 6 label ]-->
    <b:if cond='data:tags &lt;= 5'>
      <div class='labelSize'>...</div>
    </b:if>
    
    <!--[ Hide another label from 7th list ]-->
    <b:if cond='data:tags == 6'>
      <div class='labelShow'>
        <input class='labelInput hidden' id='offall-label' type='checkbox'/>
        <div class='labelAll'>
          <b:loop index='alltags' values='data:labels' var='label'>
          
            <!--[ Show label from 7th list ]-->
            <b:if cond='data:alltags &gt;= 6'>
              <div class='labelSize'>...</div>
            </b:if>
          </b:loop>
        </div>
        
        <label aria-label='Show label' class='label-more' expr:data-hide='data:messages.showLess' expr:data-show='data:messages.showMore' expr:data-text='&quot;+&quot; + (data:labels.length - 6)' for='offall-label'/>
      </div>
    </b:if>
  </b:loop>
</b:includable>

<b:includable id='list'>
  <ul>
    <b:loop index='tags' values='data:labels' var='label'>
    
      <!--[ Only show 6 label ]-->
      <b:if cond='data:tags &lt;= 5'>
        <li>...</li>
      </b:if>
      
      <!--[ Hide another label from 7th list ]-->
      <b:if cond='data:tags == 6'>
        <li class='labelShow'>
          <input class='labelInput hidden' id='offall-label' type='checkbox'/>
          <div class='labelAll'>
            <ul>
              <b:loop index='alltags' values='data:labels' var='label'>
              
                <!--[ Show label from 7th list ]-->
                <b:if cond='data:alltags &gt;= 6'>
                  <li>...</li>
                </b:if>
              </b:loop>
            </ul>
          </div>
          
          <label aria-label='Show label' class='label-more' expr:data-hide='data:messages.showLess' expr:data-show='data:messages.showMore' expr:data-text='&quot;+&quot; + (data:labels.length - 6)' for='offall-label' role='button'/>
        </li>
      </b:if>
    </b:loop>
  </ul>
</b:includable>

.Label .labelShow label:before{content:attr(data-show)}
    
// Kode untuk 'Show less'
    
.Label .labelInput:checked ~ label:before{content:attr(data-hide)}

.Label .labelShow label:before{content:'Label lainnya'}
    
// Kode untuk 'Show less'
    
.Label .labelInput:checked ~ label:before{content:'Sembunyikan'}

<!--[ add the content right below ]-->
<div class='sliderImg lazy' data-bg='https://1.bp.blogspot.com/-yMSpgmjn390/YF1Q5CvGIcI/AAAAAAAAQlg/59LxYemhlyEbbhqlpdfypu5OXRav4t-JgCNcBGAsYHQ/s0/slider-1-min.png'></div>

<!--[ add the content right below ]-->
<a class='sliderImg lazy' href='#' data-bg='https://1.bp.blogspot.com/-yMSpgmjn390/YF1Q5CvGIcI/AAAAAAAAQlg/59LxYemhlyEbbhqlpdfypu5OXRav4t-JgCNcBGAsYHQ/s0/slider-1-min.png' aria-label='Slider'></a>