22 Sin Ming Lane #06-76 Midview City Singapore 573969
+6593361596
jsypconsulting888@gmail.com

Forum

Deep Tech, Financial Markets, Fintech, Blockchain ICOs, ITSec, and High Value IT Projects

Notifications
Clear all

Shortcoder


admin
(@admin)
Member Admin
Joined: 2 years ago
Posts: 611
Topic starter  

Description

Shortcoder plugin allows to create a custom shortcodes for HTML, JavaScript and other snippets. Now the shortcodes can be used in posts/pages and the snippet will be replaced in place.

Create custom shortcodes easily

  1. Give a name for the shortcode
  2. Paste the HTML/JavaScript as content
  3. Save !
  4. Now insert the shortcode [sc name="my_shortcode"] in your post/page.
  5. Voila ! You got the HTML/Javascript in your post.

Features

  • Create “custom shortcodes” easily and use them within WordPress
  • Use any kind of HTML as Shortcode content.
  • Insert: Custom parameters in shortcode
  • Insert: WordPress parameters in shortcode
  • Multiple editors: Code, Visual and text modes.
  • Globally disable the shortcode when not needed.

An example usage

  1. Create a shortcode named “adsenseAd” in the Shortcoder admin page.
  2. Paste the adsense code in the box given and save it.
  3. Use [sc name="adsenseAd"] in your posts and pages.
  4. Tada !!! the ad code is replaced and it appears in the post.
  5. Now you can edit the ad code at one place and the code is updated in all the locations where the shortcode is used.
  • Using this idea, shortcodes can be created for frequently used snippets.
  • You can also add custom parameters (like %%id%%) inside the snippets, and change it’s value like [sc name="youtube" id="GrlRADfvjII"]

https://wordpress.org/plugins/shortcoder/

This topic was modified 1 year ago 2 times by admin

Quote
Share: