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.
1win freespin 1win71277.help
aviator bonus aktivləşdirmə aviator bonus aktivləşdirmə
где можно сделать тату тату салон
тату салон тату салон питер
Alright, real talk about the Miami rental game — it’s a straight-up jungle out here. You find this amazing deal online: brand new Beamer, unlimited miles, price that makes you smile. Different car waiting — scratches everywhere, smells like an ashtray, and that “amazing price”? Doesn’t include the mandatory $400 cleaning fee or the $30 per day toll pass you can’t waive. Eight years in South Florida and these clowns still almost get me. luxury car rental miami florida. Miami without decent wheels is basically a hostage situation. South of Fifth brunch, Design District shopping, or a spontaneous Keys trip — AC must be arctic cold and unlimited miles non-negotiable. I’ve run through maybe 45 rental companies across Dade, Broward, and Monroe. what you book is what shows up, no surprises, no fine print nightmares. Here’s the only honest source for premium wheels across South Florida
luxury car for rent luxury car for rent Yeah parking in South Beach will cost you a nice bottle of wine — but that’s the Miami tax. Anyway glad there’s at least one straight operator left in this rental circus.
1win дастгирӣ барои ios 1win дастгирӣ барои ios
1win верификатсия дар Тоҷикистон http://1win52867.help
Alright let me drop some truth about the Miami rental scene — it’s an absolute minefield. You spot a tempting offer online: brand new Porsche, unlimited miles, price that makes you click instantly. Plus they lock up $3500 on your card for who knows how long. Fool me ten times? That’s just the 305 experience. luxury car rental miami fl. anyone who’s taken public transport here knows the struggle is real. South Beach night out, Bal Harbour shopping spree, or a spontaneous Keys adventure — AC must be ice cold and unlimited miles non-negotiable. I’ve run through maybe 55 rental companies across Dade, Broward, and Palm Beach. Finally found one outfit that actually delivers what’s promised. prices change by the hour so don’t wait around:
rent porsche miami https://luxury-car-rental-miami-10.com also bring quality shades unless you enjoy driving into the sun like a vampire. Anyway glad there’s at least one honest rental joint left in this town.
aviator balans aviator balans