wordpress private 표시 변경

Published by onesixx on

http://fontawesome.io/

Hestia: class-hestia-footer.php (inc/views/main/class-hestia-footer.php

86번째

<footer class=”footer <?php echo esc_attr( $this->the_footer_class() ); ?> footer-big”>
<?php hestia_before_footer_content_trigger(); ?>
<div class=”container”>
<?php hestia_before_footer_widgets_trigger(); ?>
<?php $this->render_footer_sidebars(); ?>
<?php hestia_after_footer_widgets_trigger(); ?>
<!–<?php $this->wrapped_bottom_footer_content(); ?>–>
</div>
<?php hestia_after_footer_content_trigger(); ?>
</footer>

0000000000000000000000000000000000000000000000000000000000000000000

이미지로 변경

$ vi ./wp-includes/post-template.php

Before:

$private_title_format = apply_filters( 'private_title_format', __( 'Private: %s' ), $post );

After:

$private_title_format = apply_filters( 'private_title_format', __( '<i class="fa fa-pinterest-square"></i> %s' ), $post );

==================

\wp-includes\post-template.php

130번째 줄

( ‘Protected: %s’ )  –> ( ‘ %s :Protected’ )

$protected_title_format = apply_filters( 'protected_title_format', __( 'Protected: %s' ), $post );

145번째줄

( ‘Private: %s’ )  –> ( ‘%s :Private’ )

$private_title_format = apply_filters( 'private_title_format', __( '%s :Private' ), $post );
Categories: BLOG

onesixx

Blog Owner

Leave a Reply

Your email address will not be published.