Linux 软件免费装

Snippet Shortcodes

开发者 aliakro
更新时间 2024年7月2日 16:09
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.5
版权: GPLv2 or later
版权网址: 版权信息

标签

html embed javascript shortcode php text variable parameter reuse

下载

4.0.1 4.1.4 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.6 1.6.1 1.7 1.7.1 1.7.2 1.7.3 1.7.4 2.0 2.0.1 2.1 2.2 2.2.1 2.3 2.4 3.0 3.0.1 3.0.2 3.0.4 3.1 3.2 3.2.1 3.3 3.3.1 3.3.2 3.3.3 3.4 3.0.3 3.5 3.5.1 3.5.2 1.3.1 3.5.3 3.5.4 1.8 3.4.1 4.0 4.0.2 4.0.3 4.0.4 4.1 4.1.1 4.1.2 4.1.3

详情介绍:

DOCUMENTATON / UPGRADE Snippet Shortcodes Website WHAT IS SNIPPET SHORTCODES? Do you want to use the same snippet of text or HTML throughout your site but only have to change the value in one location? If so, this plugin maybe just what you need. Create your own Shortcodes and assign content to them. Using the standard WP editor, you can add text, HTML, JavaScript, images or other elements that your WordPress install and plugins allow. The main advantage is ability to create a shortcode once and re-use it throughout your site. [ sv slug="your-slug-name"] FEATURES SPECIFY PARAMETERS In some cases you may wish to make your shortcodes more extendable. This is where parameters come in. For example, you may have a shortcode that renders a HTML table, however, depending on where you place that shortcode on your site, you may wish to specify additional arguments. Take the example below, you can see the additional arguments passed into shortcode, “border”, “background” etc. [ sv slug="render-table" border="0" background="#FFFFFF" width="50%" site-title="YeKen"] Each argument can be rendered into the shortcode in the with the following syntax %%background%%, %%width%%, etc. Below is an example: Welcome to our site, %%site-title%%. Premium Shortcodes The plugin comes with the following premium shortcodes: Free Shortcodes The plugin comes with the following free shortcodes: Features Paypal Donate: email@YeKen.uk

安装:

  1. Login into Wordpress Admin Panel
  2. Goto Plugins > Add New
  3. Search for "Snippet Shortcodes"
  4. Click Install now and activate plugin
  5. Goto Settings > Snippet Shortcodes

屏幕截图:

  • Add a new Snippet Shortcode
  • Edit an existing Snippet Shortcode
  • Using the Snippet Shortcodes into a page
  • Snippet Shortcodes rendered in a page

升级注意事项:

4.1 -[sv slug="sc-db-value-by-id"], new Premium shortcode for fetching a value from a MySQL table.

常见问题:

How do I add / edit / delete Snippet Shortcodes

Login into Wordpress Admin Panel and goto Settings > Snippet Shortcodes

更新日志:

4.1.5 4.1.4 4.1.3 4.1.2 4.1.1 4.1 4.0.4 4.0.3 4.0.2 4.0.1 4.0 3.5.4 3.5.3 3.5.2 3.5.1 3.5 3.4.1 3.4 3.3.3 3.3.2 3.3.1 3.3 3.2.1 3.2 3.1.1 3.1 3.0.4 3.0.3 3.0.2 3.0.1 3.0 2.4.1 2.4 2.3 2.2.1 2.2 2.1 2.0.1 2.0 1.8 1.7.4 1.7.3 1.7.2 1.7.1 1.7 1.6.1 1.6 1.5.1 1.5 1.4 1.3.1 1.3 This was a dummy release to fix an SVN issue with the 1.2 release! 1.2 1.1 1.0