Version Description
= 2.0 =
- New plugin architecture and a big rewrite of the plugin foundation. Watch out for breaking changes, please see http://exz.nu/utcwbreaking for more information.
Download this release
Release Info
Developer | exz |
Plugin | Ultimate Tag Cloud Widget |
Version | 2.0-beta1 |
Comparing to | |
See all releases |
Code changes from version 1.3.17 to 2.0-beta1
- css/style.css +1 -0
- js/utcw.min.js +4 -0
- language/utcw-sv_SE.mo +0 -0
- language/utcw-sv_SE.po +0 -521
- pages/settings.php +577 -0
- readme.txt +42 -264
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- settings.php +0 -367
- ultimate-tag-cloud-widget.php +7 -1029
- utcw-config.php +786 -0
- utcw-data.php +318 -0
- utcw-render.php +286 -0
- utcw-term.php +124 -0
- utcw-widget.php +118 -0
- utcw.css +0 -97
- utcw.js +0 -48
- utcw.min.css +0 -1
- utcw.min.js +0 -10
- utcw.php +331 -0
css/style.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.utcw-tab-button{border-top:solid 1px #dfdfdf;border-left:solid 1px #dfdfdf;border-right:solid 1px #dfdfdf;border-bottom:none;margin:0;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;border-top-left-radius:3px;border-top-right-radius:3px;padding:2px;background:transparent;opacity:0.5;cursor:pointer;-webkit-transition:opacity 0.1s ease-in}.utcw-tab-button:hover{opacity:1}.utcw-help{float:right;display:block;width:14px;height:14px;border:solid 1px transparent;-webkit-border-radius:14px;-moz-border-radius:14px;-khtml-border-radius:14px;border-radius:14px;text-align:center;color:#fff;font-weight:bold;background-color:#6295fb;background-image:-webkit-gradient(linear, left top, left bottom, from(#6295fb), to(#3265cb));background-image:-webkit-linear-gradient(top, #6295fb, #3265cb);background-image:-moz-linear-gradient(top, #6295fb, #3265cb);background-image:-ms-linear-gradient(top, #6295fb, #3265cb);background-image:-o-linear-gradient(top, #6295fb, #3265cb);background-image:linear-gradient(top, #6295fb, #3265cb);cursor:pointer}.utcw-help:hover{color:#fff}.utcw-tooltip{color:#000;width:200px;text-align:center;border:solid 1px #6295fb;-webkit-border-radius:9px;-moz-border-radius:9px;-khtml-border-radius:9px;border-radius:9px}.utcw-tooltip ul{list-style-type:circle;margin:10px 0}.utcw-tooltip li{margin:0 0 0 20px}fieldset.utcw{padding:10px;border:solid 1px #dfdfdf;margin-bottom:25px}fieldset.utcw h3{margin:0 0 5px 0}fieldset.utcw input[type="number"]{width:50px}fieldset.utcw legend{letter-spacing:2px;font-size:16px}fieldset.utcw label.two-col{width:120px;display:inline-block}.utcw-hidden{display:none}.utcw-active{font-weight:bold;opacity:1}
|
js/utcw.min.js
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
/*! Ultimate Tag Cloud Widget - v2.0 alpha - 2012-10-23
|
2 |
+
* https://0x539.se/wordpress/ultimate-tag-cloud-widget/
|
3 |
+
* Copyright (c) 2012 Rickard Andersson; Licensed GPLv2 */
|
4 |
+
var Query=function(e){"use strict";var t=function(e){var t=[],n,r,i,s;if(typeof e=="undefined"||e===null||e==="")return t;e.indexOf("?")===0&&(e=e.substring(1)),r=e.toString().split(/[&;]/);for(n=0;n<r.length;n++)i=r[n],s=i.split("="),t.push([s[0],s[1]]);return t},n=t(e),r=function(){var e="",t,r;for(t=0;t<n.length;t++)r=n[t],e.length>0&&(e+="&"),e+=r.join("=");return e.length>0?"?"+e:e},i=function(e){return e=decodeURIComponent(e),e=e.replace("+"," "),e},s=function(e){var t,r;for(r=0;r<n.length;r++){t=n[r];if(i(e)===i(t[0]))return t[1]}},o=function(e){var t=[],r,s;for(r=0;r<n.length;r++)s=n[r],i(e)===i(s[0])&&t.push(s[1]);return t},u=function(e,t){var r=[],s,o,u,a;for(s=0;s<n.length;s++)o=n[s],u=i(o[0])===i(e),a=i(o[1])===i(t),(arguments.length===1&&!u||arguments.length===2&&!u&&!a)&&r.push(o);return n=r,this},a=function(e,t,r){return arguments.length===3&&r!==-1?(r=Math.min(r,n.length),n.splice(r,0,[e,t])):arguments.length>0&&n.push([e,t]),this},f=function(e,t,r){var s=-1,o,f;if(arguments.length===3){for(o=0;o<n.length;o++){f=n[o];if(i(f[0])===i(e)&&decodeURIComponent(f[1])===i(r)){s=o;break}}u(e,r).addParam(e,t,s)}else{for(o=0;o<n.length;o++){f=n[o];if(i(f[0])===i(e)){s=o;break}}u(e),a(e,t,s)}return this};return{getParamValue:s,getParamValues:o,deleteParam:u,addParam:a,replaceParam:f,toString:r}},Uri=function(e){"use strict";var t=!1,n=function(e){var n={strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/},r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],i={name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},s=n[t?"strict":"loose"].exec(e),o={},u=14;while(u--)o[r[u]]=s[u]||"";return o[i.name]={},o[r[12]].replace(i.parser,function(e,t,n){t&&(o[i.name][t]=n)}),o},r=n(e||""),i=new Query(r.query),s=function(e){return typeof e!="undefined"&&(r.protocol=e),r.protocol},o=null,u=function(e){return typeof e!="undefined"&&(o=e),o===null?r.source.indexOf("//")!==-1:o},a=function(e){return typeof e!="undefined"&&(r.userInfo=e),r.userInfo},f=function(e){return typeof e!="undefined"&&(r.host=e),r.host},l=function(e){return typeof e!="undefined"&&(r.port=e),r.port},c=function(e){return typeof e!="undefined"&&(r.path=e),r.path},h=function(e){return typeof e!="undefined"&&(i=new Query(e)),i},p=function(e){return typeof e!="undefined"&&(r.anchor=e),r.anchor},d=function(e){return s(e),this},v=function(e){return u(e),this},m=function(e){return a(e),this},g=function(e){return f(e),this},y=function(e){return l(e),this},b=function(e){return c(e),this},w=function(e){return h(e),this},E=function(e){return p(e),this},S=function(e){return h().getParamValue(e)},x=function(e){return h().getParamValues(e)},T=function(e,t){return arguments.length===2?h().deleteParam(e,t):h().deleteParam(e),this},N=function(e,t,n){return arguments.length===3?h().addParam(e,t,n):h().addParam(e,t),this},C=function(e,t,n){return arguments.length===3?h().replaceParam(e,t,n):h().replaceParam(e,t),this},k=function(){var e="",t=function(e){return e!==null&&e!==""};return t(s())?(e+=s(),s().indexOf(":")!==s().length-1&&(e+=":"),e+="//"):u()&&t(f())&&(e+="//"),t(a())&&t(f())&&(e+=a(),a().indexOf("@")!==a().length-1&&(e+="@")),t(f())&&(e+=f(),t(l())&&(e+=":"+l())),t(c())?e+=c():t(f())&&(t(h().toString())||t(p()))&&(e+="/"),t(h().toString())&&(h().toString().indexOf("?")!==0&&(e+="?"),e+=h().toString()),t(p())&&(p().indexOf("#")!==0&&(e+="#"),e+=p()),e},L=function(){return new Uri(k())};return{protocol:s,hasAuthorityPrefix:u,userInfo:a,host:f,port:l,path:c,query:h,anchor:p,setProtocol:d,setHasAuthorityPrefix:v,setUserInfo:m,setHost:g,setPort:y,setPath:b,setQuery:w,setAnchor:E,getQueryParamValue:S,getQueryParamValues:x,deleteQueryParam:T,addQueryParam:N,replaceQueryParam:C,toString:k,clone:L}},jsUri=Uri;(function(e){e.fn.wTooltip=function(t,n){function m(n){n&&(t.degrade?e(h).html(t.content.replace(/<\/?[^>]+>/gi,"")):e(h).html(t.content))}function g(n){function i(e){r&&!t.content&&(r="")}function u(){!l&&t.auto&&(clearInterval(o),t.fadeOut?e(h).fadeOut(t.fadeOut,function(){i(n)}):(i(n),h.style.display="none")),typeof t.callAfter=="function"&&t.callAfter(h,n,t),d&&(t=e.listen(t))}t.timeout>0?s=setTimeout(function(){u()},t.timeout):u()}t=e.extend({content:null,ajax:null,follow:!0,auto:!0,fadeIn:0,fadeOut:0,appendTip:document.body,degrade:!1,offsetY:10,offsetX:1,style:{},className:null,id:null,callBefore:function(e,t,n){},callAfter:function(e,t,n){},clickAction:function(t,n){e(t).hide()},delay:0,timeout:0},t||{}),!t.style&&typeof t.style!="object"?(t.style={},t.style.zIndex="1000"):t.style=e.extend({border:"1px solid gray",background:"#edeef0",color:"#000",padding:"10px",zIndex:"1000",textAlign:"left"},t.style||{}),typeof n=="function"&&(t.callAfter=n||t.callAfter),t.style.display="none",t.style.position="absolute";var r,i,s,o,u={},f=!0,l=!1,c=!1,h=document.createElement("div"),p=typeof document.body.style.maxWidth=="undefined"?!0:!1,d=typeof e.talk=="function"&&typeof e.listen=="function"?!0:!1;t.id&&(h.id=t.id),t.className&&(h.className=t.className),t.degrade=t.degrade&&p?!0:!1;for(var v in t.style)h.style[v]=t.style[v];return t.ajax&&e.get(t.ajax,function(e){e&&(t.content=e),m(t.content)}),e(h).hover(function(){l=!0},function(){l=!1,g(u)}),d&&(t.key=h,t.plugin="wTooltip",t.channel="wayfarer",e.talk(t)),m(t.content&&!t.ajax),e(h).appendTo(t.appendTip),this.each(function(){e(this).hover(function(){function o(){typeof t.callBefore=="function"&&t.callBefore(h,n,t),d&&(t=e.listen(t));var i;t.content?t.degrade||(i="block"):r&&!t.degrade?(e(h).html(unescape(r)),i="block",r=""):i="none",t.auto&&(i=="block"&&t.fadeIn?e(h).fadeIn(t.fadeIn):h.style.display=i)}var n=this;clearTimeout(s),(this.title||this.titleMemKeep)&&!t.degrade&&!t.content&&(r=this.title||this.titleMemKeep,this.title&&(this.titleMemKeep=this.title,this.title="")),t.content&&t.degrade&&(this.title=h.innerHTML),t.delay>0?i=setTimeout(function(){o()},t.delay):o()},function(){clearTimeout(i);var n=this;f=!0,!t.follow||c||t.offsetX<0&&0-t.offsetX<e(h).outerWidth()&&t.offsetY>0&&0-t.offsetY<e(h).outerHeight()?setTimeout(function(){o=setInterval(function(){g(n)},1)},1):g(this)}),e(this).mousemove(function(n){u=this;if(t.follow||f){var r=e(window).scrollTop(),i=e(window).scrollLeft(),s=n.clientY+r+t.offsetY,o=n.clientX+i+t.offsetX,l=e(t.appendTip).outerHeight(),p=e(t.appendTip).innerHeight(),d=e(window).width()+i-e(h).outerWidth(),v=e(window).height()+r-e(h).outerHeight();s=l>p?s-(l-p):s,c=s>v||o>d?!0:!1,o-i<=0&&t.offsetX<0?o=i:o>d&&(o=d),s-r<=0&&t.offsetY<0?s=r:s>v&&(s=v),h.style.top=s+"px",h.style.left=o+"px",f=!1}}),typeof t.clickAction=="function"&&e(this).click(function(){t.clickAction(h,this)})})}})(jQuery),function(e){"use strict";var t={border:"solid 1px #6295fb",background:"#fff",color:"#000",padding:"5px",zIndex:1e3},n={activeTab:{},init:function(){e("input[id$=-color_none], input[id$=-color_random], input[id$=-color_set], input[id$=-color_span]").live("click",this.colorClickHandler),e(".utcw-tab-button").live("click",this.tabClickHandler),e("select[id$=-taxonomy]").live("change",this.taxonomyChangeHandler),e(document).ready(this.initTooltip),e(document).ajaxSuccess(this.ajaxSuccessHandler)},initTooltip:function(){e(".utcw-help").wTooltip({style:t,className:"utcw-tooltip"})},tabClickHandler:function(){var t=e(this);return t.data("id")==="utcw-__i__"?!1:(t.parent().find(".utcw-tab-button").removeClass("utcw-active"),t.addClass("utcw-active"),t.parent().find("fieldset.utcw").addClass("hidden"),e("#"+t.data("tab")).removeClass("hidden"),n.activeTab[t.data("id")]=t.data("tab"),!1)},colorClickHandler:function(){var t=e("div[id$='set_chooser']"),n=e("div[id$='span_chooser']"),r=e(this).val();t.addClass("utcw-hidden"),n.addClass("utcw-hidden"),r==="set"?t.removeClass("utcw-hidden"):r==="span"&&n.removeClass("utcw-hidden")},taxonomyChangeHandler:function(){var t=e(this),n=t.find(":selected").val(),r=t.parents(".widget-content");r.find("div[id$=-terms]").addClass("hidden"),r.find("#"+n+"-terms").removeClass("hidden")},ajaxSuccessHandler:function(e,t,r){n.setCurrentTab.apply(n,[r.data]),n.initTooltip.apply(n)},setCurrentTab:function(t){var n=new Uri,r;n.setQuery(decodeURI(t)),n.getQueryParamValue("action")==="save-widget"&&n.getQueryParamValue("id_base")==="utcw"&&(r=n.getQueryParamValue("widget-id"),this.activeTab[r]&&e("button[data-tab='"+this.activeTab[r]+"']").trigger("click"))}};n.init()}(jQuery);
|
language/utcw-sv_SE.mo
DELETED
Binary file
|
language/utcw-sv_SE.po
DELETED
@@ -1,521 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Ultimate Tag Cloud Widget\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-06-10 18:00+0100\n"
|
6 |
-
"PO-Revision-Date: 2012-06-10 18:00+0100\n"
|
7 |
-
"Last-Translator: Rickard Andersson <rickard@montania.se>\n"
|
8 |
-
"Language-Team: 0x539.se <rickard@0x539.se>\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Poedit-KeywordsList: __;_e;_n;_x\n"
|
13 |
-
"X-Poedit-Basepath: /Users/rickard/serversites/ultimate-tag-cloud-widget\n"
|
14 |
-
"X-Poedit-Language: English\n"
|
15 |
-
"X-Poedit-Country: SWEDEN\n"
|
16 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
-
"X-Poedit-SearchPath-0: /www/ultimate-tag-cloud-widget/trunk\n"
|
18 |
-
|
19 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:52
|
20 |
-
msgid "Data"
|
21 |
-
msgstr "Data"
|
22 |
-
|
23 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:53
|
24 |
-
msgid "Basic appearance"
|
25 |
-
msgstr "Grundläggande utseende"
|
26 |
-
|
27 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:54
|
28 |
-
msgid "Advanced appearance"
|
29 |
-
msgstr "Avancerat utseende"
|
30 |
-
|
31 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:55
|
32 |
-
msgid "Links"
|
33 |
-
msgstr "Länkar"
|
34 |
-
|
35 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:56
|
36 |
-
msgid "Adv."
|
37 |
-
msgstr "Avanc."
|
38 |
-
|
39 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:60
|
40 |
-
msgid "Only posts from the selected authors will be used when calculating the tag cloud."
|
41 |
-
msgstr "Endast inlägg skrivna av de valda författarna kommer att användas när molnet skapas."
|
42 |
-
|
43 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:61
|
44 |
-
msgid "Authors:"
|
45 |
-
msgstr "Författare:"
|
46 |
-
|
47 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:68
|
48 |
-
msgid "Which property of the tag should be used when determining the order of the tags in the cloud."
|
49 |
-
msgstr "Vilken av taggens egenskap som ska användas när sorteringen av taggarna görs."
|
50 |
-
|
51 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:69
|
52 |
-
msgid "Order:"
|
53 |
-
msgstr "Ordning:"
|
54 |
-
|
55 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:71
|
56 |
-
msgid "Random"
|
57 |
-
msgstr "Slumpvis"
|
58 |
-
|
59 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:73
|
60 |
-
msgid "By name"
|
61 |
-
msgstr "Efter namn"
|
62 |
-
|
63 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:75
|
64 |
-
msgid "By slug"
|
65 |
-
msgstr "Efter slug"
|
66 |
-
|
67 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:77
|
68 |
-
msgid "By id"
|
69 |
-
msgstr "Efter id"
|
70 |
-
|
71 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:79
|
72 |
-
msgid "By color"
|
73 |
-
msgstr "Efter färg"
|
74 |
-
|
75 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:81
|
76 |
-
msgid "Count"
|
77 |
-
msgstr "Antal"
|
78 |
-
|
79 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:83
|
80 |
-
msgid "Reverse order"
|
81 |
-
msgstr "Omvänd ordning"
|
82 |
-
|
83 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:85
|
84 |
-
msgid "Case sensitive"
|
85 |
-
msgstr "Skiftlägeskänsligt"
|
86 |
-
|
87 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:88
|
88 |
-
msgid "Which taxonomy should be used in the cloud. You should be able to choose a custom taxonomy as well."
|
89 |
-
msgstr "Vilken taxonomi som ska användas i molnet. Här ska även skräddarsydda taxonomier (custom taxonomies) vara med."
|
90 |
-
|
91 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:89
|
92 |
-
msgid "Taxonomy:"
|
93 |
-
msgstr "Taxonomi:"
|
94 |
-
|
95 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:97
|
96 |
-
msgid "Which post types should be used in the cloud. Only tags from posts from these post types will be used in the tag cloud."
|
97 |
-
msgstr ""
|
98 |
-
|
99 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:106
|
100 |
-
msgid "Only tags which have been used with this many posts will be visible in the cloud"
|
101 |
-
msgstr "Bara taggar som har blivit använda i så här många ilägg kommer att visas i molnet."
|
102 |
-
|
103 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:107
|
104 |
-
msgid "Tags with fewer posts than this will be automatically excluded."
|
105 |
-
msgstr "Taggar med färre inlägg än detta kommer automatiskt att exkluderas."
|
106 |
-
|
107 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:107
|
108 |
-
msgid "Minimum number of posts: "
|
109 |
-
msgstr "Minsta antal inlägg:"
|
110 |
-
|
111 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:111
|
112 |
-
msgid "Only posts which are posted within this number of days will be used when generating the cloud"
|
113 |
-
msgstr "Bara inlägg som blev publicerade inom såhär många dagar kommer att användas när molnet skapas."
|
114 |
-
|
115 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:112
|
116 |
-
msgid "The maximum number of days back to search for posts, zero means every post."
|
117 |
-
msgstr "Max antal dagar bakåt i tiden att söka efter inlägg, noll innebär alla inlägg."
|
118 |
-
|
119 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:112
|
120 |
-
msgid "Posts max age:"
|
121 |
-
msgstr "Inläggens maxålder:"
|
122 |
-
|
123 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:116
|
124 |
-
msgid "Choose either include or exclude above and enter a comma separated list of either the names or IDs of the tags you'd like to include/exclude."
|
125 |
-
msgstr "Välj antingen inkludera eller exkludera ovan och fyll i en kommaseparerad lista av antingen namn eller ID nummer av de taggar du vill inkludera/exkludera."
|
126 |
-
|
127 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:118
|
128 |
-
msgid "Include only ... "
|
129 |
-
msgstr "Inkludera endast ..."
|
130 |
-
|
131 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:120
|
132 |
-
msgid "Exclude ... "
|
133 |
-
msgstr "Exclude ..."
|
134 |
-
|
135 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:122
|
136 |
-
msgid "... these tags:"
|
137 |
-
msgstr "... dessa taggar:"
|
138 |
-
|
139 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:128
|
140 |
-
msgid "The title is the text which is shown above the tag cloud."
|
141 |
-
msgstr "Titeln är den text som visas ovanför taggmolnet"
|
142 |
-
|
143 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:129
|
144 |
-
msgid "Title:"
|
145 |
-
msgstr "Titel"
|
146 |
-
|
147 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:131
|
148 |
-
#, fuzzy
|
149 |
-
msgid "Show title"
|
150 |
-
msgstr "Visa titel"
|
151 |
-
|
152 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:135
|
153 |
-
msgid "The tag with the least number of posts will be the smallest, and the tag with the most number of posts will be the biggest."
|
154 |
-
msgstr "Taggen med färst antal inlägg kommer att bli minst och taggen med flest antal inlägg kommer att bli störst."
|
155 |
-
|
156 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:136
|
157 |
-
msgid "Tag size (in px):"
|
158 |
-
msgstr "Taggstorlek (i px):"
|
159 |
-
|
160 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:137
|
161 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:163
|
162 |
-
msgid "From"
|
163 |
-
msgstr "Från"
|
164 |
-
|
165 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:139
|
166 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:166
|
167 |
-
msgid "to"
|
168 |
-
msgstr "till"
|
169 |
-
|
170 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:143
|
171 |
-
msgid "If the total number of tags exceeds this number, only this many tags will be shown in the cloud."
|
172 |
-
msgstr "Om det totala antalet taggar överskrider detta antal, ta bara med såhär många taggar i molnet. "
|
173 |
-
|
174 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:144
|
175 |
-
msgid "Max tags:"
|
176 |
-
msgstr "Max antal taggar:"
|
177 |
-
|
178 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:148
|
179 |
-
msgid "This setting controls how the tags are colored.<ul><li>Totaly random will choose between all the 16 million colors available.</li><li>Random from preset values will choose colors from a predefined set of colors</li><li>Spanning between values will calculate the corresponding color based upon how many posts each tag has, similar to how the size is calculated. The tag with the least number of posts will have the first color and the tag with the most number of posts will have the second color. All tags in between will have a color calculated between the first and the second color.</li></ul>The colors for the choice 'Random from preset values' has to be specified as a comma separated list."
|
180 |
-
msgstr ""
|
181 |
-
|
182 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:149
|
183 |
-
msgid "Coloring:"
|
184 |
-
msgstr "Färgläggning:"
|
185 |
-
|
186 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:151
|
187 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:258
|
188 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:310
|
189 |
-
msgid "None"
|
190 |
-
msgstr "Ingen"
|
191 |
-
|
192 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:153
|
193 |
-
msgid "Totally random"
|
194 |
-
msgstr "Helt slumpat"
|
195 |
-
|
196 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:155
|
197 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:157
|
198 |
-
msgid "Random from preset values"
|
199 |
-
msgstr "Slumpat mellan färger"
|
200 |
-
|
201 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:161
|
202 |
-
msgid "Spanning between values"
|
203 |
-
msgstr "Utspritt mellan två färger"
|
204 |
-
|
205 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:174
|
206 |
-
msgid "The title is the small (usually) yellow label which will appear when the user hovers the tag. Try to hover the text to the left to see an example of what a title text looks like."
|
207 |
-
msgstr "Titeln är den lilla (vanligtvis) gula text som visas när användaren pekar på taggen. Prova att peka på texten till vänster för att se ett exempel på hur det ser ut."
|
208 |
-
|
209 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:176
|
210 |
-
msgid "This is a title"
|
211 |
-
msgstr "Detta är en titel"
|
212 |
-
|
213 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:176
|
214 |
-
msgid "Show title (hover text)"
|
215 |
-
msgstr "Visa titel"
|
216 |
-
|
217 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:179
|
218 |
-
msgid "The spacing is a numerical value which controls how much space there is between letters, words, tags or rows. To use the default value for these settings just use the corresponding default value from the CSS specification: <ul><li>Letter spacing: normal</li><li>Word spacing: normal</li><li>Tag spacing (CSS margin): auto</li><li>Row spacing (CSS line height): inherit</li></ul>To use anything but the default values, just specify a number (the unit is pixels)."
|
219 |
-
msgstr ""
|
220 |
-
|
221 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:180
|
222 |
-
msgid "Spacing (in px):"
|
223 |
-
msgstr "Mellanrum (i px):"
|
224 |
-
|
225 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:181
|
226 |
-
msgid "Between letters:"
|
227 |
-
msgstr "Mellan bokstäver:"
|
228 |
-
|
229 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:183
|
230 |
-
msgid "Between words:"
|
231 |
-
msgstr "Mellan ord:"
|
232 |
-
|
233 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:185
|
234 |
-
msgid "Between tags:"
|
235 |
-
msgstr "Mellan taggar:"
|
236 |
-
|
237 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:187
|
238 |
-
msgid "Between rows:"
|
239 |
-
msgstr "Mellan rader:"
|
240 |
-
|
241 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:191
|
242 |
-
msgid "The tags can be transformed in a number of different ways. lowercase, UPPERCASE or Capitalized."
|
243 |
-
msgstr ""
|
244 |
-
|
245 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:192
|
246 |
-
msgid "Transform tags:"
|
247 |
-
msgstr "Omvandla taggar:"
|
248 |
-
|
249 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:194
|
250 |
-
msgid "Off"
|
251 |
-
msgstr "Inaktiverat"
|
252 |
-
|
253 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:196
|
254 |
-
msgid "To lowercase"
|
255 |
-
msgstr "Till gemener"
|
256 |
-
|
257 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:198
|
258 |
-
msgid "To uppercase"
|
259 |
-
msgstr "Till versaler"
|
260 |
-
|
261 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:200
|
262 |
-
msgid "Capitalize"
|
263 |
-
msgstr "Stor begynnelsebokstav"
|
264 |
-
|
265 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:203
|
266 |
-
msgid "The tags can be surrounded by a prefix and/or suffix and separated with a separator. The default separator is just a space but can be changed to anything you'd like. Remember to add a space before and after the separator, this is not automatically added by the plugin.<br><br>A short example, these settings:<ul><li>Separator: - </li><li>Prefix: (</li><li>Suffix: )</li></ul>… would produce a tag cloud like this: <br><br>(first tag) - (second tag) - (third tag)<br><br>Prefix and suffix characters will have the same size and color as the tag, but the separator will not."
|
267 |
-
msgstr ""
|
268 |
-
|
269 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:204
|
270 |
-
msgid "Tag separators:"
|
271 |
-
msgstr "Separatorer:"
|
272 |
-
|
273 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:205
|
274 |
-
msgid "Separator"
|
275 |
-
msgstr "Separator"
|
276 |
-
|
277 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:207
|
278 |
-
msgid "Prefix"
|
279 |
-
msgstr "Prefix"
|
280 |
-
|
281 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:209
|
282 |
-
msgid "Suffix"
|
283 |
-
msgstr "Suffix"
|
284 |
-
|
285 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:217
|
286 |
-
msgid "The normal styles will apply to the tags when the user is <b>not</b> hovering the link."
|
287 |
-
msgstr ""
|
288 |
-
|
289 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:219
|
290 |
-
msgid "Yes or no will force the tag setting for the <u>underline</u> style, theme default will let the blog theme decide."
|
291 |
-
msgstr ""
|
292 |
-
|
293 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:220
|
294 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:277
|
295 |
-
msgid "Underline"
|
296 |
-
msgstr "Understreck"
|
297 |
-
|
298 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:222
|
299 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:232
|
300 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:242
|
301 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:279
|
302 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:287
|
303 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:295
|
304 |
-
msgid "Yes"
|
305 |
-
msgstr "Yes"
|
306 |
-
|
307 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:224
|
308 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:234
|
309 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:244
|
310 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:281
|
311 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:289
|
312 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:297
|
313 |
-
msgid "No"
|
314 |
-
msgstr "Nej"
|
315 |
-
|
316 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:226
|
317 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:236
|
318 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:246
|
319 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:283
|
320 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:291
|
321 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:299
|
322 |
-
msgid "Theme default"
|
323 |
-
msgstr "Följ temats standard"
|
324 |
-
|
325 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:229
|
326 |
-
msgid "Yes or no will force the tag setting for the <b>bold</b> style, theme default will let the blog theme decide."
|
327 |
-
msgstr ""
|
328 |
-
|
329 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:230
|
330 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:285
|
331 |
-
msgid "Bold"
|
332 |
-
msgstr "Fetstilt"
|
333 |
-
|
334 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:239
|
335 |
-
msgid "Yes or no will force the tag setting for the <i>italic</i> style, theme default will let the blog theme decide."
|
336 |
-
msgstr ""
|
337 |
-
|
338 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:240
|
339 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:293
|
340 |
-
msgid "Italic"
|
341 |
-
msgstr "Kursiv stil"
|
342 |
-
|
343 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:249
|
344 |
-
msgid "This setting will change the background color of <b>the link only</b>, not the whole cloud. The color has to be specified in hexadeximal format, like ffffff for white, 0000ff for blue or 000000 for black."
|
345 |
-
msgstr ""
|
346 |
-
|
347 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:250
|
348 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:301
|
349 |
-
msgid "Background color (hex value):"
|
350 |
-
msgstr "Bakgrundsfärgen (hexadecimalt värde)"
|
351 |
-
|
352 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:254
|
353 |
-
msgid "This setting will change the border of <b>the link only</b>, not the whole cloud. <ul><li>The width of the border is a numerical value (in the unit pixels).</li><li>The color has to be specified in hexadeximal format, like ffffff for white, 0000ff for blue or 000000 for black.</li></ul>"
|
354 |
-
msgstr ""
|
355 |
-
|
356 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:255
|
357 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:306
|
358 |
-
msgid "Border"
|
359 |
-
msgstr "Kantlinje"
|
360 |
-
|
361 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:256
|
362 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:308
|
363 |
-
msgid "Style: "
|
364 |
-
msgstr "Stil:"
|
365 |
-
|
366 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:259
|
367 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:311
|
368 |
-
msgid "Dotted"
|
369 |
-
msgstr "Prickig"
|
370 |
-
|
371 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:260
|
372 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:312
|
373 |
-
msgid "Dashed"
|
374 |
-
msgstr "Streckad"
|
375 |
-
|
376 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:261
|
377 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:313
|
378 |
-
msgid "Solid"
|
379 |
-
msgstr "Solid"
|
380 |
-
|
381 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:262
|
382 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:314
|
383 |
-
msgid "Double"
|
384 |
-
msgstr "Dubbel"
|
385 |
-
|
386 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:263
|
387 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:315
|
388 |
-
msgid "Groove"
|
389 |
-
msgstr "Groovy"
|
390 |
-
|
391 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:264
|
392 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:316
|
393 |
-
msgid "Ridge"
|
394 |
-
msgstr "Räfflad"
|
395 |
-
|
396 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:265
|
397 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:317
|
398 |
-
msgid "Inset"
|
399 |
-
msgstr "Infälld"
|
400 |
-
|
401 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:266
|
402 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:318
|
403 |
-
msgid "Outset"
|
404 |
-
msgstr "Utfälld"
|
405 |
-
|
406 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:269
|
407 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:321
|
408 |
-
msgid "Width (in px):"
|
409 |
-
msgstr "Bredd (i px):"
|
410 |
-
|
411 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:272
|
412 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:324
|
413 |
-
msgid "Color (hex value): "
|
414 |
-
msgstr "Färg (hexadecimalt värde):"
|
415 |
-
|
416 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:275
|
417 |
-
msgid "The hover effects will only affect the style of the tag when the user hovers the tag. For details about each settings see the section above."
|
418 |
-
msgstr ""
|
419 |
-
|
420 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:304
|
421 |
-
msgid "Font color (hex value):"
|
422 |
-
msgstr "Textfärg (hexadecimalt värde):"
|
423 |
-
|
424 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:329
|
425 |
-
msgid "This will add a <-- HTML comment --> to the output with some debugging information, please use this information when troubleshooting. You can find the debugging information by using 'view source' in your browser when viewing the page and searching for 'Ultimate Tag Cloud Debug information'"
|
426 |
-
msgstr "Detta kommer att lägga till en <-- HTML kommentar --> till utskriften med felsökningsinformation, vänligen använd denna information om problem skulle uppstå. Du kan hitta informationen genom att använda \"visa källa\" i din webbläsare när du besöker sidan, och söka efter 'Ultimate Tag Cloud Debug information'"
|
427 |
-
|
428 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:331
|
429 |
-
msgid "Include debug output"
|
430 |
-
msgstr "Inkludera felsökningsinformation"
|
431 |
-
|
432 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:333
|
433 |
-
msgid "This will save the current configuration which enables you to load this configuration at a later time. Check this box, choose a name in the text field below and press 'Save' to save the configuration."
|
434 |
-
msgstr ""
|
435 |
-
|
436 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:335
|
437 |
-
msgid "Save configuration"
|
438 |
-
msgstr "Spara konfiguration"
|
439 |
-
|
440 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:337
|
441 |
-
msgid "This is the name which will be used for the current configuration if you check the option 'Save configuration' above. If the name is omitted the current date and time will be used."
|
442 |
-
msgstr "Detta är namnet som komemr att användas för den nuvarande konfigurationen om du väljer valet 'Spara konfiguration' ovanför. Om du inte väljer något namn kommer nuvarande datum och tid att användas."
|
443 |
-
|
444 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:338
|
445 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:348
|
446 |
-
msgid "Configuration name"
|
447 |
-
msgstr "Konfigurationens namn"
|
448 |
-
|
449 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:344
|
450 |
-
msgid "This will load the selected configuration to the state which the widget was when the configuration was saved."
|
451 |
-
msgstr "Detta kommer att ladda den valda konfigurationen till de inställningar som widgeten hade när konfigurationen sparades."
|
452 |
-
|
453 |
-
#: /www/ultimate-tag-cloud-widget/trunk/settings.php:346
|
454 |
-
msgid "Load configuration"
|
455 |
-
msgstr "Ladda konfiguration"
|
456 |
-
|
457 |
-
#: /www/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:28
|
458 |
-
msgid "Tag Cloud"
|
459 |
-
msgstr "Taggmoln"
|
460 |
-
|
461 |
-
#: /www/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:93
|
462 |
-
msgid "Highly configurable tag cloud"
|
463 |
-
msgstr "Ett mycket konfigurerbart taggmoln"
|
464 |
-
|
465 |
-
#: /www/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:94
|
466 |
-
msgid "Ultimate Tag Cloud"
|
467 |
-
msgstr "Ultimate Tag Cloud"
|
468 |
-
|
469 |
-
#: /www/ultimate-tag-cloud-widget/trunk/ultimate-tag-cloud-widget.php:885
|
470 |
-
#, php-format
|
471 |
-
msgid "%s topic"
|
472 |
-
msgstr "%s ämne"
|
473 |
-
|
474 |
-
#~ msgid "%s topics"
|
475 |
-
#~ msgstr "%s ämnen"
|
476 |
-
|
477 |
-
#~ msgid "Alphabetically"
|
478 |
-
#~ msgstr "Alfabetisk"
|
479 |
-
|
480 |
-
#~ msgid "Post Tags"
|
481 |
-
#~ msgstr "Taggar"
|
482 |
-
|
483 |
-
#~ msgid "Categories"
|
484 |
-
#~ msgstr "Kategorier"
|
485 |
-
|
486 |
-
#~ msgid "Exclude:"
|
487 |
-
#~ msgstr "Exkludera"
|
488 |
-
|
489 |
-
#~ msgid "Appearance"
|
490 |
-
#~ msgstr "Utseende"
|
491 |
-
|
492 |
-
#~ msgid "Enter either the names or IDs of the tags you'd like to exclude."
|
493 |
-
#~ msgstr "Skriv antingen namn eller IDn på de taggar du vill exkludera"
|
494 |
-
|
495 |
-
#~ msgid ""
|
496 |
-
#~ "Tagging pages is not a native feature of WordPress, you can use this "
|
497 |
-
#~ "feature together with the page tagger plugin"
|
498 |
-
#~ msgstr ""
|
499 |
-
#~ "Att tagga sidor är inte en standardfunktion i WordPress, du kan använda "
|
500 |
-
#~ "denna funktion tillsammans med pluginen page tagger"
|
501 |
-
|
502 |
-
#~ msgid "Include tags from pages"
|
503 |
-
#~ msgstr "Inkludera taggar från sidor"
|
504 |
-
|
505 |
-
#~ msgid "Exclude these tags:"
|
506 |
-
#~ msgstr "Exkludera dessa taggar:"
|
507 |
-
|
508 |
-
#~ msgid "Adv. appearance"
|
509 |
-
#~ msgstr "Avancerat utseende"
|
510 |
-
|
511 |
-
#~ msgid "Link CSS styles"
|
512 |
-
#~ msgstr "Länkars CSS-stil"
|
513 |
-
|
514 |
-
#~ msgid ""
|
515 |
-
#~ "Tagging pages is not a native feature of WordPress, you can use this "
|
516 |
-
#~ "feature together with the <a href=\"http://wordpress.org/extend/plugins/"
|
517 |
-
#~ "page-tagger/\" target=\"_blank\">page tagger plugin</a>"
|
518 |
-
#~ msgstr ""
|
519 |
-
#~ "Att tagga sidor är inte en standardfunktion i WordPress, du kan använda "
|
520 |
-
#~ "denna funktion tillsammans med pluginen <a href=\"http://wordpress.org/"
|
521 |
-
#~ "extend/plugins/page-tagger/\" target=\"_blank\">page tagger</a>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pages/settings.php
ADDED
@@ -0,0 +1,577 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Ultimate Tag Cloud Widget
|
4 |
+
* @author Rickard Andersson <rickard@0x539.se>
|
5 |
+
* @version 2.0
|
6 |
+
* @license GPLv2
|
7 |
+
* @package utcw
|
8 |
+
* @subpackage pages
|
9 |
+
*
|
10 |
+
* @var UTCW_Config $config
|
11 |
+
* @var array $available_taxonomies
|
12 |
+
* @var array $available_post_types
|
13 |
+
* @var array $configurations
|
14 |
+
* @var array $terms
|
15 |
+
* @var array $users
|
16 |
+
* @var UTCW $this
|
17 |
+
*/
|
18 |
+
if ( ! defined( 'ABSPATH' ) ) die();
|
19 |
+
|
20 |
+
?>
|
21 |
+
<button class="utcw-tab-button utcw-active" data-id="<?php echo $this->id ?>"
|
22 |
+
data-tab="<?php echo $this->get_field_id( 'utcw-tab-data' ) ?>"><?php _e( 'Data', 'utcw' ) ?></button>
|
23 |
+
<button class="utcw-tab-button" data-id="<?php echo $this->id ?>"
|
24 |
+
data-tab="<?php echo $this->get_field_id( 'utcw-tab-terms' ) ?>"><?php _e( 'Terms', 'utcw' ) ?></button>
|
25 |
+
<button class="utcw-tab-button" data-id="<?php echo $this->id ?>"
|
26 |
+
data-tab="<?php echo $this->get_field_id( 'utcw-tab-basic-appearance' ) ?>"><?php _e( 'Basic appearance', 'utcw' ) ?></button>
|
27 |
+
<button class="utcw-tab-button" data-id="<?php echo $this->id ?>"
|
28 |
+
data-tab="<?php echo $this->get_field_id( 'utcw-tab-advanced-appearance' ) ?>"><?php _e( 'Advanced appearance', 'utcw' ) ?></button>
|
29 |
+
<button class="utcw-tab-button" data-id="<?php echo $this->id ?>"
|
30 |
+
data-tab="<?php echo $this->get_field_id( 'utcw-tab-links' ) ?>"><?php _e( 'Links', 'utcw' ) ?></button>
|
31 |
+
<button class="utcw-tab-button" data-id="<?php echo $this->id ?>"
|
32 |
+
data-tab="<?php echo $this->get_field_id( 'utcw-tab-advanced' ) ?>"><?php _e( 'Adv.', 'utcw' ) ?></button>
|
33 |
+
|
34 |
+
<fieldset class='utcw' id="<?php echo $this->get_field_id( 'utcw-tab-data' ) ?>">
|
35 |
+
<legend></legend>
|
36 |
+
<a class="utcw-help"
|
37 |
+
title="<?php _e( 'Only posts from the selected authors will be used when calculating the tag cloud.', 'utcw' ) ?>">?</a>
|
38 |
+
<strong><?php _e( 'Authors:', 'utcw' ) ?></strong><br>
|
39 |
+
<?php foreach ( $users as $user ) : ?>
|
40 |
+
<input type="checkbox" name="<?php echo $this->get_field_name( 'authors' ) ?>[]"
|
41 |
+
id="<?php echo $this->get_field_id( 'author_' . $user->ID ) ?>"
|
42 |
+
value="<?php echo $user->ID?>" <?php echo in_array( $user->ID, $config->authors, true ) ? 'checked="checked"' : ''; ?>>
|
43 |
+
<label for="<?php echo $this->get_field_id( 'author_' . $user->ID ) ?>"><?php echo $user->user_login?></label><br>
|
44 |
+
<?php endforeach; ?>
|
45 |
+
<br>
|
46 |
+
|
47 |
+
<a class="utcw-help"
|
48 |
+
title="<?php _e( 'Which property of the tag should be used when determining the order of the tags in the cloud.', 'utcw' ) ?>">?</a>
|
49 |
+
<strong><?php _e( 'Order:', 'utcw' ) ?></strong><br>
|
50 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'order' ) ?>"
|
51 |
+
id="<?php echo $this->get_field_id( 'order_random' ) ?>"
|
52 |
+
value="random" <?php echo $config->order == 'random' ? ' checked="checked" ' : ''; ?>>
|
53 |
+
<label for="<?php echo $this->get_field_id( 'order_random' ) ?>"><?php _e( 'Random', 'utcw' ) ?></label><br>
|
54 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'order' ) ?>"
|
55 |
+
id="<?php echo $this->get_field_id( 'order_name' ) ?>"
|
56 |
+
value="name" <?php echo $config->order == 'name' ? ' checked="checked"' : ''; ?>>
|
57 |
+
<label for="<?php echo $this->get_field_id( 'order_name' ) ?>"><?php _e( 'By name', 'utcw' ) ?></label><br>
|
58 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'order' ) ?>"
|
59 |
+
id="<?php echo $this->get_field_id( 'order_slug' ) ?>"
|
60 |
+
value="slug" <?php echo $config->order == 'slug' ? ' checked="checked"' : ''; ?>>
|
61 |
+
<label for="<?php echo $this->get_field_id( 'order_slug' ) ?>"><?php _e( 'By slug', 'utcw' ) ?></label><br>
|
62 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'order' ) ?>"
|
63 |
+
id="<?php echo $this->get_field_id( 'order_id' ) ?>"
|
64 |
+
value="id" <?php echo $config->order == 'id' ? ' checked="checked"' : ''; ?>>
|
65 |
+
<label for="<?php echo $this->get_field_id( 'order_id' ) ?>"><?php _e( 'By id', 'utcw' ) ?></label><br>
|
66 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'order' ) ?>"
|
67 |
+
id="<?php echo $this->get_field_id( 'order_color' ) ?>"
|
68 |
+
value="name" <?php echo $config->order == 'color' ? ' checked="checked"' : ''; ?>>
|
69 |
+
<label for="<?php echo $this->get_field_id( 'order_color' ) ?>"><?php _e( 'By color', 'utcw' ) ?></label><br>
|
70 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'order' ) ?>"
|
71 |
+
id="<?php echo $this->get_field_id( 'order_count' ) ?>"
|
72 |
+
value="count" <?php echo $config->order == 'count' || strlen( $config->order ) == 0 ? ' checked="checked" ' : ''; ?>>
|
73 |
+
<label for="<?php echo $this->get_field_id( 'order_count' ) ?>"><?php _e( 'Count', 'utcw' ) ?></label><br>
|
74 |
+
<input type="checkbox" name="<?php echo $this->get_field_name( 'reverse' ) ?>"
|
75 |
+
id="<?php echo $this->get_field_id( 'reverse' ) ?>" <?php echo $config->reverse === true ? ' checked="checked"' : ''; ?>>
|
76 |
+
<label for="<?php echo $this->get_field_id( 'reverse' ) ?>"><?php _e( 'Reverse order', 'utcw' ) ?></label><br>
|
77 |
+
<input type="checkbox" name="<?php echo $this->get_field_name( 'case_sensitive' ) ?>"
|
78 |
+
id="<?php echo $this->get_field_id( 'case_sensitive' ) ?>" <?php echo $config->case_sensitive === true ? ' checked="checked"' : ''; ?>>
|
79 |
+
<label
|
80 |
+
for="<?php echo $this->get_field_id( 'case_sensitive' ) ?>"><?php _e( 'Case sensitive', 'utcw' ) ?></label><br>
|
81 |
+
<br>
|
82 |
+
|
83 |
+
<a class="utcw-help"
|
84 |
+
title="<?php _e( 'Which taxonomy should be used in the cloud. You should be able to choose a custom taxonomy as well.', 'utcw' ) ?>">?</a>
|
85 |
+
<strong><label
|
86 |
+
for="<?php echo $this->get_field_id( 'taxonomy' ) ?>"><?php _e( 'Taxonomy:', 'utcw' ) ?></label></strong><br>
|
87 |
+
<select id="<?php echo $this->get_field_id( 'taxonomy' ) ?>"
|
88 |
+
name="<?php echo $this->get_field_name( 'taxonomy' ) ?>">
|
89 |
+
<?php foreach ( $available_taxonomies as $taxonomy ) : ?>
|
90 |
+
<option
|
91 |
+
value="<?php echo $taxonomy->name ?>" <?php echo $config->taxonomy == $taxonomy->name ? 'selected="selected"' : ''?>><?php echo $taxonomy->labels->name ?></option>
|
92 |
+
<?php endforeach; ?>
|
93 |
+
</select><br>
|
94 |
+
<br>
|
95 |
+
|
96 |
+
<a class="utcw-help"
|
97 |
+
title="<?php _e( 'Which post types should be used in the cloud. Only tags from posts from these post types will be used in the tag cloud.', 'utcw' ) ?>">?</a>
|
98 |
+
<strong>Post types:</strong><br>
|
99 |
+
|
100 |
+
<?php foreach ( $available_post_types as $pt ) : $data = get_post_type_object( $pt ) ?>
|
101 |
+
<input type="checkbox" name="<?php echo $this->get_field_name( 'post_type' ) ?>[]"
|
102 |
+
id="<?php echo $this->get_field_id( 'post_type-' . $pt ) ?>"
|
103 |
+
value="<?php echo $pt ?>" <?php if ( in_array( $pt, $config->post_type ) ) echo 'checked="checked"' ?>>
|
104 |
+
<label for="<?php echo $this->get_field_id( 'post_type-' . $pt ) ?>"><?php echo $data->labels->name ?></label><br>
|
105 |
+
<?php endforeach ?>
|
106 |
+
<br>
|
107 |
+
|
108 |
+
<a class="utcw-help"
|
109 |
+
title="<?php _e( 'Only tags which have been used with this many posts will be visible in the cloud', 'utcw' ) ?>">?</a>
|
110 |
+
<strong><label for="<?php echo $this->get_field_id( 'minimum' ) ?>"
|
111 |
+
title="<?php _e( 'Tags with fewer posts than this will be automatically excluded.', 'utcw' ) ?>"><?php _e( 'Minimum number of posts: ', 'utcw' ) ?></label></strong>
|
112 |
+
<input type="number" name="<?php echo $this->get_field_name( 'minimum' ) ?>"
|
113 |
+
id="<?php echo $this->get_field_id( 'minimum' ) ?>" value="<?php echo $config->minimum; ?>"><br>
|
114 |
+
<br>
|
115 |
+
|
116 |
+
<a class="utcw-help"
|
117 |
+
title="<?php _e( 'Only posts which are posted within this number of days will be used when generating the cloud', 'utcw' ) ?>">?</a>
|
118 |
+
<strong><label for="<?php echo $this->get_field_id( 'days_old' ) ?>"
|
119 |
+
title="<?php _e( 'The maximum number of days back to search for posts, zero means every post.', 'utcw' )?>"><?php _e( 'Posts max age:', 'utcw' )?></label></strong><br>
|
120 |
+
<input type="number" name="<?php echo $this->get_field_name( 'days_old' ) ?>"
|
121 |
+
id="<?php echo $this->get_field_id( 'days_old' ) ?>" value="<?php echo $config->days_old; ?>"><br>
|
122 |
+
</fieldset>
|
123 |
+
|
124 |
+
<fieldset class="utcw hidden" id="<?php echo $this->get_field_id( 'utcw-tab-terms' ) ?>">
|
125 |
+
<legend></legend>
|
126 |
+
|
127 |
+
<a class="utcw-help" title="<?php _e( 'This setting controls how the tag cloud should handle the selected terms. If the selected terms below should be the only ones included, or if the selected terms should be the ones being excluded from the result.', 'utcw' ) ?>">?</a>
|
128 |
+
<strong><?php _e( 'Selection type', 'utcw' ) ?></strong>
|
129 |
+
<br>
|
130 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'tags_list_type' ) ?>"
|
131 |
+
id="<?php echo $this->get_field_id( 'tags_list_type_include' ) ?>"
|
132 |
+
value="include" <?php echo $config->tags_list_type == 'include' ? 'checked="checked" ' : ''; ?>>
|
133 |
+
<label
|
134 |
+
for="<?php echo $this->get_field_id( 'tags_list_type_include' ) ?>"><?php _e( 'Include only selected terms', 'utcw' ) ?></label>
|
135 |
+
<br>
|
136 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'tags_list_type' ) ?>"
|
137 |
+
id="<?php echo $this->get_field_id( 'tags_list_type_exclude' ) ?>"
|
138 |
+
value="exclude" <?php echo $config->tags_list_type == 'exclude' ? 'checked="checked" ' : ''; ?>>
|
139 |
+
<label
|
140 |
+
for="<?php echo $this->get_field_id( 'tags_list_type_exclude' ) ?>"><?php _e( 'Exclude selected terms', 'utcw' ) ?></label>
|
141 |
+
|
142 |
+
<br>
|
143 |
+
<br>
|
144 |
+
<a class="utcw-help" title="<?php _e( 'Which tags to include or exclude', 'utcw' ) ?>">?</a>
|
145 |
+
<?php foreach ( $available_taxonomies as $taxonomy ) : ?>
|
146 |
+
|
147 |
+
<div id="<?php echo $taxonomy->name ?>-terms" <?php if ( $taxonomy->name != $config->taxonomy ) echo 'class="hidden"' ?>>
|
148 |
+
|
149 |
+
<strong><?php printf( __( 'Terms for taxonomy %s', 'utcw' ), $taxonomy->labels->name ) ?></strong>
|
150 |
+
|
151 |
+
<?php if ( isset( $terms[ $taxonomy->name ] ) ) : ?>
|
152 |
+
<ul>
|
153 |
+
<?php foreach ( $terms[ $taxonomy->name ] as $term ) : ?>
|
154 |
+
<li>
|
155 |
+
<label>
|
156 |
+
<input
|
157 |
+
type="checkbox"
|
158 |
+
name="<?php echo $this->get_field_name( 'tags_list' ) ?>[]"
|
159 |
+
value="<?php echo $term->term_id ?>"
|
160 |
+
<?php if ( in_array( $term->term_id, $config->tags_list ) ) echo 'checked="checked"' ?>>
|
161 |
+
<?php echo $term->name ?>
|
162 |
+
</label>
|
163 |
+
</li>
|
164 |
+
<?php endforeach ?>
|
165 |
+
</ul>
|
166 |
+
<?php else : ?>
|
167 |
+
<p><?php printf( __( 'No terms for taxonomy "%s"', 'utcw' ), $taxonomy->labels->name ) ?></p>
|
168 |
+
<?php endif ?>
|
169 |
+
|
170 |
+
</div>
|
171 |
+
|
172 |
+
<?php endforeach ?>
|
173 |
+
|
174 |
+
</fieldset>
|
175 |
+
|
176 |
+
<fieldset class="utcw hidden" id="<?php echo $this->get_field_id( 'utcw-tab-basic-appearance' ) ?>">
|
177 |
+
<legend></legend>
|
178 |
+
<a class="utcw-help"
|
179 |
+
title="<?php _e( 'The title is the text which is shown above the tag cloud.', 'utcw' ) ?>">?</a>
|
180 |
+
<strong><label
|
181 |
+
for="<?php echo $this->get_field_id( 'title' );?>"><?php _e( 'Title:', 'utcw' ) ?></label></strong><br>
|
182 |
+
<input type="checkbox" id="<?php echo $this->get_field_id( 'show_title_text' ) ?>"
|
183 |
+
name="<?php echo $this->get_field_name( 'show_title_text' ) ?>" <?php if ( ! isset( $config->show_title_text ) || $config->show_title_text ) echo 'checked="checked"' ?>>
|
184 |
+
<label for="<?php echo $this->get_field_id( 'show_title_text' ) ?>"><?php _e( 'Show title', 'utcw' ) ?></label><br>
|
185 |
+
<input type="text" id="<?php echo $this->get_field_id( 'title' );?>"
|
186 |
+
name="<?php echo $this->get_field_name( 'title' );?>"
|
187 |
+
value="<?php echo $config->title ?>"><br>
|
188 |
+
<br>
|
189 |
+
|
190 |
+
<a class="utcw-help"
|
191 |
+
title="<?php _e( 'The tag with the least number of posts will be the smallest, and the tag with the most number of posts will be the biggest.', 'utcw' ) ?>">?</a>
|
192 |
+
<strong><?php _e( 'Tag size (in px):', 'utcw' ) ?></strong><br>
|
193 |
+
<label for="<?php echo $this->get_field_id( 'size_from' ) ?>"><?php _e( 'From', 'utcw' ) ?></label>
|
194 |
+
<input type="number" name="<?php echo $this->get_field_name( 'size_from' ) ?>"
|
195 |
+
id="<?php echo $this->get_field_id( 'size_from' ) ?>" size="3"
|
196 |
+
value="<?php echo $config->size_from ?>">
|
197 |
+
<label for="<?php echo $this->get_field_id( 'size_to' ) ?>"><?php _e( 'to', 'utcw' ) ?></label>
|
198 |
+
<input type="number" name="<?php echo $this->get_field_name( 'size_to' ) ?>"
|
199 |
+
id="<?php echo $this->get_field_id( 'size_to' ) ?>" size="3"
|
200 |
+
value="<?php echo $config->size_to ?>"><br>
|
201 |
+
<br>
|
202 |
+
|
203 |
+
<a class="utcw-help"
|
204 |
+
title="<?php _e( 'If the total number of tags exceeds this number, only this many tags will be shown in the cloud.', 'utcw' ) ?>">?</a>
|
205 |
+
<strong><label
|
206 |
+
for="<?php echo $this->get_field_id( 'max' ) ?>"><?php _e( 'Max tags:', 'utcw' ) ?></label></strong><br>
|
207 |
+
<input type="number" name="<?php echo $this->get_field_name( 'max' ) ?>"
|
208 |
+
id="<?php echo $this->get_field_id( 'max' ) ?>"
|
209 |
+
value="<?php echo $config->max ?>"><br>
|
210 |
+
<br>
|
211 |
+
|
212 |
+
<a class="utcw-help"
|
213 |
+
title="<?php _e( 'This setting controls how the tags are colored.<ul><li>Totaly random will choose between all the 16 million colors available.</li><li>Random from preset values will choose colors from a predefined set of colors</li><li>Spanning between values will calculate the corresponding color based upon how many posts each tag has, similar to how the size is calculated. The tag with the least number of posts will have the first color and the tag with the most number of posts will have the second color. All tags in between will have a color calculated between the first and the second color.</li></ul>The colors for the choice \'Random from preset values\' has to be specified as a comma separated list.', 'utcw' )?>">?</a>
|
214 |
+
<strong><?php _e( 'Coloring:', 'utcw' ) ?></strong><br>
|
215 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'color' ) ?>"
|
216 |
+
id="<?php echo $this->get_field_id( 'color_none' ) ?>"
|
217 |
+
value="none" <?php echo $config->color == 'none' ? 'checked="checked"' : ''; ?>>
|
218 |
+
<label for="<?php echo $this->get_field_id( 'color_none' ) ?>"><?php _e( 'None', 'utcw' ) ?></label><br>
|
219 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'color' ) ?>"
|
220 |
+
id="<?php echo $this->get_field_id( 'color_random' ) ?>"
|
221 |
+
value="random" <?php echo $config->color == 'random' ? 'checked="checked"' : ''; ?>>
|
222 |
+
<label for="<?php echo $this->get_field_id( 'color_random' ) ?>"><?php _e( 'Totally random', 'utcw' ) ?></label><br>
|
223 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'color' ) ?>"
|
224 |
+
id="<?php echo $this->get_field_id( 'color_set' ) ?>"
|
225 |
+
value="set" <?php echo $config->color == 'set' ? 'checked="checked"' : ''; ?>>
|
226 |
+
<label
|
227 |
+
for="<?php echo $this->get_field_id( 'color_set' ) ?>"><?php _e( 'Random from preset values', 'utcw' ) ?></label><br>
|
228 |
+
|
229 |
+
<div
|
230 |
+
id="<?php echo $this->get_field_id( 'set_chooser' ) ?>" <?php echo $config->color != 'set' ? 'class="utcw-hidden"' : ''; ?>>
|
231 |
+
<label class="screen-reader-text"
|
232 |
+
for="<?php echo $this->get_field_id( 'color_set_chooser' ) ?>"><?php _e( 'Random from preset values', 'utcw' ) ?></label>
|
233 |
+
<input type="text" name="<?php echo $this->get_field_name( 'color_set' ) ?>"
|
234 |
+
id="<?php echo $this->get_field_id( 'color_set_chooser' ) ?>">
|
235 |
+
</div>
|
236 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'color' ) ?>"
|
237 |
+
id="<?php echo $this->get_field_id( 'color_span' ) ?>"
|
238 |
+
value="span" <?php echo $config->color == 'span' ? 'checked="checked"' : ''; ?>>
|
239 |
+
<label
|
240 |
+
for="<?php echo $this->get_field_id( 'color_span' ) ?>"><?php _e( 'Spanning between values', 'utcw' ) ?></label><br>
|
241 |
+
|
242 |
+
<div
|
243 |
+
id="<?php echo $this->get_field_id( 'span_chooser' ) ?>" <?php echo $config->color != 'span' ? 'class="utcw-hidden"' : ''; ?>>
|
244 |
+
<label for="<?php echo $this->get_field_id( 'color_span_from' ) ?>"><?php _e( 'From', 'utcw' ) ?></label>
|
245 |
+
<input type="text" size="7" name="<?php echo $this->get_field_name( 'color_span_from' ) ?>"
|
246 |
+
id="<?php echo $this->get_field_id( 'color_span_from' ) ?>" value="<?php echo $config->color_span_from ?>"><br>
|
247 |
+
|
248 |
+
<label for="<?php echo $this->get_field_id( 'color_span_to' ) ?>"><?php _e( 'to', 'utcw' ) ?></label>
|
249 |
+
<input type="text" size="7" name="<?php echo $this->get_field_name( 'color_span_to' ) ?>"
|
250 |
+
id="<?php echo $this->get_field_id( 'color_span_to' ) ?>" value="<?php echo $config->color_span_to ?>">
|
251 |
+
</div>
|
252 |
+
<br>
|
253 |
+
</fieldset>
|
254 |
+
|
255 |
+
<fieldset class="utcw hidden" id="<?php echo $this->get_field_id( 'utcw-tab-advanced-appearance' ) ?>">
|
256 |
+
<legend></legend>
|
257 |
+
<a class="utcw-help"
|
258 |
+
title="<?php _e( 'The title is the small (usually) yellow label which will appear when the user hovers the tag. Try to hover the text to the left to see an example of what a title text looks like.', 'utcw' ) ?>">?</a>
|
259 |
+
<input type="checkbox" name="<?php echo $this->get_field_name( 'show_title' ) ?>"
|
260 |
+
id="<?php echo $this->get_field_id( 'show_title' ) ?>" <?php echo $config->show_title === true ? 'checked="checked"' : ''?>>
|
261 |
+
<label for="<?php echo $this->get_field_id( 'show_title' ) ?>"
|
262 |
+
title="<?php _e( 'This is a title', 'utcw' ) ?>"><?php _e( 'Show title (hover text)', 'utcw' ) ?></label><br>
|
263 |
+
<br>
|
264 |
+
|
265 |
+
<a class="utcw-help"
|
266 |
+
title="<?php _e( 'The spacing is a numerical value which controls how much space there is between letters, words, tags or rows. To use the default value for these settings just use the corresponding default value from the CSS specification: <ul><li>Letter spacing: normal</li><li>Word spacing: normal</li><li>Tag spacing (CSS margin): auto</li><li>Row spacing (CSS line height): inherit</li></ul>To use anything but the default values, just specify a number (the unit is pixels).', 'utcw' ) ?>">?</a>
|
267 |
+
<strong><?php _e( 'Spacing (in px):', 'utcw' ) ?></strong><br>
|
268 |
+
<label class="two-col"
|
269 |
+
for="<?php echo $this->get_field_id( 'letter_spacing' ) ?>"><?php _e( 'Between letters:', 'utcw' ) ?></label>
|
270 |
+
<input type="text" size="5" name="<?php echo $this->get_field_name( 'letter_spacing' ) ?>"
|
271 |
+
id="<?php echo $this->get_field_id( 'letter_spacing' ) ?>"
|
272 |
+
value="<?php echo $config->letter_spacing ?>"><br>
|
273 |
+
<label class="two-col"
|
274 |
+
for="<?php echo $this->get_field_id( 'word_spacing' ) ?>"><?php _e( 'Between words:', 'utcw' ) ?></label>
|
275 |
+
<input type="text" size="5" name="<?php echo $this->get_field_name( 'word_spacing' ) ?>"
|
276 |
+
id="<?php echo $this->get_field_id( 'word_spacing' ) ?>"
|
277 |
+
value="<?php echo $config->word_spacing ?>"><br>
|
278 |
+
<label class="two-col"
|
279 |
+
for="<?php echo $this->get_field_id( 'tag_spacing' ) ?>"><?php _e( 'Between tags:', 'utcw' ) ?></label>
|
280 |
+
<input type="text" size="5" name="<?php echo $this->get_field_name( 'tag_spacing' ) ?>"
|
281 |
+
id="<?php echo $this->get_field_id( 'tag_spacing' ) ?>"
|
282 |
+
value="<?php echo $config->tag_spacing ?>"><br>
|
283 |
+
<label class="two-col"
|
284 |
+
for="<?php echo $this->get_field_id( 'line_height' ) ?>"><?php _e( 'Between rows:', 'utcw' ) ?></label>
|
285 |
+
<input type="text" size="5" name="<?php echo $this->get_field_name( 'line_height' ) ?>"
|
286 |
+
id="<?php echo $this->get_field_id( 'line_height' ) ?>"
|
287 |
+
value="<?php echo $config->line_height ?>"><br>
|
288 |
+
<br>
|
289 |
+
|
290 |
+
<a class="utcw-help"
|
291 |
+
title="<?php _e( 'The tags can be transformed in a number of different ways. lowercase, UPPERCASE or Capitalized.', 'utcw' )?>">?</a>
|
292 |
+
<strong><?php _e( 'Transform tags:', 'utcw' ) ?></strong><br>
|
293 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'text_transform' ) ?>"
|
294 |
+
id="<?php echo $this->get_field_id( 'text_transform_off' ) ?>"
|
295 |
+
value="off" <?php echo $config->text_transform == 'off' ? 'checked="checked"' : ''; ?>>
|
296 |
+
<label for="<?php echo $this->get_field_id( 'text_transform_off' ) ?>"><?php _e( 'Off', 'utcw' ) ?></label><br>
|
297 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'text_transform' ) ?>"
|
298 |
+
id="<?php echo $this->get_field_id( 'text_transform_lowercase' ) ?>"
|
299 |
+
value="lowercase" <?php echo $config->text_transform == 'lowercase' ? ' checked="checked"' : ''; ?>>
|
300 |
+
<label
|
301 |
+
for="<?php echo $this->get_field_id( 'text_transform_lowercase' ) ?>"><?php _e( 'To lowercase', 'utcw' ) ?></label><br>
|
302 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'text_transform' ) ?>"
|
303 |
+
id="<?php echo $this->get_field_id( 'text_transform_uppercase' ) ?>"
|
304 |
+
value="uppercase" <?php echo $config->text_transform == 'uppercase' ? ' checked="checked"' : ''; ?>>
|
305 |
+
<label
|
306 |
+
for="<?php echo $this->get_field_id( 'text_transform_uppercase' ) ?>"><?php _e( 'To uppercase', 'utcw' ) ?></label><br>
|
307 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'text_transform' ) ?>"
|
308 |
+
id="<?php echo $this->get_field_id( 'text_transform_capitalize' ) ?>"
|
309 |
+
value="capitalize" <?php echo $config->text_transform == 'capitalize' ? ' checked="checked"' : ''; ?>>
|
310 |
+
<label
|
311 |
+
for="<?php echo $this->get_field_id( 'text_transform_capitalize' ) ?>"><?php _e( 'Capitalize', 'utcw' ) ?></label><br>
|
312 |
+
<br>
|
313 |
+
|
314 |
+
<a class="utcw-help"
|
315 |
+
title="<?php _e( 'The tags can be surrounded by a prefix and/or suffix and separated with a separator. The default separator is just a space but can be changed to anything you\'d like. Remember to add a space before and after the separator, this is not automatically added by the plugin.<br><br>A short example, these settings:<ul><li>Separator: - </li><li>Prefix: (</li><li>Suffix: )</li></ul>… would produce a tag cloud like this: <br><br>(first tag) - (second tag) - (third tag)<br><br>Prefix and suffix characters will have the same size and color as the tag, but the separator will not.', 'utcw' ) ?>">?</a>
|
316 |
+
<strong><?php _e( 'Tag separators:', 'utcw' )?></strong>
|
317 |
+
<label class="two-col"
|
318 |
+
for="<?php echo $this->get_field_id( 'separator' ) ?>"><?php _e( 'Separator', 'utcw' ) ?></label>
|
319 |
+
<input type="text" size=5 name="<?php echo $this->get_field_name( 'separator' ) ?>"
|
320 |
+
id="<?php echo $this->get_field_id( 'separator' ) ?>"
|
321 |
+
value="<?php echo $config->separator ?>"><br>
|
322 |
+
<label class="two-col" for="<?php echo $this->get_field_id( 'prefix' ) ?>"><?php _e( 'Prefix', 'utcw' ) ?></label>
|
323 |
+
<input type="text" size=5 name="<?php echo $this->get_field_name( 'prefix' ) ?>"
|
324 |
+
id="<?php echo $this->get_field_id( 'prefix' ) ?>"
|
325 |
+
value="<?php echo $config->prefix ?>"><br>
|
326 |
+
<label class="two-col" for="<?php echo $this->get_field_id( 'suffix' ) ?>"><?php _e( 'Suffix', 'utcw' ) ?></label>
|
327 |
+
<input type="text" size=5 name="<?php echo $this->get_field_name( 'suffix' ) ?>"
|
328 |
+
id="<?php echo $this->get_field_id( 'suffix' ) ?>"
|
329 |
+
value="<?php echo $config->suffix ?>"><br>
|
330 |
+
|
331 |
+
</fieldset>
|
332 |
+
|
333 |
+
<fieldset class="utcw hidden" id="<?php echo $this->get_field_id( 'utcw-tab-links' ) ?>">
|
334 |
+
<legend></legend>
|
335 |
+
|
336 |
+
<a class="utcw-help"
|
337 |
+
title="<?php _e( 'The normal styles will apply to the tags when the user is <b>not</b> hovering the link.', 'utcw' )?>">?</a>
|
338 |
+
|
339 |
+
<h3><?php _e( 'Normal styles', 'utcw' ) ?></h3>
|
340 |
+
<a class="utcw-help"
|
341 |
+
title="<?php _e( 'Yes or no will force the tag setting for the <u>underline</u> style, theme default will let the blog theme decide.', 'utcw' ) ?>">?</a>
|
342 |
+
<strong><?php _e( 'Underline', 'utcw' ) ?></strong><br>
|
343 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'link_underline' ) ?>"
|
344 |
+
id="<?php echo $this->get_field_id( 'link_underline_yes' ) ?>"
|
345 |
+
value="yes" <?php echo $config->link_underline == 'yes' ? ' checked="checked"' : '' ?>>
|
346 |
+
<label for="<?php echo $this->get_field_id( 'link_underline_yes' ) ?>"><?php _e( 'Yes', 'utcw' ) ?></label><br>
|
347 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'link_underline' ) ?>"
|
348 |
+
id="<?php echo $this->get_field_id( 'link_underline_no' ) ?>"
|
349 |
+
value="no" <?php echo $config->link_underline == 'no' ? ' checked="checked"' : '' ?>>
|
350 |
+
<label for="<?php echo $this->get_field_id( 'link_underline_no' ) ?>"><?php _e( 'No', 'utcw' ) ?></label><br>
|
351 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'link_underline' ) ?>"
|
352 |
+
id="<?php echo $this->get_field_id( 'link_underline_default' ) ?>"
|
353 |
+
value="default" <?php echo $config->link_underline == 'default' ? ' checked="checked"' : '' ?>>
|
354 |
+
<label
|
355 |
+
for="<?php echo $this->get_field_id( 'link_underline_default' ) ?>"><?php _e( 'Theme default', 'utcw' ) ?></label><br>
|
356 |
+
<br>
|
357 |
+
|
358 |
+
<a class="utcw-help"
|
359 |
+
title="<?php _e( 'Yes or no will force the tag setting for the <b>bold</b> style, theme default will let the blog theme decide.', 'utcw' ) ?>">?</a>
|
360 |
+
<strong><?php _e( 'Bold', 'utcw' ) ?></strong><br>
|
361 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'link_bold' ) ?>"
|
362 |
+
id="<?php echo $this->get_field_id( 'link_bold_yes' ) ?>"
|
363 |
+
value="yes" <?php echo $config->link_bold == 'yes' ? ' checked="checked"' : '' ?>>
|
364 |
+
<label for="<?php echo $this->get_field_id( 'link_bold_yes' ) ?>"><?php _e( 'Yes', 'utcw' ) ?></label><br>
|
365 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'link_bold' ) ?>"
|
366 |
+
id="<?php echo $this->get_field_id( 'link_bold_no' ) ?>"
|
367 |
+
value="no" <?php echo $config->link_bold == 'no' ? ' checked="checked"' : '' ?>>
|
368 |
+
<label for="<?php echo $this->get_field_id( 'link_bold_no' ) ?>"><?php _e( 'No', 'utcw' ) ?></label><br>
|
369 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'link_bold' ) ?>"
|
370 |
+
id="<?php echo $this->get_field_id( 'link_bold_default' ) ?>"
|
371 |
+
value="default" <?php echo $config->link_bold == 'default' ? ' checked="checked"' : '' ?>>
|
372 |
+
<label for="<?php echo $this->get_field_id( 'link_bold_default' ) ?>"><?php _e( 'Theme default', 'utcw' ) ?></label><br>
|
373 |
+
<br>
|
374 |
+
|
375 |
+
<a class="utcw-help"
|
376 |
+
title="<?php _e( 'Yes or no will force the tag setting for the <i>italic</i> style, theme default will let the blog theme decide.', 'utcw' ) ?>">?</a>
|
377 |
+
<strong><?php _e( 'Italic', 'utcw' ) ?></strong><br>
|
378 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'link_italic' ) ?>"
|
379 |
+
id="<?php echo $this->get_field_id( 'link_italic_yes' ) ?>"
|
380 |
+
value="yes" <?php echo $config->link_italic == 'yes' ? ' checked="checked"' : '' ?>>
|
381 |
+
<label for="<?php echo $this->get_field_id( 'link_italic_yes' ) ?>"><?php _e( 'Yes', 'utcw' ) ?></label><br>
|
382 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'link_italic' ) ?>"
|
383 |
+
id="<?php echo $this->get_field_id( 'link_italic_no' ) ?>"
|
384 |
+
value="no" <?php echo $config->link_italic == 'no' ? ' checked="checked"' : '' ?>>
|
385 |
+
<label for="<?php echo $this->get_field_id( 'link_italic_no' ) ?>"><?php _e( 'No', 'utcw' ) ?></label><br>
|
386 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'link_italic' ) ?>"
|
387 |
+
id="<?php echo $this->get_field_id( 'link_italic_default' ) ?>"
|
388 |
+
value="default" <?php echo $config->link_italic == 'default' ? ' checked="checked"' : '' ?>>
|
389 |
+
<label
|
390 |
+
for="<?php echo $this->get_field_id( 'link_italic_default' ) ?>"><?php _e( 'Theme default', 'utcw' ) ?></label><br>
|
391 |
+
<br>
|
392 |
+
|
393 |
+
<a class="utcw-help"
|
394 |
+
title="<?php _e( 'This setting will change the background color of <b>the link only</b>, not the whole cloud. The color has to be specified in hexadeximal format, like ffffff for white, 0000ff for blue or 000000 for black.', 'utcw' ) ?>">?</a>
|
395 |
+
<strong><label
|
396 |
+
for="<?php echo $this->get_field_id( 'link_bg_color' ) ?>"><?php _e( 'Background color (hex value):', 'utcw' ) ?></label></strong><br>
|
397 |
+
<input type="text" name="<?php echo $this->get_field_name( 'link_bg_color' ) ?>"
|
398 |
+
id="<?php echo $this->get_field_id( 'link_bg_color' ) ?>" value="<?php echo $config->link_bg_color ?>"><br>
|
399 |
+
<br>
|
400 |
+
|
401 |
+
<a class="utcw-help"
|
402 |
+
title="<?php _e( 'This setting will change the border of <b>the link only</b>, not the whole cloud. <ul><li>The width of the border is a numerical value (in the unit pixels).</li><li>The color has to be specified in hexadeximal format, like ffffff for white, 0000ff for blue or 000000 for black.</li></ul>', 'utcw' ) ?>">?</a>
|
403 |
+
<strong><?php _e( 'Border', 'utcw' ) ?></strong><br>
|
404 |
+
<label for="<?php echo $this->get_field_id( 'link_border_style' ) ?>"><?php _e( 'Style: ', 'utcw' ) ?></label><br>
|
405 |
+
<select name="<?php echo $this->get_field_name( 'link_border_style' ) ?>"
|
406 |
+
id="<?php echo $this->get_field_id( 'link_border_style' ) ?>">
|
407 |
+
<option
|
408 |
+
value="none" <?php echo $config->link_border_style == 'none' ? 'selected="selected"' : '' ?>><?php _e( 'None', 'utcw' ) ?></option>
|
409 |
+
<option
|
410 |
+
value="dotted" <?php echo $config->link_border_style == 'dotted' ? 'selected="selected"' : '' ?>><?php _e( 'Dotted', 'utcw' ) ?></option>
|
411 |
+
<option
|
412 |
+
value="dashed" <?php echo $config->link_border_style == 'dashed' ? 'selected="selected"' : '' ?>><?php _e( 'Dashed', 'utcw' ) ?></option>
|
413 |
+
<option
|
414 |
+
value="solid" <?php echo $config->link_border_style == 'solid' ? 'selected="selected"' : '' ?>><?php _e( 'Solid', 'utcw' ) ?></option>
|
415 |
+
<option
|
416 |
+
value="double" <?php echo $config->link_border_style == 'double' ? 'selected="selected"' : '' ?>><?php _e( 'Double', 'utcw' ) ?></option>
|
417 |
+
<option
|
418 |
+
value="groove" <?php echo $config->link_border_style == 'groove' ? 'selected="selected"' : '' ?>><?php _e( 'Groove', 'utcw' ) ?></option>
|
419 |
+
<option
|
420 |
+
value="ridge" <?php echo $config->link_border_style == 'rigde' ? 'selected="selected"' : '' ?>><?php _e( 'Ridge', 'utcw' ) ?></option>
|
421 |
+
<option
|
422 |
+
value="inset" <?php echo $config->link_border_style == 'inset' ? 'selected="selected"' : '' ?>><?php _e( 'Inset', 'utcw' ) ?></option>
|
423 |
+
<option
|
424 |
+
value="outset" <?php echo $config->link_border_style == 'outset' ? 'selected="selected"' : '' ?>><?php _e( 'Outset', 'utcw' ) ?></option>
|
425 |
+
</select><br>
|
426 |
+
<br>
|
427 |
+
<label
|
428 |
+
for="<?php echo $this->get_field_id( 'link_border_width' ) ?>"><?php _e( 'Width (in px):', 'utcw' ) ?></label><br>
|
429 |
+
<input type="number" name="<?php echo $this->get_field_name( 'link_border_width' ) ?>"
|
430 |
+
id="<?php echo $this->get_field_id( 'link_border_width' ) ?>" value="<?php echo $config->link_border_width ?>"><br>
|
431 |
+
<br>
|
432 |
+
<label
|
433 |
+
for="<?php echo $this->get_field_id( 'link_border_color' ) ?>"><?php _e( 'Color (hex value): ', 'utcw' ) ?></label><br>
|
434 |
+
<input type="text" name="<?php echo $this->get_field_name( 'link_border_color' ) ?>"
|
435 |
+
id="<?php echo $this->get_field_id( 'link_border_color' ) ?>" value="<?php echo $config->link_border_color ?>"><br>
|
436 |
+
|
437 |
+
<a class="utcw-help"
|
438 |
+
title="<?php _e( 'The hover effects will only affect the style of the tag when the user hovers the tag. For details about each settings see the section above.', 'utcw' )?>">?</a>
|
439 |
+
|
440 |
+
<h3><?php _e( 'Hover effects', 'utcw' ) ?></h3>
|
441 |
+
<strong><?php _e( 'Underline', 'utcw' ) ?></strong><br>
|
442 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'hover_underline' ) ?>"
|
443 |
+
id="<?php echo $this->get_field_id( 'hover_underline_yes' ) ?>"
|
444 |
+
value="yes" <?php echo $config->hover_underline == 'yes' ? ' checked="checked"' : '' ?>>
|
445 |
+
<label for="<?php echo $this->get_field_id( 'hover_underline_yes' ) ?>"><?php _e( 'Yes', 'utcw' ) ?></label><br>
|
446 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'hover_underline' ) ?>"
|
447 |
+
id="<?php echo $this->get_field_id( 'hover_underline_no' ) ?>"
|
448 |
+
value="no" <?php echo $config->hover_underline == 'no' ? ' checked="checked"' : '' ?>>
|
449 |
+
<label for="<?php echo $this->get_field_id( 'hover_underline_no' ) ?>"><?php _e( 'No', 'utcw' ) ?></label><br>
|
450 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'hover_underline' ) ?>"
|
451 |
+
id="<?php echo $this->get_field_id( 'hover_underline_default' ) ?>"
|
452 |
+
value="default" <?php echo $config->hover_underline == 'default' ? ' checked="checked"' : '' ?>>
|
453 |
+
<label
|
454 |
+
for="<?php echo $this->get_field_id( 'hover_underline_default' ) ?>"><?php _e( 'Theme default', 'utcw' ) ?></label><br>
|
455 |
+
<br>
|
456 |
+
<strong><?php _e( 'Bold', 'utcw' ) ?></strong><br>
|
457 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'hover_bold' ) ?>"
|
458 |
+
id="<?php echo $this->get_field_id( 'hover_bold_yes' ) ?>"
|
459 |
+
value="yes" <?php echo $config->hover_bold == 'yes' ? ' checked="checked"' : '' ?>>
|
460 |
+
<label for="<?php echo $this->get_field_id( 'hover_bold_yes' ) ?>"><?php _e( 'Yes', 'utcw' ) ?></label><br>
|
461 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'hover_bold' ) ?>"
|
462 |
+
id="<?php echo $this->get_field_id( 'hover_bold_no' ) ?>"
|
463 |
+
value="no" <?php echo $config->hover_bold == 'no' ? ' checked="checked"' : '' ?>>
|
464 |
+
<label for="<?php echo $this->get_field_id( 'hover_bold_no' ) ?>"><?php _e( 'No', 'utcw' ) ?></label><br>
|
465 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'hover_bold' ) ?>"
|
466 |
+
id="<?php echo $this->get_field_id( 'hover_bold_default' ) ?>"
|
467 |
+
value="default" <?php echo $config->hover_bold == 'default' ? ' checked="checked"' : '' ?>>
|
468 |
+
<label
|
469 |
+
for="<?php echo $this->get_field_id( 'hover_bold_default' ) ?>"><?php _e( 'Theme default', 'utcw' ) ?></label><br>
|
470 |
+
<br>
|
471 |
+
<strong><?php _e( 'Italic', 'utcw' ) ?></strong><br>
|
472 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'hover_italic' ) ?>"
|
473 |
+
id="<?php echo $this->get_field_id( 'hover_italic_yes' ) ?>"
|
474 |
+
value="yes" <?php echo $config->hover_italic == 'yes' ? ' checked="checked"' : '' ?>>
|
475 |
+
<label for="<?php echo $this->get_field_id( 'hover_italic_yes' ) ?>"><?php _e( 'Yes', 'utcw' ) ?></label><br>
|
476 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'hover_italic' ) ?>"
|
477 |
+
id="<?php echo $this->get_field_id( 'hover_italic_no' ) ?>"
|
478 |
+
value="no" <?php echo $config->hover_italic == 'no' ? ' checked="checked"' : '' ?>>
|
479 |
+
<label for="<?php echo $this->get_field_id( 'hover_italic_no' ) ?>"><?php _e( 'No', 'utcw' ) ?></label><br>
|
480 |
+
<input type="radio" name="<?php echo $this->get_field_name( 'hover_italic' ) ?>"
|
481 |
+
id="<?php echo $this->get_field_id( 'hover_italic_default' ) ?>"
|
482 |
+
value="default" <?php echo $config->hover_italic == 'default' ? ' checked="checked"' : '' ?>>
|
483 |
+
<label
|
484 |
+
for="<?php echo $this->get_field_id( 'hover_italic_default' ) ?>"><?php _e( 'Theme default', 'utcw' ) ?></label><br>
|
485 |
+
<br>
|
486 |
+
<strong><label
|
487 |
+
for="<?php echo $this->get_field_id( 'hover_bg_color' ) ?>"><?php _e( 'Background color (hex value):', 'utcw' ) ?></label></strong><br>
|
488 |
+
<input type="text" name="<?php echo $this->get_field_name( 'hover_bg_color' ) ?>"
|
489 |
+
id="<?php echo $this->get_field_id( 'hover_bg_color' ) ?>" value="<?php echo $config->hover_bg_color ?>"><br>
|
490 |
+
<br>
|
491 |
+
<strong><label
|
492 |
+
for="<?php echo $this->get_field_id( 'hover_color' ) ?>"><?php _e( 'Font color (hex value):', 'utcw' ) ?></label></strong><br>
|
493 |
+
<input type="text" name="<?php echo $this->get_field_name( 'hover_color' ) ?>"
|
494 |
+
id="<?php echo $this->get_field_id( 'hover_color' ) ?>" value="<?php echo $config->hover_color ?>"><br>
|
495 |
+
<br>
|
496 |
+
<strong><?php _e( 'Border', 'utcw' ) ?></strong><br>
|
497 |
+
<label for="<?php echo $this->get_field_id( 'hover_border_style' ) ?>"><?php _e( 'Style: ', 'utcw' ) ?></label><br>
|
498 |
+
<select name="<?php echo $this->get_field_name( 'hover_border_style' ) ?>"
|
499 |
+
id="<?php echo $this->get_field_id( 'hover_border_style' ) ?>">
|
500 |
+
<option
|
501 |
+
value="none" <?php echo $config->hover_border_style == 'none' ? 'selected="selected"' : '' ?>><?php _e( 'None', 'utcw' ) ?></option>
|
502 |
+
<option
|
503 |
+
value="dotted" <?php echo $config->hover_border_style == 'dotted' ? 'selected="selected"' : '' ?>><?php _e( 'Dotted', 'utcw' ) ?></option>
|
504 |
+
<option
|
505 |
+
value="dashed" <?php echo $config->hover_border_style == 'dashed' ? 'selected="selected"' : '' ?>><?php _e( 'Dashed', 'utcw' ) ?></option>
|
506 |
+
<option
|
507 |
+
value="solid" <?php echo $config->hover_border_style == 'solid' ? 'selected="selected"' : '' ?>><?php _e( 'Solid', 'utcw' ) ?></option>
|
508 |
+
<option
|
509 |
+
value="double" <?php echo $config->hover_border_style == 'double' ? 'selected="selected"' : '' ?>><?php _e( 'Double', 'utcw' ) ?></option>
|
510 |
+
<option
|
511 |
+
value="groove" <?php echo $config->hover_border_style == 'groove' ? 'selected="selected"' : '' ?>><?php _e( 'Groove', 'utcw' ) ?></option>
|
512 |
+
<option
|
513 |
+
value="ridge" <?php echo $config->hover_border_style == 'rigde' ? 'selected="selected"' : '' ?>><?php _e( 'Ridge', 'utcw' ) ?></option>
|
514 |
+
<option
|
515 |
+
value="inset" <?php echo $config->hover_border_style == 'inset' ? 'selected="selected"' : '' ?>><?php _e( 'Inset', 'utcw' ) ?></option>
|
516 |
+
<option
|
517 |
+
value="outset" <?php echo $config->hover_border_style == 'outset' ? 'selected="selected"' : '' ?>><?php _e( 'Outset', 'utcw' ) ?></option>
|
518 |
+
</select><br>
|
519 |
+
<br>
|
520 |
+
<label
|
521 |
+
for="<?php echo $this->get_field_id( 'hover_border_width' ) ?>"><?php _e( 'Width (in px):', 'utcw' ) ?></label><br>
|
522 |
+
<input type="number" name="<?php echo $this->get_field_name( 'hover_border_width' ) ?>"
|
523 |
+
id="<?php echo $this->get_field_id( 'hover_border_width' ) ?>" value="<?php echo $config->hover_border_width ?>"><br>
|
524 |
+
<br>
|
525 |
+
<label
|
526 |
+
for="<?php echo $this->get_field_id( 'hover_border_color' ) ?>"><?php _e( 'Color (hex value): ', 'utcw' ) ?></label><br>
|
527 |
+
<input type="text" name="<?php echo $this->get_field_name( 'hover_border_color' ) ?>"
|
528 |
+
id="<?php echo $this->get_field_id( 'hover_border_color' ) ?>" value="<?php echo $config->hover_border_color ?>"><br>
|
529 |
+
</fieldset>
|
530 |
+
<fieldset class="utcw hidden" id="<?php echo $this->get_field_id( 'utcw-tab-advanced' ) ?>">
|
531 |
+
<legend></legend>
|
532 |
+
<a class="utcw-help"
|
533 |
+
title="<?php _e( 'This will add a <-- HTML comment --> to the output with some debugging information, please use this information when troubleshooting. You can find the debugging information by using \'view source\' in your browser when viewing the page and searching for \'Ultimate Tag Cloud Debug information\'', 'utcw' )?>">?</a>
|
534 |
+
<input type="checkbox" name="<?php echo $this->get_field_name( 'debug' ) ?>"
|
535 |
+
id="<?php echo $this->get_field_id( 'debug' ) ?>" <?php echo ( $config->debug === true ) ? 'checked="checked"' : '' ?>>
|
536 |
+
<label for="<?php echo $this->get_field_id( 'debug' ) ?>"><?php _e( 'Include debug output', 'utcw' )?></label><br>
|
537 |
+
<br>
|
538 |
+
<a class="utcw-help"
|
539 |
+
title="<?php _e( 'This will save the current configuration which enables you to load this configuration at a later time. Check this box, choose a name in the text field below and press \'Save\' to save the configuration.', 'utcw' ) ?>">?</a>
|
540 |
+
<input type="checkbox" name="<?php echo $this->get_field_name( 'save_config' ) ?>"
|
541 |
+
id="<?php echo $this->get_field_id( 'save_config' ) ?>">
|
542 |
+
<label
|
543 |
+
for="<?php echo $this->get_field_id( 'save_config' ) ?>"><?php _e( 'Save configuration', 'utcw' ) ?></label><br>
|
544 |
+
<br>
|
545 |
+
<a class="utcw-help"
|
546 |
+
title="<?php _e( 'This is the name which will be used for the current configuration if you check the option \'Save configuration\' above. If the name is omitted the current date and time will be used.', 'utcw' ) ?>">?</a>
|
547 |
+
<label
|
548 |
+
for="<?php echo $this->get_field_id( 'save_config_name' ) ?>"><?php _e( 'Configuration name', 'utcw' ) ?></label><br>
|
549 |
+
<input type="text" name="<?php echo $this->get_field_name( 'save_config_name' ) ?>"
|
550 |
+
id="<?php echo $this->get_field_id( 'save_config_name' ) ?>"
|
551 |
+
value="<?php echo date( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ) ) ?>"><br>
|
552 |
+
<br>
|
553 |
+
|
554 |
+
<?php if ( $configurations !== false && is_array( $configurations ) && count( $configurations ) > 0 ) : ?>
|
555 |
+
|
556 |
+
<a class="utcw-help"
|
557 |
+
title="<?php _e( 'This will load the selected configuration to the state which the widget was when the configuration was saved.', 'utcw' ) ?>">?</a>
|
558 |
+
<input type="checkbox" name="<?php echo $this->get_field_name( 'load_config' ) ?>"
|
559 |
+
id="<?php echo $this->get_field_id( 'load_config' ) ?>">
|
560 |
+
<label for="<?php echo $this->get_field_id( 'load_config' ) ?>"><?php _e( 'Load configuration', 'utcw' ) ?></label>
|
561 |
+
<br>
|
562 |
+
<br>
|
563 |
+
<label
|
564 |
+
for="<?php echo $this->get_field_id( 'load_config_name' ) ?>"><?php _e( 'Configuration name', 'utcw' ) ?></label>
|
565 |
+
<br>
|
566 |
+
<select name="<?php echo $this->get_field_name( 'load_config_name' ) ?>"
|
567 |
+
id="<?php echo $this->get_field_id( 'load_config_name' ) ?>">
|
568 |
+
|
569 |
+
<?php foreach ( $configurations as $name => $config ) : ?>
|
570 |
+
<option value="<?php echo $name ?>"><?php echo $name ?></option>
|
571 |
+
<?php endforeach ?>
|
572 |
+
|
573 |
+
</select>
|
574 |
+
|
575 |
+
<?php endif ?>
|
576 |
+
|
577 |
+
</fieldset>
|
readme.txt
CHANGED
@@ -1,36 +1,25 @@
|
|
1 |
=== Ultimate Tag Cloud Widget ===
|
2 |
Contributors: exz
|
3 |
Tags: widget, tags, configurable, tag cloud
|
4 |
-
Requires at least:
|
5 |
-
Tested up to: 3.
|
6 |
Stable tag: 1.3.17
|
7 |
Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
|
|
|
8 |
|
9 |
This plugin aims to be the most configurable tag cloud widget out there, able to suit all your weird tag cloud needs.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
This is the highly configurable tag cloud widget,
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
* Minimum amount of posts for tags to be included
|
23 |
-
* Number of days back to search for posts
|
24 |
-
* Title
|
25 |
-
* Size and color customization
|
26 |
-
* Max amount of tags in your cloud
|
27 |
-
* Spacing between tags, letters, words and rows
|
28 |
-
* Transform tags into lowercase, uppercase or Capitalize them
|
29 |
-
* Fully internationalized and translated into two languages
|
30 |
-
* Separator, suffix and prefix for the tags
|
31 |
-
* Load/save configuration
|
32 |
-
|
33 |
-
This plugin is under active development and my goal is to try to help everyone who have issues or suggestions for this plugin. If you have issues please post them in the forums, if you have suggestions most people use the comment system on my blog at http://0x539.se/wordpress/ultimate-tag-cloud-widget/. You're also always welcome to contact me by e-mail or Google Talk; rickard at 0x539.se
|
34 |
|
35 |
== Installation ==
|
36 |
|
@@ -43,283 +32,72 @@ This is the same procedure as with all ordinary plugins.
|
|
43 |
|
44 |
All the configuration options is set individually in every instance. Some default values are set if you're unsure on how to configure it.
|
45 |
|
46 |
-
If your theme doesn't use widgets, you can still use it in your theme by calling the function do_utcw()
|
47 |
|
48 |
== Frequently Asked Questions ==
|
49 |
|
50 |
-
|
51 |
|
52 |
== Screenshots ==
|
53 |
|
54 |
1. This shows my widget with the default settings on the default wordpress theme.
|
55 |
-
2. This is a more colorful example with random colors and all tags in uppercase. I'd like to actually see someone use it like this.
|
56 |
-
3. Maybe a more realistic usage of the widget with spanning colors and capitalized tags.
|
57 |
4. The settings page of the widget
|
58 |
|
59 |
== Changelog ==
|
60 |
|
61 |
-
=
|
62 |
-
* Removed the static wp-content/plugins path for assets
|
63 |
-
|
64 |
-
= 1.3.16 =
|
65 |
-
* Bug fix; fixes problem with saving "Random from preset values" setting
|
66 |
-
|
67 |
-
= 1.3.15 =
|
68 |
-
* Bux fix; removed jquery 1.7.x dependent functions
|
69 |
-
|
70 |
-
= 1.3.14 =
|
71 |
-
* Bug fix; tag cloud showed up empty after update from 1.3.12
|
72 |
-
|
73 |
-
= 1.3.13 =
|
74 |
-
* Added setting to hide the title of the widget
|
75 |
-
* Custom post type support, replaces page tagging feature
|
76 |
-
* Internal optimizations and improved code quality
|
77 |
-
|
78 |
-
= 1.3.12 =
|
79 |
-
* Fixed bug which made the default "data" tab disappear when adding the widget to a sidebar
|
80 |
-
* Added setting for link hover font color
|
81 |
-
* Added option to save or load configuration
|
82 |
-
|
83 |
-
= 1.3.11 =
|
84 |
-
* Proper namespacing of the CSS classes to prevent interference with other plugins
|
85 |
-
|
86 |
-
= 1.3.10 =
|
87 |
-
|
88 |
-
* Fixed shortcode problem where the content would appear at the top of a post/page instead of where the shortcode was placed.
|
89 |
-
* Fixed shortcode problem where you couldn't possibly enter some values as array types, now accepting a comma separated list for $tags_list, $color_set and $authors
|
90 |
-
* Updated spelling error in the documentation which caused some confusion
|
91 |
-
|
92 |
-
= 1.3.9 =
|
93 |
-
|
94 |
-
* Added shortcode [utcw]
|
95 |
-
|
96 |
-
= 1.3.8 =
|
97 |
-
|
98 |
-
* Improved the tabbed settings when using multiple tag clouds
|
99 |
-
* Improved the tabbed settings so that the same tab is reloaded after saving the settings
|
100 |
-
* Updated screenshot
|
101 |
-
* Bugfix; The help texts now also shows after saving the settings
|
102 |
-
* Added a setting for separator, prefix and suffix
|
103 |
-
|
104 |
-
= 1.3.7 =
|
105 |
-
|
106 |
-
* Added more detailed descriptions of all the settings
|
107 |
-
* Added the tabs for the sections in the widget settings
|
108 |
-
* Switched from deprecated function get_users_of_blog() to get_users() for WP 3.1+
|
109 |
-
|
110 |
-
= 1.3.6 =
|
111 |
-
|
112 |
-
* Added a setting for row spacing
|
113 |
-
* Added a setting for post age
|
114 |
-
|
115 |
-
= 1.3.5 =
|
116 |
-
|
117 |
-
* Now also showing private posts when signed in.
|
118 |
|
119 |
-
|
|
|
120 |
|
121 |
-
|
122 |
-
* Added a setting for including debug information to help troubleshooting
|
123 |
|
124 |
-
|
125 |
-
|
126 |
-
* Added new styling options upon requests from the forum
|
127 |
-
* Testing out the new HTML5 input type "number" in the settings form
|
128 |
-
|
129 |
-
= 1.3.2 =
|
130 |
-
|
131 |
-
* Fixed bug in the SQL query making the plugin also count posts that isn't published
|
132 |
-
* Added a new option to set the minimum amount of posts a tag should have to be included
|
133 |
-
|
134 |
-
= 1.3.1 =
|
135 |
-
|
136 |
-
* Added Swedish translation
|
137 |
-
* Minor internationalization changes
|
138 |
-
|
139 |
-
= 1.3 =
|
140 |
-
|
141 |
-
* As requested, support for calling a function to display the widget was added. Se other notes for information on how to use it.
|
142 |
-
* Javascript changes in order to fix problems with the options page in WP 3.1 beta 1
|
143 |
-
|
144 |
-
= 1.2 =
|
145 |
-
|
146 |
-
* Removed all the PHP short tags
|
147 |
-
* Can now sort by name, slug, id or color (!) case sensitive or case insensitive
|
148 |
-
* Exclude now takes either tag name or id
|
149 |
-
|
150 |
-
= 1.1 =
|
151 |
-
|
152 |
-
* Fixed bug with options page
|
153 |
-
* Improved link generation to create correct tag links
|
154 |
-
|
155 |
-
= 1.0 =
|
156 |
-
|
157 |
-
* Initial release
|
158 |
|
159 |
== Upgrade Notice ==
|
160 |
|
161 |
-
=
|
162 |
-
|
163 |
-
* Removed the static wp-content/plugins path for assets
|
164 |
-
|
165 |
-
= 1.3.16 =
|
166 |
-
|
167 |
-
* Bug fix; fixes problem with saving "Random from preset values" setting
|
168 |
-
|
169 |
-
= 1.3.15 =
|
170 |
-
|
171 |
-
* Bug fix; fixes problems with javascript errors on widgets page
|
172 |
-
|
173 |
-
= 1.3.14 =
|
174 |
|
175 |
-
*
|
176 |
-
|
177 |
-
= 1.3.13 =
|
178 |
-
|
179 |
-
* New features and internal optimizations and improvements
|
180 |
-
|
181 |
-
= 1.3.12 =
|
182 |
-
|
183 |
-
* Minor bug fix and added support for saving/loading configurations.
|
184 |
-
|
185 |
-
= 1.3.11 =
|
186 |
-
|
187 |
-
* Minor CSS fix
|
188 |
-
|
189 |
-
= 1.3.10 =
|
190 |
-
|
191 |
-
* Some shortcode bugfixes
|
192 |
-
|
193 |
-
= 1.3.9 =
|
194 |
-
|
195 |
-
* Added shortcode
|
196 |
-
|
197 |
-
= 1.3.8 =
|
198 |
-
|
199 |
-
* Minor bug fixes from previous version
|
200 |
-
* Added separator, prefix and suffix settings
|
201 |
-
|
202 |
-
= 1.3.7 =
|
203 |
-
|
204 |
-
* Removed deprecated function get_users_of_blog() for WP 3.1+
|
205 |
-
|
206 |
-
= 1.3.6 =
|
207 |
-
|
208 |
-
* Added two new features; post age and row spacing
|
209 |
-
|
210 |
-
= 1.3.5 =
|
211 |
-
|
212 |
-
* Now also showing private posts when signed in.
|
213 |
-
|
214 |
-
= 1.3.4 =
|
215 |
-
|
216 |
-
Support for page tagging and an option for debug information
|
217 |
-
|
218 |
-
= 1.3.3 =
|
219 |
-
|
220 |
-
* New styling options added
|
221 |
-
|
222 |
-
= 1.3.2 =
|
223 |
-
|
224 |
-
* Small bug fix in the SQL-query and a new option added
|
225 |
-
|
226 |
-
= 1.3.1 =
|
227 |
-
|
228 |
-
* Added Swedish translateion
|
229 |
-
|
230 |
-
= 1.3 =
|
231 |
-
|
232 |
-
* Support for integrating the widget within your theme added.
|
233 |
-
* New javascript fixing problem with options page in WP 3.1 beta 1
|
234 |
-
|
235 |
-
= 1.1 and 1.2 =
|
236 |
-
|
237 |
-
* Just bug fixes, should be safe to upgrade.
|
238 |
-
|
239 |
-
= 1.0 =
|
240 |
-
|
241 |
-
* Initial release
|
242 |
|
243 |
== Feedback ==
|
244 |
|
245 |
-
This plugin is under active development and my goal is to try to help everyone who have issues or suggestions for this plugin. If you
|
246 |
|
247 |
My contact information is
|
248 |
|
249 |
* rickard (a) 0x539.se (email, gtalk, msn, you name it)
|
250 |
* [twitter.com/rickard2](http://twitter.com/rickard2)
|
251 |
|
|
|
|
|
252 |
== Theme integration / Shortcode ==
|
253 |
|
254 |
-
You can integrate the widget within your own theme even if you're not using standard
|
255 |
|
256 |
`<?php do_utcw($args); ?>`
|
257 |
|
258 |
-
...with
|
259 |
|
260 |
-
`<?php
|
261 |
$args = array( "title" => "Most awesome title ever" );
|
262 |
-
|
263 |
do_utcw( $args );`
|
264 |
|
265 |
-
If you're not able to change your theme you can also use the shortcode `[utcw]` anywhere in your posts or pages. You can pass any of the settings along with the shortcode in the format of key=value
|
266 |
-
|
267 |
-
`[utcw title="Most awesome title ever"]`
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
*
|
274 |
-
*
|
275 |
-
*
|
276 |
-
*
|
277 |
-
* size_to (integer)
|
278 |
-
* max (integer)
|
279 |
-
* reverse (boolean)
|
280 |
-
* authors (array of user IDs or CSV, integers)
|
281 |
-
* tags_list (array of taxonomies or CSV, IDs or names to be included or excluded)
|
282 |
-
* tags_list_type (include or exclude, defines how to handle the tag_list)
|
283 |
-
* minimum (integer)
|
284 |
-
* days_old (integer)
|
285 |
-
* color_set (array of hex colors or CSV, like #fff or #ffffff)
|
286 |
-
* letter_spacing (integer)
|
287 |
-
* word_spacing (integer)
|
288 |
-
* tag_spacing (integer)
|
289 |
-
* line_height (integer)
|
290 |
-
* color_span_from (hex color, like #fff or #ffffff)
|
291 |
-
* color_span_to (hex color, dito)
|
292 |
-
* case_sensitive (boolean)
|
293 |
-
* order (string, valid values: 'random', 'name', 'slug', 'id', 'color', 'count')
|
294 |
-
* taxonomy (string, valid values: 'post_tag', 'category')
|
295 |
-
* color (string, valid values: 'none', 'random', 'set', 'span')
|
296 |
-
* case (string, valid values: 'lowercase', 'uppercase', 'capitalize', 'off')
|
297 |
-
* show_title (boolean)
|
298 |
-
* link_bold (string, valid values: 'yes', 'no', 'default')
|
299 |
-
* link_underline (string, valid values: 'yes', 'no', 'default')
|
300 |
-
* link_italic (string, valid values: 'yes', 'no', 'default)
|
301 |
-
* link_bg_color (hex color)
|
302 |
-
* link_border_color (hex color)
|
303 |
-
* link_border_style (string, valid values: 'none', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset')
|
304 |
-
* link_border_width (integer)
|
305 |
-
* hover_bold (string, valid values: 'yes', 'no', 'default')
|
306 |
-
* hover_underline (string, valid values: 'yes', 'no', 'default')
|
307 |
-
* hover_italic (string, valid values: 'yes', 'no', 'default)
|
308 |
-
* hover_bg_color (hex color)
|
309 |
-
* hover_border_color (hex color)
|
310 |
-
* hover_border_style (string, valid values: 'none', 'dotted', 'dashed', 'solid', 'double', 'groove', 'ridge', 'inset', 'outset')
|
311 |
-
* hover_border_width (integer)
|
312 |
-
* debug (boolean)
|
313 |
-
* separator (string)
|
314 |
-
* prefix (string)
|
315 |
-
* suffix (string)
|
316 |
-
* return (boolean)
|
317 |
-
* post_type (array)
|
318 |
-
* show_title_text (boolean)
|
319 |
-
|
320 |
-
All options are optional, default values can be found in the widget php file. Valid values for order, taxonomy, color and case can be found in the arrays $utcw_allowed_orders, taxonomys, colors and cases respectively. To send the boolean value `true` just use the string `"on"`.
|
321 |
-
|
322 |
-
Good luck and remember to give me feedback if you run into any problems
|
323 |
|
324 |
== Thanks ==
|
325 |
|
1 |
=== Ultimate Tag Cloud Widget ===
|
2 |
Contributors: exz
|
3 |
Tags: widget, tags, configurable, tag cloud
|
4 |
+
Requires at least: 3.0
|
5 |
+
Tested up to: 3.5 beta2
|
6 |
Stable tag: 1.3.17
|
7 |
Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
|
8 |
+
License: GPLv2 or later
|
9 |
|
10 |
This plugin aims to be the most configurable tag cloud widget out there, able to suit all your weird tag cloud needs.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
This is the highly configurable tag cloud widget, the main features for this plugin is:
|
15 |
+
|
16 |
+
- All, single author or multiple authors per cloud
|
17 |
+
- Select which taxonomies or post types to show tags for
|
18 |
+
- Rules for which posts to include when fetching tags
|
19 |
+
- Inclusion/exclusion functions
|
20 |
+
- A bunch of ordering, coloring and styling options
|
21 |
+
|
22 |
+
This plugin is under active development and my goal is to try to help everyone who have issues or suggestions for this plugin. If you find bugs or have feature requests please use [GitHub issues](https://github.com/rickard2/utcw/issues), if you need support please use the [WordPress forums](http://wordpress.org/support/plugin/ultimate-tag-cloud-widget). You're also always welcome to contact me by e-mail or Google Talk; rickard at 0x539.se
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
== Installation ==
|
25 |
|
32 |
|
33 |
All the configuration options is set individually in every instance. Some default values are set if you're unsure on how to configure it.
|
34 |
|
35 |
+
If your theme doesn't use widgets, you can still use it in your theme by calling the function `do_utcw()` or by using the shortcode `[do_utcw]`. See [Other Notes](http://wordpress.org/extend/plugins/ultimate-tag-cloud-widget/other_notes/#Theme-integration-/-Shortcode) for more information.
|
36 |
|
37 |
== Frequently Asked Questions ==
|
38 |
|
39 |
+
If you have questions, please post them in the forums.
|
40 |
|
41 |
== Screenshots ==
|
42 |
|
43 |
1. This shows my widget with the default settings on the default wordpress theme.
|
44 |
+
2. This is a more colorful example with random colors and all tags in uppercase. I'd like to actually see someone use it like this.
|
45 |
+
3. Maybe a more realistic usage of the widget with spanning colors and capitalized tags.
|
46 |
4. The settings page of the widget
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 2.0 =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|