
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 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.
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.
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
Maickon Rangel
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Contact Form plugins for Wordpress
Maps plugins for Wordpress
Translation plugins for Wordpress
Chat plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Contact plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Forms plugins for Wordpress
Comments plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Comments plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Portfolio plugins for Wordpress
Video Player plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Inventory plugins for Wordpress
Testimonials plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Analytics plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Security plugins for Wordpress
Ads plugins for Wordpress
Music Player plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Membership plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Video Player plugins for Wordpress
Tabs plugins for Wordpress
Social Feeds plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Show Instagram posts in a responsive carousel layout to enhance social proof and keep your site content visually fresh.
Show posts in an X feed that keeps updates visible, improves content discovery, and helps visitors stay engaged with your latest activity.
Use an image magnifier to let visitors zoom in on photos, view fine details clearly, and enjoy a more accessible and informative visual experience.
Add a call button to your site so visitors can tap to start a phone call instantly, improving direct communication access.
Create a TDEE Calculator that helps visitors estimate daily calorie needs and make informed decisions.
Present dishes with restaurant menu flip cards that highlight key details, help visitors explore options easily, and support confident ordering decisions.

Show Mastodon posts in a live Mastodon feed that keeps content fresh, strengthens your social presence, and helps visitors engage with your updates.
Add a testimonials slider to your site to showcase real customer feedback, build credibility, and increase trust that leads to higher conversions.
Create secure HIPAA compliant forms that protect sensitive data, offer full customization, and integrate easily for safe medical information collection.
Use an age verification popup to validate visitor age, meet regulatory requirements, and ensure only eligible users access restricted content.
Add Telegram Chat to your site to communicate with visitors, deliver instant support, and provide a smoother, more reliable user experience.
Add an Instagram slider to your site to display social posts dynamically and keep your visual content engaging and current.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
