"WordPress"의 두 판 사이의 차이
둘러보기로 가기
검색하러 가기
잔글 |
잔글 |
||
164번째 줄: | 164번째 줄: | ||
*[http://www.cmsfactory.net/node/10223 Better WordPress Recent Comments - 최근 댓글 꾸미는 플러그인, 2014.01] | *[http://www.cmsfactory.net/node/10223 Better WordPress Recent Comments - 최근 댓글 꾸미는 플러그인, 2014.01] | ||
+ | |||
+ | |||
+ | |||
+ | *[http://www.cmsfactory.net/node/10189 Contact Form 7 - 폼메일 플러그인] | ||
+ | *[http://www.cmsfactory.net/node/10768 Easy Table - 글에 표 쉽게 넣게 해주는 플러그인] | ||
+ | *[http://www.cmsfactory.net/node/10055 Google Analytics for WordPress] | ||
+ | |||
+ | |||
+ | |||
*WordPress Related Posts : 관련 Post 글 목록 표시 | *WordPress Related Posts : 관련 Post 글 목록 표시 | ||
*WordPress Popular Posts : 인기글 목록 표시 | *WordPress Popular Posts : 인기글 목록 표시 |
2014년 9월 15일 (월) 16:35 판
Blog 솔루션인 WordPress를 정리 합니다.
- 다운로드 : http://wordpress.org/
- 라이선스 : GPL 2.0
- 플랫폼 : PHP
목차
CentOS에 WordPress 3.5.1 설치
CentOS에서 WordPress를 설치 합니다.
- 사전 준비 사항
- MySQL 설치
- Apache HTTP Server 설치
- PHP 설치
- WordPress를 다운로드하여 원하는 위치에 놓고 압축을 풉니다.
cd /cloudnas/install wget http://wordpress.org/latest.tar.gz tar xvzf latest.tar.gz chown -R apache:apache wordpress mv wordpress /cloudnas/www/html
- URL로 접속하여 설치를 진행 합니다.
- http://ko.wordpress.org/에 접속하여 한글팩을 다운로드 합니다.
cd /cloudnas/install wget http://ko.wordpress.org/wordpress-3.6-ko_KR.tar.gz tar xvzf wordpress-3.6-ko_KR.tar.gz cd wordpress/wp-content chown -R apache:apache languages mv languages /cloudnas/www/html/wordpress/wp-content cd /cloudnas/www/html/wordpress vi wp-config.php define('WPLANG', 'ko_KR');
WordPress 구조
파일 구조
- index.php
- wp-blog-header.php
- wp-load.php
- wp-config.php : DB 등 정보 설정
- wp-settings.php
- wp-includes/load.php
- wp-includes/default-constant.php
- wp-includes/version.php
- wp-includes/compat.php
- wp-includes/functions.php
- wp-includes/class-wp.php
- wp-includes/class-wp-error.php
- wp-includes/plugin.php
- wp-includes/pomo/mo.php
- wp-includes/default-filters.php
- wp-includes/ms-blogs.php
- wp-includes/ms-settings.php
- wp-includes/l10n.php
- wp-includes/class-wp-walker.php
- wp-includes/class-wp-ajax-response.php
- wp-includes/formatting.php
- wp-includes/capabilities.php
- wp-includes/query.php
- wp-includes/date.php
- wp-includes/theme.php
- wp-includes/class-wp-theme.php
- wp-includes/template.php
- wp-includes/user.php
- wp-includes/meta.php
- wp-includes/general-template.php
- wp-includes/link-template.php
- wp-includes/author-template.php
- wp-includes/post.php
- wp-includes/post-template.php
- wp-includes/revision.php
- wp-includes/post-formats.php
- wp-includes/post-thumbnail-template.php
- wp-includes/category.php
- wp-includes/category-template.php
- wp-includes/comment.php
- wp-includes/comment-template.php
- wp-includes/rewrite.php
- wp-includes/feed.php
- wp-includes/bookmark.php
- wp-includes/bookmark-template.php
- wp-includes/kses.php
- wp-includes/cron.php
- wp-includes/deprecated.php
- wp-includes/script-loader.php
- wp-includes/taxonomy.php
- wp-includes/update.php
- wp-includes/canonical.php
- wp-includes/shortcodes.php
- wp-includes/class-wp-embed.php
- wp-includes/media.php
- wp-includes/http.php
- wp-includes/class-http.php
- wp-includes/widgets.php
- wp-includes/nav-menu.php
- wp-includes/nav-menu-template.php
- wp-includes/admin-bar.php
- wp-includes/ms-functions.php
- wp-includes/ms-default-filters.php
- wp-includes/ms-deprecated.php
- wp-includes/vars.php
- wp-includes/pluggable.php
- wp-includes/pluggable-deprecated.php
- wp-includes/locale.php
- STYLESHEETPATH/functions.php 또는 TEMPLATEPATH/functions.php
- wp()
- wp-includes/template-loader.php
Plugin
- Hooks 방식으로 제작되는 Plugin의 종류
- Actions : 실행
- 키워드 : http://codex.wordpress.org/Plugin_API/Action_Reference
- do_action() 함수가 사용된 곳에 적용
- Filters : 실행 후 결과 반환
- 키워드 : http://codex.wordpress.org/Plugin_API/Filter_Reference
- apply_filters() 함수가 사용된 곳에 적용
- Plugin 적용 방법
- wp-includes/functions.php, ms-functions.php 파일에 추가
- 'include', 'include_once', 'require', 'require_once' 등을 사용하여 Plugin 파일 추가
- wp-includes/themes/테마명/functions.php 파일에 추가
- STYLESHEETPATH/functions.php 또는 TEMPLATEPATH/functions.php
- 폴더 : wp-content/plugins/플러그인폴더/
- 참고 문헌
Thema
- 폴더 : wp-content/themes/테마폴더/
- index.php
- 참고 문헌
Language
- 폴더 : wp-content/languages/
- ko_KR.po, ko_KR.mo
- admin-ko_KR.po, admin-ko_KR.mo
- plugins/~.po, ~.mo
- themes/~.po, ~.mo
Database 구조
- WordPress용 주요 테이블
- wp_users : 사용자
- wp_usermeta : 사용자의 메타데이터
- wp_options : 설정 메뉴의 옵션값
- wp_posts : 포스트
- wp_postmeta : 포스트의 메타데이터, Post의 부가적인 속성
- wp_comments : 댓글
- wp_commentsmeta : 댓글의 메타테이터
- wp_links : 링크 관리자 기능에서 추가한 링크
- wp_terms : 용어
- wp_term_taxonomy : 각 용어에 할당된 텍사노미 (분류 계층도)
- wp_term_relationships : 포스트와 링크 등의 콘텐츠와 텍사노미 결합
유용한 Plugin
- WordPress Related Posts : 관련 Post 글 목록 표시
- WordPress Popular Posts : 인기글 목록 표시
- List category posts :