Coder Social home page Coder Social logo

rickard2 / utcw Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 6.0 1.85 MB

Ultimate Tag Cloud Widget, a WordPress plugin for displaying a cloud of tags.

Home Page: http://wordpress.org/plugins/ultimate-tag-cloud-widget/

JavaScript 26.24% Shell 0.50% CSS 3.54% PHP 69.72%

utcw's People

Contributors

rickard2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

utcw's Issues

Dont want TAG cloud; want WORD cloud.

I love your widget but I don't want to look at tag usage. I want to identify a set of words that I pick. For example, this <a href=https://docs.google.com/spreadsheet/ccc?key=0ArCP1PYtyMA8dERDZFd6RXhOclgwMlRqSWI3M0lzT3c#gid=5>googledocs spreadsheet.
Is there any way to define the dataset instead just looking at tags? (Would be much more powerful tool if so.)

Thanks,
Mike

PS, my website is jimkanicki.com and you can see how I'm solving the problem now in this screencap. I go to another site that does word cloud from a URL I provide and screencap their output. (See right column.)
.
screen shot 2013-11-02 at 8 21 06 am

Term filter JSON issue

When serializing a incomplete arrays (where the indexes are in sequence) the resulting JSON will be an object and not an array. Thus terms.forEach in the front-end will fail.

Revert order semantics

In version 1.0 the order setting only changed the order of the top result of tags.

The SQL query always fetched the top n tags, and then the result was sorted in PHP afterwards.

In 2.0-beta1 the ordering has moved into the SQL query which generates a different result.

The sorting should be reverted into the 1.x semantics

Random sizes

Allow sizes to be set randomly per tag instead of based on frequency

missing utcw.js file?

W3TC is telling me that UTCW.js does not exist. Should it? I do have utcwmin.js one with a version name.

Error with new Version, Site broke

Hello,
can you help me please. After updating to the new Version of Ultimate Tag Cloud my wordpress site is broken, following error:

Fatal error: Class 'Rickard\UTCW\Widget' not found in /www/htdocs/***/wordpress/wp-includes/widgets.php on line 324

I can't do anything....

Thank you!
Regards
Andreas

Generate settings page from config classes

Instead of hand crafting markup, there should be a generator which can take a configuration option from the config class and render markup for it.

Also consider moving the help texts to the config class. Could also be used when generating CONFIG.md

Option to avoid theme styling of the cloud

After changing the css class to the WordPress tag cloud default, some users have been complaining that their theme is applying too aggressive styling which renders many of the appearance options useless.

Add a new option to avoid theme styling which basically switches the CSS class used.

Example of taxonomy

Can you please update CONFIG.md with an example of expressing an array for taxonomy in a shortcode?

Also, you may benefit from publishing a bitcoin donation address for this project.

Preview function

New feature to be able to preview the cloud from the widget settings page

Position tags vertically

Shift large tag sizes downwards using negative vertical-align value (using a suitable fraction of font-size)

More options for entering measurements

Currently only integers are allowed for measurements which will be interpered as pixel values. The plugin should be more intelligent in parsing input.

The bare minimum should include:

  • px
  • em
  • percentage

Make sure that numeric values are interpered as pixel values

Option for how tag selection should be done

The options should initially include:

  • Overall frequency based selection (the current method)
  • Random selection (#16)

Another option for the future would be context sensitive selection (#11).

The selection would also of course determine the size of the resulting cloud.

Implementation wise, it might be time to split the Data class into multiple TermProviders which all have different strategies for tag selection.

Fix markup differences with regular tag cloud

The regular WordPress tag cloud has a HTML structure like this:

<div class="widget widget_tag_cloud">
  <h3>title</h3>
  <div class="tagcloud">
    <a ...>....</a>
  </div>
</div>

Change the HTML structure to look like this to preserve theme styling.

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.