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&&1The Chief of Defence Staff, General Christopher Musa who blamed ongoing illegal mining activities in the country on weak regulations in the sector and called for strengthening of the extant regulatory framework.<\/p>\n\n\n\n
General Musa made the call Monday at House of Representatives hearing on illegal mining. General Musa who was represented by the Director Operations Defence headquarters, Air Vice Marshall Nnemeka Ilo, said both local communities and foreigners are involved illegal mining in the country. He stressed the need for synergy in the bid to win the war against illegal mining in the country.<\/p>\n\n\n\n
He said: \u201cThe Leader of the House made mention of something about banning mining for like a year. It is very key we do that. Ban mining all across for one year. I know the country is going to somehow feel the effects in terms of revenue, but we need to go a little off the line to ensure that we get things right, so that we can decisively deal with those involved in this illegal mining.<\/p>\n\n\n\n
\u201cThen one thing we notice also is that, whether it\u2019s coincidence or what, we can\u2019t say, but we notice that insecurity thrives where this illegal mining is happening. Someone once said that the issue of banditry and terrorism is like a smokescreen to stop the governments and the military from dealing decisively with these people. I can\u2019t for sure ascertain that fact, but I know fully well that there is a correlation between insecurity and illegal mining.<\/p>\n\n\n\n
\u201cOn the issue of involvement of foreigners, we have foreigners involved in this illegal mining. The involvement of the elites in it, we can\u2019t tell, but we know that most of the time when we catch these foreigners, they will tell us that they have connections. I don\u2019t want to say some things, but sometimes you hand these people over, and the next thing you see, they are released.<\/p>\n\n\n\n
\u201cWe have as far as people from Burkina Faso coming to mine in Nigeria. So the strength of our borders, too, is a factor. Why I\u2019m saying all this is that there\u2019s need for the government to equip properly those involved to checkmate most of this illegal mining. There is need for government to equip them properly and also give them the marching order. It\u2019s one thing to say and another thing to see that the government is really committed to dealing with people.<\/p>\n\n\n\n
\u201cAnybody caught in this illegal mining must be dealt with decisively and examples should be made for others to know publicly that this is what the government is doing to ensure that we tackle that area.\u201d<\/p>\n\n\n\n
The CDS added; \u201cSo what is the way forward? The way forward from our own view is that we have to strengthen the regulatory framework for these mining activities. And also empowers the agencies involved in checking mining activities for them to do their work. We could go into this banning of mining for a year or two and then probably get the acts right.<\/p>\n\n\n\n
\u201cAnybody seen committing illegal mining will be dealt with decisively. Engaging the international community. In 2011 in Liberia, this same issue we are facing in Nigeria was obvious in Liberia. The international community was approached after they have seen the atrocities of things done. And that\u2019s when the issue of blood diamond came up. What did they do? They banned the Liberia Diamond in the international community.\u201d<\/p>\n\n\n\n
On his the Chief of Army Staff (COAS), Lieutenant General Taoreed Lagbaja Lagbaja said that no fewer than 387 individuals engaged in illegal mining activities were arrested by soldiers between January and July 2024.<\/p>\n\n\n\n
Lagbaja said Nigerian Army has so far conducted a wide range of operations across all the geopolitical zones of the country.<\/p>\n\n\n\n
General Lagbaja stated this through the Deputy Director Operations, Army headquarters, Colonel Tajudeen Lamidi who represented him at the hearing. He said: \u201cI think virtually as it is now, the Nigerian Army deployed almost every State of the country, for one of the operations or the other. Because of this, what we do basically is support those agencies that are constitutionally mandated to protect the critical national infrastructure of the country including mining.<\/p>\n\n\n\n
\u201cAnd in doing that in our operations, we have to contend with illegal miners and what we do is after arresting them we hand over to the appropriate agency available in that area. Some of these agencies including Department of State Security Services, the Nigerian Police Force, and the Nigerian Security and Civil Defence Corps.<\/p>\n\n\n\n
\u201cSometimes we do conduct operations together where we go to some of these illegal mining sites together and conduct operations because Nigerian Army cannot prosecute them, we hand them over to those agencies to continue with the prosecution aspect.<\/p>\n\n\n\n
\u201cAs contained in the memo, from December to date, we\u2019ve arrested 387 individuals in connection to illegal mining. We also have vehicles and some of these minerals that were arrested and were handed over as exhibits to the agencies responsible for their prosecution.<\/p>\n\n\n\n
\u201cIn summary I could say from December till date, in Abia we have 10 people arrested, in Ebonyi state we have 12, in Federal Capital Territory and its environs I mean places like Kuje, Gwagwalada, Bwari and co, we\u2019ve arrested 276 individuals while in Osun State we\u2019ve arrested 19. In Oyo particularly in the northern part of Oyo State where they shared boundary with Kwara State, that\u2019s those places that are very close to Old Oyo National Park, we\u2019ve arrested around 55 people, I think they mine consite in particular place with about 17 trucks closed with consite. In Plateau we have 25 while in Zamfara we have 15.\u201d<\/p>\n\n\n\n
He lamented that despite the ban placed on illegal mining activities in Zamfara, the Nigerian Army still arrested people in the State. Meaning that it is still taking place.<\/p>\n\n\n\n
\u201cJust like I said we will still continue to collaborate with the agencies that are constitutionally mandated to check illegal mining. But because we\u2019ve realized that it\u2019s a nexus between insecurity and illegal mining.<\/p>\n\n\n\n
While giving insight into how host communities are involved in the illicit activities, General Lagbaja said: \u201cThe issue of host communities, the AVM talked about it, there\u2019s poverty they are also involved in it and this makes it very very difficult to check illegal mining. It\u2019s not only people coming from outside that are involved, the locals benefit from it.<\/p>\n\n\n\n
\u201cBut the question is what is the role of State, what is the role of Local Government in illegal mining? I think most of the things rest with the federal government while the State and the local government don\u2019t actually have roles to play. I think we need to look for roles for both the State and the Local Government to get involved.<\/p>\n\n\n\n
\u201cWe also discovered, some of the companies, some companies have exploration licences, and not mining licences but what they do, they use one licence to do the two.<\/p>\n\n\n\n
\u201cWe\u2019ve mandated every Nigerian Army formation and unit to continue to support those agencies that are constitutionally mandated to fight illegal mining towards ridden out country from illegal mining and improve the economy.\u201d<\/p>\n","protected":false},"excerpt":{"rendered":"
The Chief of Defence Staff, General Christopher Musa who blamed ongoing illegal mining activities in the country on weak regulations in the sector and called for strengthening of the extant regulatory framework. General Musa made the call Monday at House of Representatives hearing on illegal mining. General Musa who was represented by the Director Operations […]<\/p>\n","protected":false},"author":3,"featured_media":36147,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[7920,2545,10856],"class_list":{"0":"post-39150","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-nigeria-news","8":"tag-cds","9":"tag-chief-of-defence-staff","10":"tag-general-christopher-musa"},"_links":{"self":[{"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/posts\/39150"}],"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=39150"}],"version-history":[{"count":1,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/posts\/39150\/revisions"}],"predecessor-version":[{"id":39152,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/posts\/39150\/revisions\/39152"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/media\/36147"}],"wp:attachment":[{"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/media?parent=39150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/categories?post=39150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sleeknews.com.ng\/wp-json\/wp\/v2\/tags?post=39150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}