Giter VIP home page Giter VIP logo

tags-without-links's Introduction

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:

use TomMcFarlin;

// Other code here...

$tagsWithoutLinks = new TagsWithoutLinks(' | ' );
$tagsWithoutLinks->display();

// Other code here...
Using get()

In your template, enter something like the following:

use TomMcFarlin;

// Other code here...

$tagsWithoutLinks = new TagsWithoutLinks(',');
$tags = $tagsWithoutLinks->get();

// Other code here...

echo $tags;

// Other code here...

Installation

Using The WordPress Dashboard

  1. Navigate to the 'Add New' plugin dashboard
  2. Select tags-without-links.zip from your computer (you may need to rename master.zip)
  3. Upload
  4. Activate the plugin in the WordPress Plugin Dashboard

Using FTP

  1. Extract tags-without-links.zip to your computer
  2. Upload the tags-without-links directory to your wp-content/plugins directory
  3. Navigate to the WordPress Plugin Dashboard
  4. Activate the plugin from this page

Other Notes

  • This plugin requires PHP 7.1.
  • This plugin uses Composer for code quality but it's not required to run in production.
  • This is a freely available plugin. I do not guarantee support for it.

tags-without-links's People

Contributors

kingyes avatar tommcfarlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.