Tutorial | Centerkan Total Pageviews

Tuesday, March 15, 2016


Assalamualaikum wbt..



Terpanggil untuk buat tutorial untuk centerkan total pageviews.. Puas aku mencarik cara-cara untuk centerkan pageview ni.. Akhirnya aku jumpa jugak cara-cara dia.. Aku jumpa tutorial ni pown kat Blog Bakul2011 .. So, aku copy paste kat sini yek tutorialnya... 


Jom ikut step ni....!!


1. Dashboard > Design > Edit html > Tick widget expand

2. Search code ini.

<b:if cond='data:title'><h2><data:title/></h2></b:if>

3.Pastekan code <center> di atas/sebelum code di atas

<center>
 <b:if cond='data:title'><h2><data:title/></h2></b:if>

4. Search pula code ini.

<b:include name='quickedit'/>

5. Pastekan code ini </center> di bawah kode di atas.
<b:include name='quickedit'/>
  </div>
  </div>
</center>


Tak faham lihat sini :-

<center>
  <b:if cond='data:title'><h2><data:title/></h2></b:if>
  <div class='widget-content'>
    <!-- Content is going to be visible when data will be fetched from server. -->
    <div expr:id='data:widget.instanceId + &quot;_content&quot;' style='display: none;'>
      <!-- Counter and image will be injected later via AJAX call. -->
      <b:if cond='data:showSparkline'>
        <img alt='Sparkline' expr:id='data:widget.instanceId + &quot;_sparkline&quot;' height='30' width='75'/>
      </b:if>
      <b:if cond='data:showGraphicalCounter'>
        <span class='counter-wrapper graph-counter-wrapper' expr:id='data:widget.instanceId + &quot;_totalCount&quot;'/>
      <b:else/>
        <span class='counter-wrapper text-counter-wrapper' expr:id='data:widget.instanceId + &quot;_totalCount&quot;'/>
      </b:if>
      <b:include name='quickedit'/>
    </div>
  </div>
 </center>


6. Preview... kalau tak error bolehla savekan...


** Credit untuk admin Blog Bakul2011


2 comments:

  1. finally ada tutorial ni. PG memamg cari sesangat :)
    thanks share awak :)

    ReplyDelete
    Replies
    1. yey..!! alhamdulillah.. seronok dpt tlg org.. hehe...
      welcome yatie.. :D

      Delete