The Kunze Law Plug-In import remote content into a post, page or widget using a shortcode.
Use the Kunze Law Plug-In to import content (HTML snippets) from a central remote Address into a post or page using a shortcode. This is very beneficial in case you deliver content for several
WordPress installations which needs a periodical update. The Plug-In will cache the remote content locally. After a predefined time, which can be set within the Plug-In, the snippet will be
pulled again. The big advantage: In order to get all websites updated, you only have to edit the snippet on the remote server.
Imagine you are using the Plugin and a HTML snippet in hundreds of your websites. In case of content changes you only have to edit the snippet on the remote server. After expiry of the set cache time the new
content will be pulled from the remote server. No need to do this manually on every website.
[kunze_facebook]
as the shortcode.Shortcode within WordPress: [kunze_filename]
HTML Snippet on remote Server: filename.html
Example of a HTML snippet:
`<div class="myClass"><strong>lorem ipsum</strong></div>```
This section describes how to install the plugin and get it working.
e.g.
/wp-content/plugins/kunze-law
directory, or install the plugin through the WordPress plugins screen directly.HTML Snippets. A snippet is a html file.
Upload the snippets to a directory on your remote server. Use following naming convention: filename.html
You can use any html code within the snippet.
You can use the shortcodes within a page, a blog or widget. Use following naming convention: [kunze_filename]
Replace “filename” with your snippet name.
facebook.html on the remote server can be included through the shortcode [kunze_facebook]