Skip to content
This repository has been archived by the owner on Mar 4, 2018. It is now read-only.

Translation zh_CN #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions content.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,6 @@
<div class="entry-photo"><?php echo ar2_get_thumbnail( 'single-thumb' ) ?></div>
<?php endif ?>

<?php if ( ar2_get_theme_option( 'post_display[post_social]' ) ) : ?>
<div class="entry-social">
<div class="addthis_toolbox addthis_default_style"
addthis:url="<?php echo esc_attr( get_permalink( $post->ID ) ) ?>"
addthis:title="<?php echo esc_attr( get_the_title() ) ?>"
addthis:description="<?php the_excerpt_rss( 30, 2 ) ?>">
<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>
</div>
<?php endif ?>

</header><!-- .entry-header -->

Expand All @@ -80,6 +67,7 @@
</div>
<?php endif ?>


<?php if ( ar2_get_theme_option( 'post_display[display_author]' ) ) : ?>

<?php $id = get_the_author_meta( 'ID' ); ?>
Expand All @@ -99,4 +87,4 @@
<?php endif ?>

</footer><!-- .entry-footer -->
</article>
</article>
4 changes: 2 additions & 2 deletions footer.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
</div><!-- #main -->

<?php ar2_before_footer() ?>
<div class="clearfix"></div>
<footer id="footer" class="clearfix" role="contentinfo">

<div class="footer-sidebar-container clearfix">
Expand Down Expand Up @@ -43,4 +43,4 @@
<?php wp_footer() ?>
</body>
</html>

7 changes: 6 additions & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,18 @@
<?php ar2_above_nav() ?>
<nav id="main-nav" role="navigation">
<?php
wp_nav_menu( array(
/* wp_nav_menu( array(
'sort_column' => 'menu_order',
'menu_class' => 'menu clearfix',
'theme_location'=> 'main-menu',
'container' => false,
'fallback_cb' => 'ar2_nav_fallback_cb'
) );
*/
echo "<ul class='menu clearfix l_tinynav1'> <li><a href='".home_url()."' >Home</a><li>";
wp_list_pages('title_li=&depth=4&sort_column=menu_order');
echo "</ul>";

?>
</nav><!-- #nav -->
<?php ar2_below_nav() ?>
Expand Down
Binary file added language/zh_CN.mo
Binary file not shown.
Loading