Title: Wp Html Class
Author: Maickon Rangel
Published: <strong>2015년 4월 22일</strong>
Last modified: 2015년 4월 22일

---

플러그인 검색

![](https://ps.w.org/wp-html-class/assets/banner-772x250.png?rev=1142224)

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://ps.w.org/wp-html-class/assets/icon-128x128.png?rev=1142220)

# Wp Html Class

 작성자: [Maickon Rangel](https://profiles.wordpress.org/maickonrabgel/)

[다운로드](https://downloads.wordpress.org/plugin/wp-html-class.zip)

 * [세부사항](https://ko.wordpress.org/plugins/wp-html-class/#description)
 * [평가](https://ko.wordpress.org/plugins/wp-html-class/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/wp-html-class/#installation)
 * [개발](https://ko.wordpress.org/plugins/wp-html-class/#developers)

 [지원](https://wordpress.org/support/plugin/wp-html-class/)

## 설명

A simple PHP class to work with PHP code instead of HTML in your projects. Once 
installed, simply use the object $ wp_tag to manipulate HTML elements.

With this plugin you no longer use HTML code in your projects and starts to use 
a $ wp_tag object that will refer to any tag.

For those who do not like to mix HTML with PHP code in your projects, this plugin
offers of help.

### Wp-Html-Class

Uma simples classe PHP para se trabalhar com códigos PHP ao invés de HTML em seus
projetos. Após instalado, basta utilizar o objeto $wp_tag para manipular os elementos
HTML.

    ```
    /**
     * Exemplo de uso da classe WpHtmlClass.
     * A abertura da tag é feita com um método. Este método possui somente um parametro.
     * Este parâmetro é uma String.
     * 
     */
        <?php
            $wp_tag->div('class="x" id="y"'); //Abre uma tag DIV com classe e id 
            $wp_tag->div; // fecha a tag DIV

            $wp_tag->hr(); //criar uma linha

            $wp_tag->img('src="img/image.png"'); //cria uma imagem

            $wp_tag->h1();
                $wp_tag->wp_print('Hello World'); //inprime uma string

                //wp_print() aceita um segundo parametro que por padrão é null
                //ele pode ser "decode" ou "encode"
                $wp_tag->wp_print('Hello World','decode'); 
            $wp_tag->h1;
        ?>
    ```

A idéia principal é tornar o código mais claro, sem precisar estar misturando elementos
HTML com PHP.

#### English Version

A simple PHP class to work with PHP code instead of HTML in your projects. Once 
installed, simply use the object $ wp_tag to manipulate HTML elements. ex:

    ```
    /**
     * Example using the Wp Html Class class.
     * The opening of the tag is performed with a method. This method has only one parameter.
     * This parameter is a String.
     * 
     */

        <?php
            $wp_tag->div('class="x" id="y"'); //Opens a DIV tag with class and id
            $wp_tag->div; //closes the DIV tag

            $wp_tag->hr(); //create a line

            $wp_tag->img('src="img/image.png"'); //create a image

            $wp_tag->h1();
                $wp_tag->wp_print('Hello World'); //print a string

                //print_wp () accepts a second parameter that by default is null
                //it can be "decode" or "encode"
                $wp_tag->wp_print('Hello World','decode'); 
            $wp_tag->h1;
        ?>
    ```

The main idea is to make the code clearer, without being mixing HTML elements with
PHP.

## 스크린샷

[⌊Exemple 1⌉⌊Exemple 1⌉[

Exemple 1

[⌊Exemple 2⌉⌊Exemple 2⌉[

Exemple 2

## 설치

 1. Unzip `wp-html-class.zip` inside the `/wp-content/plugins/` directory (or install
    via the built-in WordPress plugin installer)
 2. Activate the plugin through the ‘Plugins’ admin menu in WordPress
 3. Create an instance of class Class WpHtml `$ wp tag = new Wp Html Class ();` within
    your PHP files and start using HTML tags with PHP code.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Wp Html Class”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 
기여하였습니다.

기여자

 *   [ Maickon Rangel ](https://profiles.wordpress.org/maickonrabgel/)

[자국어로 “Wp Html Class”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/wp-html-class)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/wp-html-class/)는, [SVN 저장소](https://plugins.svn.wordpress.org/wp-html-class/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/wp-html-class/)
을 [RSS](https://plugins.trac.wordpress.org/log/wp-html-class/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 기초

 *  버전 **0.0.1**
 *  최근 업데이트: **11년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 4.1.1 또는 그 이상 **
 *  다음까지 시험됨: **3.4.2**
 *  언어
 * [English (US)](https://wordpress.org/plugins/wp-html-class/)
 * 태그:
 * [html](https://ko.wordpress.org/plugins/tags/html/)[php](https://ko.wordpress.org/plugins/tags/php/)
   [tag](https://ko.wordpress.org/plugins/tags/tag/)
 *  [고급 보기](https://ko.wordpress.org/plugins/wp-html-class/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/wp-html-class/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/wp-html-class/reviews/)

## 기여자

 *   [ Maickon Rangel ](https://profiles.wordpress.org/maickonrabgel/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/wp-html-class/)