WordPress plugin intelligence profile

HTML to Shortcode Generator

Generate a WordPress Shortcode with HTML/CSS knowledge only! Install this plugin in your WordPress website and use a simple form to generate a shortco …

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.5
Current version1.0
WordPress coverageTested up to WordPress 4.5
Minimum stackWP 3.0.1 · PHP —
Directory statusactive
Last directory update30 Jun 201610y ago
Active installations20Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records HTML to Shortcode Generator version 1.0 as active, updated 10y ago and tested up to WordPress 4.5.

Overview

About this plugin

Generate a WordPress Shortcode with basic HTML/CSS knowledge only – No PHP knowledge required!

Install this plugin in your WordPress website and use a simple form to generate shortcode that a non-technical person can easily use. The only things you need are knowledge of basic Wordress & HTML / CSS and absolutely NOTHING ELSE!

) of this gallery through wp-admin. Using this plugin, you can easily do this – generate a shortcode without using PHP/mySQL and then this shortcode you have generated can be used by the wp-admin to add/delete/update items in the gallery.

This plugin also has a Pro Version with following Advance Features

  • Create Unlimited Modules.
  • PHP Code Support
  • Extra advance fields.
  • Ability to include external resource

Practical Example

In this example we will show you how you will convert existing HTML code into wordpress shortcode which you can place anywhere in the wordpress to display your HTML.

Existing HTML:

body{font-family: ‘Open Sans’, sans-serif;}

#faqs h3 {cursor: pointer;font-size: 16px;font-weight: 400; margin-bottom: 0px; color: #333;}

active { color:#d74646; }

#faqs div { height:0; overflow:hidden; position:relative; }

#faqs div p { padding:0; margin-bottom:15px; font-size: 14px; padding-left: 12px; }

heading span { padding: 8px 20px 8px 10px; display: inline-block; background: #f9f9f9;}

6);}

fa:before {content: “\f0fe”;}

important;}

toggleClass('active', state); }); }); }); </script>

</span></h3> <div style="display: none; height: auto;"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. -- / Cell -->

</span></h3> <div style="display: none; height: auto;"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. -- / Cell -->

</span></h3> <div style="display: none; height: auto;"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. -- / Cell -->

</span></h3> <div style="display: none; height: auto;"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. -- / Cell -->

</span></h3> <div style="display: none; height: auto;"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. -- / Cell -->

</div>

Breif detail of above HTML This is HTML for FAQs. In this HTML you can see that this snippet contain External CSS resource, fonts and script and also contain inline css and javascript code. If you further review the html code you will see that there is a div whose id is 'faqs' and this div contain list of Faqs, and you can also see the pattern in the list, which is each FAQ consist of a h3 and a div with paragraph tag, so here we can divide this html code in three parts.

One is Repeating pattern part, one is TOP HTML before the pattern and one is Bottom HTML after the pattern.

Top HTML:

important;}

toggleClass('active', state); }); }); }); </script>

<div id="faqs">

Repeating Part: We will only take the repeating pattern. Below is the repeating part!

</span></h3> <div style="display: none; height: auto;"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. -- / Cell -->

Bottom HTML:

</div>

Integrate into Plugin.

Now we know the before part, repeating part and after part! We will now integrate it into our plugin

Install the plugin and Click on HTML Shortcode Generator link on left navigation menu. Click on the first entry in the list. Now Place the Top HTML part in Top HTML Field, Bottom HTML part in Bottom HTML Field and Repeating HTMl part in Reapting HTML Field.

Repeating HTML will need some changes in the code as explained below

We will need to replace the dynamic section of repeating HTML into the fields, in our current example there are two dynamic section, one is question and second is Answer, question is text field whereas answer is textarea field. so we will add text and text area field.

” and click on Editable Text Field button Provide the label “Question” in the prompt, this label will be use when adding the items, which is described later below, After that Delete the answer part with in the paragraph, and click on Editable Description Provide the label of this field “Answer” and click Ok. Now the repeating HTML section should be like this:

#–txt–Question–#

-- / Cell -->

Now Click on update button and and after that you will see a checkbox beside the update button click on it and press the update button again. Now you will see a new navigation menu item on the left side named “WP Plugins”.

Add Items:

Now we will add question and answers which we want to display in front end. To do this click WP Plugins Link on the left side and click Add New button. Now you will see a form with Title field and Two dynamic fields which you have added in the plugin composing part!

Fill out these fields and click Publish. Repeat this step to add as many question and answers as you want.

Display in front end.

Now Again go to the plugin composing form and copy the shortcode displayed under the Implementation heading. and place this shortcode anywhere you want to display it.

Open the page on which you have place the shortcode and you will see a nice Faq list.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • custom plugin builder
  • custom plugin creator
  • custom plugin maker
  • custom wordpress plugin builder
  • html to shortcode generator
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.5

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.5.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.5
Minimum requirementsWordPress 3.0.1 · PHP not listed
Update activity30 Jun 201610y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.