WP Manifestindependent plugin directory
manifest / content / tags-without-links

Tags Without Links archived

[WordPress] This plugin makes it easier for developers to display tags without any links associated with them.

by Tom McFarlin · github.com/tommcfarlin/tags-without-links · website

8stars
3forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/tommcfarlin/tags-without-links/archive/refs/heads/master.zip

From the readme

Tags Without Links Requirements Requires at least: 3.5.1 Tested up to: 5.0.2 Stable Tag: 1.4 About Easily to display tags without links. Instructions Note This plugin is targeted primarily for developers to make it easier to display tags without any links associated with them. How To Use This Plugin 1. In your template, create an instance of the plugin by instantiating the class. - You may want to place the use TomMcFarlin; statement at the top of your file. - If not, you can instantiate the plugin by using TomMcFarlin\TagsWithoutLinks(' | ') 2. Make sure you specify a separator in the constructor the class. 3. Use the display() function to automatically echo the results of the function. 4. Use the get() function to read the contents into a variable that you can use later. An Example Note that before reading the examples below, if you need to place the output of the plugin into an attribute, if it contains HTML, or simply requires any type of sanitization, remember to use the appropriate WordPress Escape Function. Using display() In your template, enter something like the following: Using get() In your template, enter something like the following: Install

Read the full README on GitHub →