বৰ্ণনা
This plugin adds the [img]
shortcode which replaces the <img>
html tag. It’s also enables adding new media to post/page via the ‘Add media’ button by automatically inserting the formatted shortcode code to the editor.
You can simply add the [img]
shortcode with a media ID to display:
[img 123 /]
or a fully formatted [img]
shortcode:
[img 123 align="center" size="full" caption="Sample text" title="Sample text" desc="Sample text" alt="Sample text" url="http://example.com/" /]
It’s supports srcset
and sizes
parameters.
Tips & Tricks
You can use your own html template file for displaying the img
tag by using filter:
add_filter( 'Clearcode\IMG_Shortcode\template', function() { return '/themes/clearcode.cc/templates/img.php'; } );
স্ক্ৰীনশ্বট
ইনষ্টলেশ্যন
From your WordPress Dashboard
- Go to ‘Plugins > Add New’
- Search for ‘CC-IMG-Shortcode’
- Activate the plugin from the Plugin section on your WordPress Dashboard.
From WordPress.org
- Download ‘CC-IMG-Shortcode’.
- Upload the ‘CC-IMG-Shortcode’ directory to your ‘/wp-content/plugins/’ directory using your favorite method (ftp, sftp, scp, etc…)
- Activate the plugin from the Plugin section in your WordPress Dashboard.
Once Activated
- Simply add new media to post/page via ‘Add media’ button in your post/page edit page.
Multisite
The plugin can be activated and used for just about any use case.
- Activate at the site level to load the plugin on that site only.
- Activate at the network level for full integration with all sites in your network (this is the most common type of multisite installation).
পৰ্য্যালোচনা
এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।
অৱদানকাৰী আৰু বিকাশকাৰীসকল
“CC-IMG-Shortcode” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।
অৱদানকাৰীসকলআপোনাৰ ভাষাত “CC-IMG-Shortcode” অনুবাদ কৰক।
বিকাশৰ প্ৰতি আগ্ৰহী?
ক’ড ব্ৰাউজ কৰক, SVN ৰিপজিটৰী চাওক নাইবা RSS-দ্বাৰা বিকাশৰ পঞ্জী ছাবস্ক্ৰাইব কৰক।
সলনি-পঞ্জী
1.1.0
Release date: 16.03.2022
- Added
img()
&src()
functions. - Added
[src /]
shortcode. - Added PHP 8.0 support.
1.0.0
Release date: 16.10.2017
- First stable version of the plugin.