Descriere
The Html Content Shortcode Plugin allows you to easily add custom HTML to your WordPress site using a simple shortcode. This plugin provides a user-friendly interface in the WordPress backend for entering your HTML code, which can then be displayed on the frontend of your site with a shortcode.
Features
- Easy HTML Entry: Add your HTML code directly in the backend with a simple form.
- Shortcode Support: Use the provided shortcode to display your HTML anywhere on your site.
- Customizable: Tailor the HTML content as needed without any coding knowledge.
- Lightweight: Minimal impact on site performance.
Usage
After entering your HTML in the plugin settings, you can display it on your site using the shortcode:
[hcs_html_content]
Place this shortcode in any post, page, or widget where you want the HTML to appear.
Settings
- HTML Content: The main textarea where you can input your HTML code.
- Save Button: Click to save your HTML for use with the shortcode.
Example
- Go to HTML Content in your WordPress admin panel.
- Enter your desired HTML code (e.g., a custom button, an embedded video, etc.).
- Save your changes.
- Use [hcs_html_content] in your posts or pages to display the HTML.
Contributing
If you’d like to contribute to the plugin, please fork the repository and submit a pull request. We welcome suggestions and improvements!
Instalare
- Upload the wp-html-display folder to the /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to HTML Content in the WordPress admin menu to enter your HTML code.
Întrebări frecvente
-
Can I use JavaScript in the HTML?
-
Yes, you can add JavaScript within your HTML code, but ensure it doesn’t conflict with other scripts on your site.
-
Is it safe to use this plugin?
-
Always validate and sanitize your HTML input. This plugin is designed for trusted users to add content. Use with caution to avoid XSS vulnerabilities.
-
What if I want to change the shortcode?
-
You can modify the shortcode in the plugin code if needed, but this may require coding knowledge.
-
Which WYSIWYG editor is used in the backend plugin ?
-
The Html Content Shortcode Plugin is powered by ckeditor5.
Recenzii
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„Html Content Shortcode” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTradu „Html Content Shortcode” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
1.0.0
- Initial release of the Html Content Shortcode Plugin.