Polylang is provided with an extensive documentation (in English). It includes information on how to set up your multilingual site and use it on a daily basis; FAQs, and documentation for developers to adapt their plugins and themes. Support and extra features are available to Polylang Pro users.
/**! * wp-color-picker-alpha * * Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker * Only run in input and is defined data alpha in true * * Version: 2.1.2 * https://github.com/kallookoo/wp-color-picker-alpha * Licensed under the GPLv2 license. */ !function(t){var o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==",r='',e='',i='',a=void 0!==wpColorPickerL10n.current;if(a)n='';else var n='',l="",s='';Color.fn.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var t=parseInt(this._color,10).toString(16);return this.error?"":(t.length<6&&(t=("00000"+t).substr(-6)),"#"+t)},t.widget("wp.wpColorPicker",t.wp.wpColorPicker,{_create:function(){if(t.support.iris){var p=this,c=p.element;if(t.extend(p.options,c.data()),"hue"===p.options.type)return p._createHueOnly();p.close=t.proxy(p.close,p),p.initialValue=c.val(),c.addClass("wp-color-picker"),a?(c.hide().wrap(e),p.wrap=c.parent(),p.toggler=t(n).insertBefore(c).css({backgroundColor:p.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),p.pickerContainer=t(r).insertAfter(c),p.button=t(i).addClass("hidden")):(c.parent("label").length||(c.wrap(l),p.wrappingLabelText=t(s).insertBefore(c).text(wpColorPickerL10n.defaultLabel)),p.wrappingLabel=c.parent(),p.wrappingLabel.wrap(e),p.wrap=p.wrappingLabel.parent(),p.toggler=t(n).insertBefore(p.wrappingLabel).css({backgroundColor:p.initialValue}),p.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),p.pickerContainer=t(r).insertAfter(p.wrappingLabel),p.button=t(i)),p.options.defaultColor?(p.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString),a||p.button.attr("aria-label",wpColorPickerL10n.defaultAriaLabel)):(p.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),a||p.button.attr("aria-label",wpColorPickerL10n.clearAriaLabel)),a?c.wrap('').after(p.button):(p.wrappingLabel.wrap('').after(p.button),p.inputWrapper=c.closest(".wp-picker-input-wrap")),c.iris({target:p.pickerContainer,hide:p.options.hide,width:p.options.width,mode:p.options.mode,palettes:p.options.palettes,change:function(r,e){p.options.alpha?(p.toggler.css({"background-image":"url("+o+")"}),a?p.toggler.html(''):(p.toggler.css({position:"relative"}),0==p.toggler.find("span.color-alpha").length&&p.toggler.append('')),p.toggler.find("span.color-alpha").css({width:"30px",height:"24px",position:"absolute",top:0,left:0,"border-top-left-radius":"2px","border-bottom-left-radius":"2px",background:e.color.toString()})):p.toggler.css({backgroundColor:e.color.toString()}),t.isFunction(p.options.change)&&p.options.change.call(this,r,e)}}),c.val(p.initialValue),p._addListeners(),p.options.hide||p.toggler.click()}},_addListeners:function(){var o=this;o.wrap.on("click.wpcolorpicker",function(t){t.stopPropagation()}),o.toggler.click(function(){o.toggler.hasClass("wp-picker-open")?o.close():o.open()}),o.element.on("change",function(r){(""===t(this).val()||o.element.hasClass("iris-error"))&&(o.options.alpha?(a&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),t.isFunction(o.options.clear)&&o.options.clear.call(this,r))}),o.button.on("click",function(r){t(this).hasClass("wp-picker-clear")?(o.element.val(""),o.options.alpha?(a&&o.toggler.removeAttr("style"),o.toggler.find("span.color-alpha").css("backgroundColor","")):o.toggler.css("backgroundColor",""),t.isFunction(o.options.clear)&&o.options.clear.call(this,r)):t(this).hasClass("wp-picker-default")&&o.element.val(o.options.defaultColor).change()})}}),t.widget("a8c.iris",t.a8c.iris,{_create:function(){if(this._super(),this.options.alpha=this.element.data("alpha")||!1,this.element.is(":input")||(this.options.alpha=!1),void 0!==this.options.alpha&&this.options.alpha){var o=this,r=o.element,e=t(' ').appendTo(o.picker.find(".iris-picker-inner")),i={aContainer:e,aSlider:e.find(".iris-slider-offset-alpha")};void 0!==r.data("custom-width")?o.options.customWidth=parseInt(r.data("custom-width"))||0:o.options.customWidth=100,o.options.defaultWidth=r.width(),(o._color._alpha<1||-1!=o._color.toString().indexOf("rgb"))&&r.width(parseInt(o.options.defaultWidth+o.options.customWidth)),t.each(i,function(t,r){o.controls[t]=r}),o.controls.square.css({"margin-right":"0"});var a=o.picker.width()-o.controls.square.width()-20,n=a/6,l=a/2-n;t.each(["aContainer","strip"],function(t,r){o.controls[r].width(l).css({"margin-left":n+"px"})}),o._initControls(),o._change()}},_initControls:function(){if(this._super(),this.options.alpha){var t=this;t.controls.aSlider.slider({orientation:"vertical",min:0,max:100,step:1,value:parseInt(100*t._color._alpha),slide:function(o,r){t._color._alpha=parseFloat(r.value/100),t._change.apply(t,arguments)}})}},_change:function(){this._super();var t=this,r=t.element;if(this.options.alpha){var e=t.controls,i=parseInt(100*t._color._alpha),a=t._color.toRgb(),n=["rgb("+a.r+","+a.g+","+a.b+") 0%","rgba("+a.r+","+a.g+","+a.b+", 0) 100%"],l=t.options.defaultWidth,s=t.options.customWidth,p=t.picker.closest(".wp-picker-container").find(".wp-color-result");e.aContainer.css({background:"linear-gradient(to bottom, "+n.join(", ")+"), url("+o+")"}),p.hasClass("wp-picker-open")&&(e.aSlider.slider("value",i),t._color._alpha<1?(e.strip.attr("style",e.strip.attr("style").replace(/rgba\(([0-9]+,)(\s+)?([0-9]+,)(\s+)?([0-9]+)(,(\s+)?[0-9\.]+)\)/g,"rgb($1$3$5)")),r.width(parseInt(l+s))):r.width(l))}(r.data("reset-alpha")||!1)&&t.picker.find(".iris-palette-container").on("click.palette",".iris-palette",function(){t._color._alpha=1,t.active="external",t._change()})},_addInputListeners:function(t){var o=this,r=function(r){var e=new Color(t.val()),i=t.val();t.removeClass("iris-error"),e.error?""!==i&&t.addClass("iris-error"):e.toString()!==o._color.toString()&&("keyup"===r.type&&i.match(/^[0-9a-fA-F]{3}$/)||o._setOption("color",e.toString()))};t.on("change",r).on("keyup",o._debounce(r,100)),o.options.hide&&t.on("focus",function(){o.show()})}})}(jQuery), // Auto call with colo-picker class jQuery(document).ready(function(t){t(".color-picker").wpColorPicker()});/** * Copyright (c) 2007 Ariel Flesler - aflesler ○ gmail • com | https://github.com/flesler * Licensed under MIT * @author Ariel Flesler * @version 2.1.2 */ ;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1Rivers State Governor, Siminalayi Fubara, has said that Nigeria will only succeed when the citizens support the President and \u201dthat if Nigeria fails, everybody fails. The sub-nationals, like Rivers State, and any other state will also fail.\u201d<\/p>\n\n\n\n
This comes as he called for speedy investigation of suspects arrested for crime and taken through the unimpeded process of legal trials to ensure that they did not eventually get dumped in the correctional centres unduly on the awaiting trial list.<\/p>\n\n\n\n
This, he said, will place more demand on the Nigeria Police Force and the Judiciary to rise to the challenge of ensuring that their institutions truly function effectively towards achieving the desired successes of decongesting correctional centres and dispensing justice.<\/p>\n\n\n\n
Fubara insisted that such an approach will contribute largely to solving the incidences of overcrowded correctional centres with awaiting trial inmates across the country, including the attendant financial burden required for their upkeep.<\/p>\n\n\n\n
The governor gave the charge when he received the House of Representatives Committee on Reformatory Institutions, led by its Chairman, Chinedu Ogah, on a courtesy visit to the Government House in Port Harcourt on Monday.<\/p>\n\n\n\n
This was contained in a statement issued by the Chief Press Secretary to the Governor, Nelson Chukwudi, and sent to newsmen.<\/p>\n\n\n\n
The Governor said: \u201cI know that the State Government, from time to time, I mean, through the Chief Judge, had visited the Correctional Centres, and after evaluation, and I have seen a few letters he has written about what he saw on his visit, and having confirmed, and accessed a few of the inmates, he had granted them either bail or pardon.<\/p>\n\n\n\n
\u201cBut this issue goes back to one major thing: institutions that we call the Police Force and the Judiciary. Most of these issues that we are talking about; overcrowding of the Correctional Centres, might be due to delay in the trial of their cases. That is the truth.<\/p>\n\n\n\n
\u201cThe other aspect is that you arrest somebody wrongfully or whatever, and the process of investigation takes two, three, four years. So, we need to make sure that our institutions are functioning effectively. If they are functioning effectively, I strongly believe that most of these issues of over-crowding of the Correctional Centres won\u2019t be there.\u201d<\/p>\n\n\n\n
Fubara added, \u201cBut, this is where we are, and we will continue to encourage our system to do it better. Maybe, if we had made these complaints earlier, some of the corrections would have been done.<\/p>\n\n\n\n
\u201cSo, now that we are saying it, I believe they are hearing, and they will expedite action to make sure that some of these things are put to check.\u201d<\/p>\n\n\n\n
The governor said his administration is focused on the needs of Rivers people, adding that while addressing those needs, it is also mindful of the importance of properly integrating ex-convicts into the society.<\/p>\n\n\n\n
Fubara, however, advised, \u201cWe also need to ensure that proper evaluations are done to ensure that we are not endangering our people.<\/p>\n\n\n\n
\u201cIt is not just to say we need to reintegrate them. We also need to do the proper thing to make sure that when they leave the centres, they can fit into society.<\/p>\n\n\n\n
\u201cI think even in the Correctional Centres, they have vocational activities there. Some of them have the opportunity of running academic programmes online.<\/p>\n\n\n\n
\u201cSo, first of all, they should also show this commitment that they want to change, that they want to be part of the system, coming back to the society, and we as a government, will do all we can make it possible.\u201d<\/p>\n\n\n\n
The Governor expressed delight that issues of the correctional centres attracted the attention of the National Assembly, which means that the government is alive and up to its responsibility.<\/p>\n\n\n\n
Fubara also thanked members of the committee for the visit, and acknowledged the modest achievements of his administration so far, particularly in ensuring a reduction of crime in the State compared to what was inherited.<\/p>\n\n\n\n
He said, \u201cIt goes to say just one thing: we know what the problem is, and we are tackling the problem from the root cause.<\/p>\n\n\n\n
\u201cWhat is the problem associated with crime: unemployment, insecurity. This insecurity is economic insecurity and that is what causes crime.<\/p>\n\n\n\n
\u201cIt is a global issue, though but as a State, we will continue to do our best to see to it that our youths are engaged meaningfully, and are discouraged from associating with anything that will bring a bad image to our State.\u201d<\/p>\n\n\n\n
Fubara explained that his administration has continued to support the Controller of the Port Harcourt Correctional Centre with monthly subvention to assist in the day-to-day running of his office as well as other levels of assistance.<\/p>\n\n\n\n
The Governor noted that most of the correctional centres were built over 80 years ago when nobody envisaged that the number of inmates would increase astronomically as witnessed now.<\/p>\n\n\n\n
But he said that what the Federal Government is doing in the state by building new facilities to house inmates and the plan to relocate correctional centres in the city centre will be something to support.<\/p>\n\n\n\n
\u201cI will mandate the Secretary to the State Government to go and access what is going on there, and liaise with the appropriate authorities and see where we can come in to complete it so that this issue of having these Correctional Centres in the centre of the city which is not a good idea, at least, we can solve that problem once and for all.\u201d<\/p>\n\n\n\n
Fubara charged the committee to play its part effectively by making the requisite laws and securing the legislative backing that can eventually correct the mistakes that have been noticed.<\/p>\n\n\n\n
He explained, \u201cIt shouldn\u2019t be something we just put in our Constitution. It should be given all the strength of implementation or execution of those laws. So, you should help us do it right, and we will take it from there on the part of execution which is the duty of the Executive.\u201d<\/p>\n\n\n\n
Speaking further, Fubara said: \u201cLet me thank you, more especially for coming to see us. Let me on behalf of the Government and the good people of Rivers State, assure you that you have not made any mistake.<\/p>\n\n\n\n
\u201cYou have done the right thing, and you have taken the right step. I believe that by the end of your visit, you are going to come up with recommendations that are going to help us solve some of these problems.<\/p>\n\n\n\n
\u201cBut in all, we all have to put hands together to support this administration of our President. Nigeria is a very big and complex society; with different ideologies, multi-cultural beliefs, and social differences, but we are all here as one because of the flag of Nigeria.<\/p>\n\n\n\n
\u201cSo, what we need to do is to ensure that we work as one, on one common interest to make sure that we sustain this entity called Nigeria. If Nigeria succeeds, we all succeed. And Nigeria will only succeed when we support the President.<\/p>\n\n\n\n
\u201cIf Nigeria fails, everybody fails. The sub-nationals, like Rivers State, and any other state will also fail. You can\u2019t succeed just as a state. Your success must be extended to the centre,\u201d he added.<\/p>\n\n\n\n
In his speech, the leader of the delegation and Chairman, House of Representatives Committee on Reformatory Institutions, Hon. Chinedu Ogah, explained that they are in Rivers State to oversight all the Correctional Institutions domiciled in the State.<\/p>\n\n\n\n
Ogah noted the gross neglect that the Correctional Service has suffered in the country, particularly in the aspect of security.<\/p>\n\n\n\n
He listed four Correctional Service centres in Rivers State including Port Harcourt, Ahoada, Degema and the Farm Settlement; with each housing about 4,000 inmates, adding that 91 per cent of such inmates are awaiting trial.<\/p>\n\n\n\n
Ogah said, \u201cAnd most of these people are not yet convicted, and some of them are not being justified: what the case is all about. The major issue, the negligence aspect of the security, is that they don\u2019t care how to reintegrate, reform, and bring them back into society so they cannot indulge in crime.<\/p>\n\n\n\n
\u201cIf we look into it, we find out that, that is the only way we can ensure the security of lives and property in this country, by making sure that those we feel have already committed crimes are reformed and reintegrated into the society by giving them skills and opportunity so that they can have something to feed, and not go back to crime.<\/p>\n\n\n\n
\u201cAnd Your Excellency, from our records, we found out that since you assumed office, there has been a reduction in crime rate in Rivers State because of what you have done by empowering the youths in all the local governments economically, in all the wards by giving them a sense of belonging too. We have to commend you for that.\u201d<\/p>\n\n\n\n
Ogah said further: \u201cRivers State is one of the places where the construction of 3,000-capacity centres is ongoing in Bori, and this construction has gotten up to 60 per cent.<\/p>\n\n\n\n
\u201cBut Your Excellency, you know the truth: Federal Government cannot do it alone, and as a Governor who knows the problems of the people, that is our essence of coming to you to partner with the Committee on Reformatory Institutions to know what we can do together to relocate that correctional service centre.\u201d<\/p>\n\n\n\n
He, therefore, solicited the support of the State Government to make the initiative of the Federal Government succeed for the peace and development of Rivers State and Nigeria.<\/p>\n","protected":false},"excerpt":{"rendered":"
Rivers State Governor, Siminalayi Fubara, has said that Nigeria will only succeed when the citizens support the President and \u201dthat if Nigeria fails, everybody fails. The sub-nationals, like Rivers State, and any other state will also fail.\u201d This comes as he called for speedy investigation of suspects arrested for crime and taken through the unimpeded […]<\/p>\n","protected":false},"author":3,"featured_media":37746,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[128],"class_list":{"0":"post-39149","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-nigeria-news","8":"tag-nigeria"},"_links":{"self":[{"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/posts\/39149"}],"collection":[{"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/comments?post=39149"}],"version-history":[{"count":1,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/posts\/39149\/revisions"}],"predecessor-version":[{"id":39151,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/posts\/39149\/revisions\/39151"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/media\/37746"}],"wp:attachment":[{"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/media?parent=39149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/categories?post=39149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/tags?post=39149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}