A simple PHP class to work with PHP code instead of HTML in your projects.
As of April 2026, Wp Html Class is a WordPress php plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.9K+ times in total. Requires WordPress 4.1.1+ and PHP false+. Available on WordPress.org since 2015. Last updated 10 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….
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.
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 u…| WordPress | 4.1.1+ requiredTested up to 3.4.2 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.