wordpress :: Add CSS class to every image

https://wordpress.stackexchange.com/questions/108831/add-css-class-to-every-image http://onesixx.com/wordpress-add_filter/   function add_image_class($class){ $class .= ‘ additional-class’; return $class; } add_filter(‘get_image_tag_class’,’add_image_class’);     function add_image_class($class){ $class .= ‘ i’; return $class; } add_filter(‘get_image_tag_class’,’add_image_class’);        

wordpress private 표시 변경

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’ ), Read more…

wordpress……

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-16-04 https://github.com/appkr/l5code/issues/4 install mysql   |➜ brew info mysql 버전 상관없이 설치 |➜ brew install mysql … ==> /usr/local/Cellar/mysql/8.0.12/bin/mysqld –initialize-insecure –user=onesixx –basedir=/usr/local/Cellar/mysql/8.0. …   실행 로그인시에 수동으로 MySQL을 실행하려면  |➜ mysql.server start   참고로 서비스로 등록하기 위해서는   |➜ brew services start mysql     설정 root계정에 패스워드가 설정되어 있지않으므로,  /usr/local/Cellar/mysql/8.0.12/bin|➜ mysql_secure_installation Read more…

WordPress::LaTex:: TinyMCE v4.x(plugin v2 beta)-eqneditor

https://www.codecogs.com/latex/integration/tinymce_v4/install.php   https://www.amazon.com/clouddrive/share/VZl9VUCiI83QgXZ0wph4Xd8HAP9crlsCDjcRg5AmdeV \frac { 1 }{ \sigma \sqrt { 2\pi } } \left( -\frac { (x-\mu )^{ 2 } }{ 2\sigma ^{ 2 } } \right) 를    Code 설치 Tiny MCE Editor 설치 다운로드 EqnEditor_tinymce_v4_plugin_v2.zip ~\wp-content\plugins\tinymce-advanced\mce 폴더에 복사 Code 수정 ~\wp-content\plugins\tinymce-advanced\tinymce-advanced.php파일에  1. get_default_user_settings() 함수에 추가  ‘plugins’   => ‘eqneditor,anchor,code,insertdatetime,nonbreaking,print,searchreplace,table,visualblocks,visualchars,advlist,wptadv’, 2. get_all_plugins() Read more…

WordPress Child Theme (자식 테마) 만들기

  Theme 선택 맘에 드는 theme 다운받아 설치 Chlid Theme 생성 Stylesheet 생성 (Style.css)   : 파일의 권한 수정확인  – Theme Name: zerif_sixx – @import url(“../zerif-lite/style.css”);        Editor Stylesheet 생성 (editor-styles.css) style.css 의 예 @charset “UTF-8”; /*——————————————————————————— Theme Name: zerif_sixx Template: zerif-lite Description: Modified by Onesixx ———————————————————————————*/ @import url(“../zerif-lite/style.css”); /*optional*/ Read more…