Aquesta extensió no s'ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s'usa en versions recents del WordPress.

Colored Tag Cloud Listing

Descripció

Based on How to Style Tags in WordPress.

If you need help with this plugin

If this plugin breaks your site or just flat out does not work, create a thread in the Support forum with a description of the issue. Make sure you are using the latest version of WordPress and the plugin before reporting issues, to be sure that the issue is with the current version and not with an older version where the issue may have already been fixed.

Please do not use the Reviews section to report issues or request new features.

Features

  • Create a simple yet elegant tag cloud
  • Choose from 10+ different color options
  • CSS loads conditionally

Shortcode

To display on any post or page, use this shortcode:

[colored-tag-cloud]

Make sure you go to the plugin settings page after installing to set options.

If you use and enjoy this plugin, please rate it and click the “Works” button below so others know that it works with the latest version of WordPress.

Captures

  • Plugin settings page
  • Sample tag cloud

Instal·lació

  1. Upload the plugin through the WordPress interface.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings » ‘Colored Tag Cloud Listing’ and configure the plugin.
  4. Insert shortcode on posts or pages, or call the plugin from your PHP code.

To remove this plugin, go to the ‘Plugins’ menu in WordPress, find the plugin in the listing and click “Deactivate”. After the page refreshes, find the plugin again in the listing and click “Delete”.

PMF

How do I use the plugin?

Use a shortcode to call the plugin from any page or post like this:

[colored-tag-cloud]

The shortcode can also be used in your PHP code (functions.php, or a plugin) using the do_shortcode function, ex:

echo do_shortcode('[colored-tag-cloud]');

You can also call the plugin’s function in your PHP code like this:

add_action('the_content', 'show_tag_cloud');
function show_tag_cloud($content) {
  if (is_page('home')) { // we are on a page with slug 'home'
    if (function_exists('jpctcl')) { // plugin is installed/active
      $content .= jpctcl(array('cssclass' => 'blue'));
    }
  }
  return $content;
}

This will add a tag cloud (with blue color style) at the end of your content, if you are on a page with a slug named “home”. Always wrap plugin function calls with a function_exists check so that your site doesn’t go down if the plugin isn’t active.

In short, ‘colored-tag-cloud’ is the shortcode and ‘jpctcl’ is the PHP function name.

What are the plugin defaults?

The plugin arguments and default values may change over time. To get the latest list of arguments and defaults, look at the settings page after installing the plugin. That is where the latest list will always be located. You will see what parameters you can specify and which ones are required.

What styles are available?

The following styles are available.

  • green
  • blue
  • yellow
  • orange
  • red
  • purple
  • aqua
  • black
  • gray
  • lime
  • maroon
  • navy
  • olive
  • silver
  • teal

See the dropdown list on the plugin settings menu for the most updated list. Visit http://www.jimmyscode.com/wordpress/colored-tag-cloud-listing/ for a live demo of each style.

I added the shortcode to a page but I don’t see anything.

Clear your browser cache and also clear your cache plugin (if any).

I cleared my browser cache and my caching plugin but the buttons still look wrong.

Are you using a plugin that minifies or combines CSS files at runtime? If so, try excluding the plugin CSS file from minification.

I cleared my cache and still don’t see what I want.

The CSS files include a ?ver query parameter. This parameter is incremented with every upgrade in order to bust caches. Make sure none of your plugins or functions are stripping this query parameter. Also, if you are using a CDN, flush it or send an invalidation request for the plugin CSS files so that the edge servers request a new copy of it.

I don’t want the post editor toolbar button. How do I remove it?

Add this to your functions.php:

remove_action('admin_enqueue_scripts', 'jpctcl_ed_buttons');
I don’t want the admin CSS. How do I remove it?

Add this to your functions.php:

remove_action('admin_head', 'insert_jpctcl_admin_css');
I don’t want the plugin CSS. How do I remove it?

Add this to your functions.php:

add_action('wp_enqueue_scripts', 'remove_jpctcl_style');
function remove_jpctcl_style() {
  wp_deregister_style('jpctcl_style');
}
I don’t want the toolbar button. How do I remove it?

Add this to your functions.php:

add_action('wp_enqueue_scripts', 'remove_jpctcl_script');
function remove_jpctcl_script() {
  wp_deregister_script('jpctcl_add_editor_button');
}
I don’t see the plugin toolbar button(s).

This plugin adds one or more toolbar buttons to the HTML editor. You will not see them on the Visual editor.

The label on the toolbar button is “Tag Cloud”.

I am using the shortcode but the parameters aren’t working.

On the plugin settings page, go to the “Parameters” tab. There is a list of possible parameters there along with the default values. Make sure you are spelling the parameters correctly.

The Parameters tab also contains sample shortcode and PHP code.

Ressenyes

No hi ha ressenyes per a aquesta extensió.

Col·laboradors i desenvolupadors

«Colored Tag Cloud Listing» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

Registre de canvis

0.0.6

  • confirmed compatibility with WordPress 4.1
  • some minor typos fixed

0.0.5

  • updated .pot file and readme

0.0.4

  • fixed validation issue

0.0.3

  • compressed CSS, removed fuschia color (no such color)

0.0.2

  • admin CSS and page updates

0.0.1

created