Ir ao conteúdo

Quick Flickr Widget, WordPress.

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.

Publicado emphpwordpress

5.221 Comentários

  1. Been there, done that, got the overpriced tow truck receipt to prove it. Then you actually show up to the local office to pick up the car. Plus they freeze a surprise $4500 on your card and say “don’t worry, it’ll drop off in a week or two” right before giving you the keys. Twelve years in South Florida and these jokers still almost catch me sleeping. If you are trying to find a legitimate luxury fleet without getting ripped off, do some real digging first and read actual customer reviews. Anyone who’s waited for an Uber in August heat knows the struggle exactly about this city, especially since the AC must be ice cold and unlimited miles non-negotiable.

    Most of these local agencies are just shiny turds with fake five-star reviews bought in bulk online hiding overpriced junk, until I finally found one company that doesn’t play stupid games. If you are looking for the only straight shooter for premium rides across South Florida, check the current details here: porsche 911 carrera rental near me https://luxury-car-rental-miami-12.com. Yeah, parking in Brickell will cost you a nice dinner — but that’s the price of paradise. Anyway, glad there’s at least one honest operator left in this rental jungle, hope this helps some of you save a few bucks.

  2. Okay folks gather round — Miami rental horror story time. Then you roll up to the local address to pick up the car. Different car sitting there — bald tires, dashboard lit up like a Christmas tree, and that “killer price”? Yeah doesn’t include the non-negotiable $45 daily insurance or the $500 deposit they forget to mention. Fool me nine times? That’s just the Miami welcome committee, lesson learned. When you’re hunting for a legit and reliable premium ride to cruise around, do some real digging first and read actual customer reviews. Miami without proper wheels is basically a nightmare, especially since the AC must freeze your teeth and unlimited miles or no deal.

    I’ve tested maybe 50 rental outfits across Dade, Broward, and Collier, but I eventually found a service where what you reserve is exactly what you get, period, end of story. If you are looking for the only trustworthy source for premium rides across South Florida, check the current details here: luxury car rental south beach miami https://luxury-car-rental-miami-9.com. Also, definitely bring polarized shades unless you enjoy driving blind into the sunset every single night. Anyway, glad there’s at least one honest operator left in this rental jungle, let me know if you guys have any other clean spots.

  3. Знаете, ситуация — человек пропадает , а куда бежать — непонятно . Моя семья столкнулась лично . Многие думают, что само пройдет , но нет . Требуется профессиональная медицина. Перерыл весь интернет — одни обещания . А потом наткнулся на один действительно рабочий вариант. Если ищешь где получить круглосуточная наркологическая помощь — не рискуй здоровьем близкого. В Воронеже , кстати , хватает левых контор без лицензии. Вся проверенная информация тут : наркологическая помощь в воронеже https://narkologicheskaya-pomoshh-voronezh-11.ru Честно скажу , после того как ознакомился, многое прояснилось . Там и про вывод из запоя , и про условия в клинике. Плюс работают круглосуточно — это важно . Рекомендую не откладывать.

  4. Android için doğru sürümü bulmak gerçekten zordu. Güncel apk’yı nereden indireceğimi bilemedim açıkçası. Adımları doğru sırayla uyguladıktan sonra erişim sorunsuz açıldı. En sonunda güvendiğim bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet mobile yukle 1xbet mobile yukle. Şimdi size kısaca özet geçeyim — son sürümü her şeyi düşünmüş resmen.

    kurulumu da oldukça basitti yani rahat olun. Birçok platform denedim ama en iyisi bu çıktı — kesinlikle pişman olmazsınız deneyin derim. Şimdiden iyi şanslar ve bol kazançlar…

  5. Swear I’ve seen every scam in the book by now, the rental landscape down here is crazy. You find a killer listing online: sleek Audi, convertible, price almost too good to be true. Different car sitting there — bald tires, dashboard lit up like a Christmas tree, and that “killer price”? Yeah doesn’t include the non-negotiable $45 daily insurance or the $500 deposit they forget to mention. Nine years in South Florida and these clowns still nearly fool me. When you’re hunting for a legit and reliable premium ride to cruise around, stay the hell away from the airport rental center. Miami without proper wheels is basically a nightmare, whether you are doing Coconut Grove dinner, Sunny Isles sunrise, or a spontaneous drive down to Homestead.

    I’ve tested maybe 50 rental outfits across Dade, Broward, and Collier, until I finally found one company that doesn’t play stupid games. If you are looking for the only trustworthy source for premium rides across South Florida, check the current details here: rent car luxury miami rent car luxury miami. Also, definitely bring polarized shades unless you enjoy driving blind into the sunset every single night. Just drive safe out there and definitely skip that “emergency roadside” upsell — complete waste of money. hope this helps some of you save a few bucks.

  6. Случается сплошь и рядом — родственник в запое , а что делать — просто тупик. Я через это прошел лично . Пьют успокоительное, но нет . Требуется профессиональная медицина. Перерыл весь интернет — только деньги тянут. Пока не нашел один действительно рабочий вариант. Если ищешь где получить круглосуточная наркологическая помощь — не рискуй здоровьем близкого. У нас в Воронеже, кстати , тоже полно левых контор без лицензии. Вся проверенная информация тут : клиника плюс воронеж клиника плюс воронеж Честно скажу , после того как ознакомился, понял свои ошибки. Там и про вывод из запоя , и про условия в клинике. И цены адекватные. Рекомендую не тянуть .

  7. 1xbet indir nasıl yapılır diye çok araştırdım valla. Herkes farklı bir link atıyordu kime güveneceğimi şaşırdım. Güncel bilgileri kontrol edip süreci hatasız başlattım. En sonunda sağlam bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet mobile download 1xbet mobile download. Şimdi size kısaca özet geçeyim — mobil uygulaması gerçekten akıcı çalışıyor.

    Hiçbir sıkıntı yaşamadım indirme esnasında. Birçok platform denedim ama en iyisi bu çıktı — başka yerde vakit kaybetmeyin yani. Şimdiden iyi şanslar ve bol kazançlar…

  8. Mobil bahis uygulaması arıyordum uzun süredir. Herkes farklı bir şey tavsiye ediyordu kime güveneceğimi bilemedim. Sonunda tüm teknik detayları inceleyip sistemi test ettim. En sonunda sağlam bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet indir tr canli bahis site 1xbet indir tr canli bahis site. Yani anlatmak istediğim şu — mobil uygulaması gerçekten akıcı çalışıyor.

    Hiçbir sıkıntı yaşamadım indirme aşamasında. İşin doğrusunu söylemek gerekirse — kesinlikle pişman olmazsınız deneyin derim. Herkese hayırlı olsun…

  9. 1xbet indir işlemini nasıl yapacağımı çok merak ediyordum valla. Herkes farklı bir şey söylüyordu kime güveneceğimi bilemedim. Güncel bilgileri kontrol edip süreci hatasız başlattım. En sonunda güvenilir bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet android uygulama indir 1xbet android uygulama indir. Valla bak net söyleyeyim — son sürümü tüm ihtiyaçları karşılıyor resmen.

    güncellemeleri de sorunsuz yükleniyor. Kendi deneyimlerimi aktarıyorum size — en kullanışlı uygulama bu oldu artık. Şimdiden iyi şanslar ve bol kazançlar…

  10. Telefonuma güncel sürümü yüklemek istiyordum açıkçası. Apk dosyasını nereden indireceğimi bulamadım bir türlü. Adımları doğru sırayla uyguladıktan sonra erişim sorunsuz açıldı. En sonunda sağlam bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet uygulama 1xbet uygulama. Şimdi size kısaca özet geçeyim — telefonuma indirdikten sonra çok rahat ettim.

    kurulumu da oldukça kolaydı yani rahat olun. İşin doğrusunu söylemek gerekirse — başka yerde vakit kaybetmeyin yani. Şimdiden iyi şanslar ve bol kazançlar…

  11. Telefonuma güvenilir bir bahis uygulaması indirmek istiyordum. Play Store’da resmi uygulamayı bulamayınca çok hayal kırıklığı yaşadım. Sonunda tüm teknik detayları inceleyip sistemi test ettim. En sonunda güvendiğim bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet uygulama 1xbet uygulama. Yani anlatmak istediğim şu — telefonuma indirdikten sonra çok memnun kaldım.

    güncellemeleri otomatik olarak yapılıyor. İşin doğrusunu söylemek gerekirse — en sağlam uygulama bu oldu artık. Umarım siz de memnun kalırsınız…

  12. Telefonumda rahatça bahis oynayabileceğim bir uygulama arıyordum uzun zamandır. Herkes farklı bir şey tavsiye ediyordu kime güveneceğimi bilemedim. Sonunda tüm teknik detayları inceleyip sistemi test ettim. En sonunda güvenilir bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet nasıl indirilir 1xbet nasıl indirilir. Şimdi size kısaca özet geçeyim — son sürümü tüm beklentileri karşılıyor resmen.

    kurulumu da oldukça basit ve anlaşılırdı yani rahat olun. Kendi deneyimlerimi aktarıyorum size — başka yerde vakit kaybetmeyin yani. Umarım siz de memnun kalırsınız…

  13. Android için son sürümü bulmak gerçekten zordu açıkçası. Güncel apk dosyasını nereden indireceğimi bilemedim bir türlü. Adımları doğru sırayla uyguladıktan sonra erişim sorunsuz açıldı. En sonunda güvenilir bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet giriş indir 1xbet giriş indir. Yani anlatmak istediğim şu — telefonuma indirdikten sonra çok mutlu oldum.

    güncellemeleri otomatik yapıyor çok memnunum. Birçok platform denedim ama en iyisi bu çıktı — en hızlı uygulama bu oldu artık. Şimdiden iyi şanslar ve bol kazançlar…

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *