by zeein | Thu, Nov 9, 2017 Gists를 워드프레스 글에 노출하기-2 GistPress Plugin을 이용하여 Gist를 추가하는 방법 소개[read] site 1: Embedding GitHub Gists in WordPress
by zeein | Thu, Nov 9, 2017Thu, Nov 9, 2017 Gists를 워드프레스 글에 노출하기-1 Gist를 embed 할수 있는 방법을 설명 functions.php 파일에 아래 내용만 추가 하면 끝 https://gist.github.com/43f4f759c41470286ded98603785cf2e.git[read] site 1: Embed Gists on your WordPress blog without a plugin
by zeein | Thu, Nov 9, 2017Thu, Nov 9, 2017 Bootstrap 4 Cheat Sheet Bootstrap 4 Cheat Sheet[read] site 1: Bootstrap 4 Cheat Sheet
by zeein | Wed, Nov 8, 2017Wed, Nov 8, 2017 custom post type 의 the_posts_pagination() 이용방법 핵심은[read] site 1: Using the_posts_pagination for custom page template WordPress
by zeein | Wed, Nov 8, 2017Wed, Nov 8, 2017 get_template_directory_uri() 와 get_stylesheet_directory_uri() 의 차이 get_template_directory_uri() : parent theme 의 디렉토리 정보 get_stylesheet_directory_uri() : child theme 의 디텍로리 정보(child theme를 쓰지 않을 경우에는 기본 테마)[read]
by zeein | Wed, Nov 8, 2017Wed, Nov 8, 2017 좋아요 버튼 만드는 방법 소개 페이스북의 "좋아요" 버튼이 부담이 된다면 간단하게 사이트 내에서만 "좋아요" 버튼을 만들어 보는 방법을 설명[read] site 1: Post Like System for WordPress site 2: WordPress Post Like System site 3: Post Like Demo
by zeein | Wed, Nov 8, 2017Thu, Nov 9, 2017 ajax를 이용해 페이지의 내용을 modal popup에 띄우는 방법 페이지 하단 부분에 bootstrap의 modal부분을 참고하여 관련 html 소스를 넣는다. 팝업으로 노출할 페이지 생성을 하고 slug는 영문으로 지정 후 팝업 띄우고자 하는 링크 코딩 위의 부분에서 data-url 부분이 추가된 페이지의 slug 값을 넣어 준다. 테마 폴더에 slug 이름과 동일한 page-privacy-policy.php 파일을 생성 마지막으로 javascript 추가[read] site 1: Bootstrap Modal
by zeein | Tue, Nov 7, 2017Wed, Nov 8, 2017 워드프레스 유지보수 모드 워드프레스 코어 업테이트 혹은 플러그인 업데이트 시에 노출되는 화면 설정 방법[read] site 1: Maintenance mode
by zeein | Tue, Nov 7, 2017Tue, Nov 7, 2017 검색시 검색어 하이라이트 functions.php 파일에 추가 해서 검색 단어를 하이라이트 시킬수 있는 팁 get_the_content는 add_filter로 하이라이트 시킬 수 없으니 검색 페이지에서 is_searh인지를 체크 해서 직접 함수 호출 해주는 방식으로 해결 가능[read] site 1: Highlight searched terms in WordPress search results
by zeein | Mon, Nov 6, 2017Wed, Nov 8, 2017 Comment Submission Without Page Refresh. No Plugins Used. ajax를 이용해서 comment를 저장하는 방법 소개[read] site 1: AJAX comments