Boa tarde,
Hoje pela tarde estava a estudar e nos interva-los dos estudos estava dando uma olhada nos plugins para o wordpress. Achei um interessante. O Quick-flickr-widget. Um widget para exibir fotos do flickr no seu site. Você pode configura-lo de diversas maneiras, para pegar as ultimas fotos, para utilizar tags, para pegar fotos random. Está ultima, eu não me simpatizei muito, já que ela utiliza de um feed disponivel pelo flickr com suas ultimas atualizações. Fiquei um tempo pensando sobre como melhorar este recurso e tive uma idéia ao me lembrar de outro widget. Eu poderia pegar todas as tags, embaralhar as mesmas e escolher uma aleatoriamente e utilizar esta tag como parametro para uma consulta randomica. Fazendo um random de TAG e em seguida das fotos que possuiam a tag.
Após algumas pesquisas na API do flickr e em outros widgets descobri como poderia pegar as tags. Criei uma função que retornava uma tag aleatoria para o usuario X.
Implementei na mão isso dentro do código do quick flickr widget porém ainda não estava satisfeito, queria compartilhar isso com outros usuarios que também não gostavam da randomização do widget. Então estudei um pouco o codigo do quick flickr widget e fiz algumas modificações, adicionei uma nova checkbox para selecionar se deseja ou não a randomização por tag, adicionei um if e algumas outras linhas necessarias para salvar/pegar está nova opção e pronto.
Testei meio que por cima, as combinações de opções, ativar e desativar e está funcionando. Entrei em contato com o autor para ver se ele tem interesse de disponibilizar essas funções no widget dele. Bom, mesmo que ele não queira, você pode baixar o widget com as modificações aqui.
Então é isso. Quick-Flickr-Widget com randomização por tags.
Até mais,
Matheus Bratfisch
PS: Deixei a versão do mesmo como 1.2.7.2 provisoriamente, já que eu realizei as atualizações em duas etapas adicionei o .2 na versão atual do widget. Provavelmente se o autor for utilizar essa mudança a versão será outra.
موقع 888 للمراهنات https://888starz-eg2.org/
During my exploration of clean and positive themed web platforms, I found a site that feels organized and user friendly, and New Beginnings light portal delivers smooth browsing overall – Pages load efficiently, navigation is intuitive, and users can access content easily without distractions or cluttered visuals.
Speaking carefully because I do not want to overstate things this site is genuinely above average across multiple measurements, and a stop at seolift continued the above average performance, the calibration of judgement against potential overstatement is something I take seriously and this site clears the higher bar even after that calibration applies.
aviator multiplier game aviator multiplier game
1win cum joc aviator https://1win5757.help
mostbet vklad google pay https://mostbet87124.help/
mostbet din app store mostbet din app store
mostbet apk Moldova http://mostbet18305.help/
1win retragere USDT 1win retragere USDT
cum depun cu Neteller pe 1win http://1win5757.help/
Hey there just wanted to give you a quick heads up and let you know a few of the images aren’t loading properly. I’m not sure why but I think its a linking issue. I’ve tried it in two different browsers and both show the same results.
cialis pills sexual xxx porn pills
mostbet setari surse necunoscute android http://mostbet18305.help/
aviator ipad app download http://www.aviator50638.help
mostbet az aviator mostbet01859.help
Now noticing the post fit a particular gap in my reading without my having articulated the gap before, and a look at thefashionedit extended that gap filling effect, content that meets needs I had not consciously formulated is content with reader insight and this site has clearly developed that anticipatory editorial sense across many pieces.