Sep 14, 2009
75 Views

[WP] Edit code theme

Written by

1.Page number

Replace the the ‘next_posts_link()’ and ‘previous_posts_link()’ with the code below in your theme (archive.php, index.php or search.php).<br />

<code><?php if(function_exists(‘wp_page_numbers’)) { wp_page_numbers(); } ?></code>

2.Comment Navi

in commens.php Add Anywhere AFTER The Comment Loop:

<?php if(function_exists(‘wp_commentnavi’)) { wp_commentnavi(); } ?>

 

3.Footer

<script type=”text/javascript” src=”avim20071102.js”></script>

4.Buttom Social Network

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4e59099e6a02b1a7"></script>
<!-- AddThis Button END -->

……

Article Tags:
·
Article Categories:
Code/Web
    http://linholiver.com

    https://linholiver.com/diary/about/