Skip to content

Commit

Permalink
[ フィルターフック追加 ] module_loop_post2 と 3PRの 詳しくはこちら ボタンの文言をフックで変更しやすいようにフ…
Browse files Browse the repository at this point in the history
…ック追加
  • Loading branch information
kurudrive committed Sep 29, 2016
1 parent a3e24e4 commit f4ac639
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion functions.php
Expand Up @@ -309,7 +309,6 @@ function biz_vektor_set_customheader(){
/*-------------------------------------------*/
require( get_template_directory() . '/inc/theme-customizer.php' );


/*-------------------------------------------*/
/* Admin page _ Add style
/*-------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion module_loop_post2.php
Expand Up @@ -23,7 +23,7 @@
<span class="infoDate"><?php echo esc_html( get_the_date() ); ?></span><span class="infoCate"><?php echo $taxo_catelist; ?></span>
</p>
<p><?php the_excerpt(); ?></p>
<div class="moreLink"><a href="<?php the_permalink(); ?>"><?php _e('Read more', 'biz-vektor'); ?></a></div>
<div class="moreLink"><a href="<?php the_permalink(); ?>"><?php echo esc_html( apply_filters( 'read_more_txt', __( 'Read more', 'biz-vektor' ) ) ); ?></a></div>
</div><!-- [ /.entryTxtBox ] -->

<?php if ( has_post_thumbnail()) { ?>
Expand Down
2 changes: 1 addition & 1 deletion module_topPR.php
Expand Up @@ -60,7 +60,7 @@
<?php if ( isset( $biz_vektor_options['pr'.$i.'_link'] ) && ! empty( $biz_vektor_options['pr'.$i.'_link'] ) ) { ?>
<div class="moreLink">
<a href="<?php echo esc_url($biz_vektor_options['pr'.$i.'_link']) ?>">
<?php echo _x( 'Read more', 'Link to page', 'biz-vektor' ); ?>
<?php echo esc_html( apply_filters( 'read_more_txt_top_pr', _x( 'Read more', 'Link to page', 'biz-vektor' ) ) ); ?>
</a>
</div>
<?php } ?>
Expand Down

0 comments on commit f4ac639

Please sign in to comment.