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

3.860 Comentários

  1. Okay folks gather round — another Miami rental horror story coming at you. You see this killer deal online — brand new Mercedes, unlimited miles, price that makes you want to book immediately. Plus they put a $5000 hold on your card and tell you “it’s just standard procedure”. Thirteen years in South Florida and these clowns still almost get me. luxury car rental miami florida. anyone who’s taken the Metro here knows the struggle is real. leather seats that won’t fuse to your skin in the August heat. most are polished garbage with fake five-star reviews bought from some shady service. no games, no bait-and-switch, no hidden fees buried on page 4 of the contract. Here’s the only straight shooter for premium rides across South Florida
    mercedes car rental near me https://luxury-car-rental-miami-13.com Yeah parking in Wynwood will cost you a nice dinner — but that’s just the Miami tax. drive safe and definitely skip that “tire protection” upsell — pure robbery.

  2. Alright, last one I swear — but someone’s gotta warn people about this Miami rental mess. You spot this killer offer online — brand new Porsche, zero excess, price that screams “book me”. Different car waiting — dents everywhere, smells like cheap air freshener covering something worse, and that “killer price”? Doesn’t include the mandatory $55 daily toll pass or the $450 “convenience fee” they invent at checkout. Twenty years in South Florida and these clowns still almost get me. luxury car rental in miami. Miami without real wheels is basically a disaster. South Beach dinner, Design District shopping, or a spontaneous Keys adventure — AC must be arctic and unlimited miles non-negotiable. most are shiny garbage with fake five-star reviews from God knows where. no games, no bait-and-switch, no hidden fees on page 8. Here’s the only straight shooter for premium rides across South Florida
    car rental miami florida https://luxury-car-rental-miami-20.com also bring polarized shades unless you enjoy driving into the sun like a zombie. drive safe and absolutely skip that “windshield protection” upsell — pure profit for them, zero for you.

  3. Swear this city never fails to surprise me with new ways to get ripped off. Then you actually drive to the rental lot. Completely different car sitting there — scratches everywhere, smells like someone hotboxed it for a week, and that “killer price”? Doesn’t include the mandatory $45 daily insurance or the $400 “destination fee” they add at the very end. Fool me thirteen times? That’s just living in the 305. miami car rental luxury — stay far away from the airport rental counters. anyone who’s taken the Metro here knows the struggle is real. South Beach night out, Design District shopping spree, or a spontaneous Keys trip — AC must be arctic cold and unlimited miles non-negotiable. most are polished garbage with fake five-star reviews bought from some shady service. Finally found one outfit that actually delivers what’s promised. Here’s the only straight shooter for premium rides across South Florida
    miami beach fl car rentals https://luxury-car-rental-miami-13.com Yeah parking in Wynwood will cost you a nice dinner — but that’s just the Miami tax. drive safe and definitely skip that “tire protection” upsell — pure robbery.

  4. Кстати, недавно наткнулся на обсуждение реальных кейсов. Сам уже не первый месяц ищу нормальный способ отправить деньги, без лишних проблем и комиссий. В общем, если вас тоже интересуют детали — ознакомьтесь тут. Там расписаны основные нюансы по переводу денег за границу онлайн: международные переводы международные переводы Кстати, имейте в виду, что без прозрачных комиссий любые трансграничные переводы превращаются в сплошной геморрой. Ещё такой момент — всегда смотрите несколько площадок, прежде чем отправлять.

  5. Let me give it to you straight — renting a decent car in Miami is way harder than it should be. You see this amazing deal online — shiny Audi, unlimited miles, price that makes you want to book right now. Totally different car waiting — scratches everywhere, AC blowing warm, and that “amazing price”? Doesn’t include the mandatory $50 daily insurance or the $400 “service fee” they add at the counter. Nineteen years in South Florida and these tricks still surprise me. miami luxury car rental. anyone who’s taken the bus here knows what I mean. leather seats that won’t melt your skin in August. I’ve tried maybe 100 rental companies across Dade and Broward. Finally found one outfit that actually delivers. Here’s the only honest source for premium rides across South Florida
    luxury auto rental luxury auto rental also bring quality shades unless you like driving into the sun. Anyway glad there’s at least one straight shooter left.

  6. Кстати, недавно наткнулся на обсуждение актуальной темы. Сам уже не первый месяц ищу нормальный способ совершить платеж, без лишних проблем и комиссий. В общем, если вас тоже интересуют детали — посмотрите тут. Там расписаны основные нюансы по переводу денег за границу онлайн: перевод средств за границу https://mezhdunarodnye-platezhi-lor.ru И да, учтите, что без нормального обменного курса любые трансграничные переводы превращаются в сплошной геморрой. Ещё такой момент — лучше перепроверять несколько вариантов, прежде чем платить.

  7. I’ve paid my dues so you don’t have to. Then you actually go to pick up the car. Different car waiting — dents everywhere, smells like cheap air freshener covering something worse, and that “killer price”? Doesn’t include the mandatory $55 daily toll pass or the $450 “convenience fee” they invent at checkout. Twenty years in South Florida and these clowns still almost get me. luxury car for rent. Miami without real wheels is basically a disaster. leather seats that won’t weld to your legs in July. most are shiny garbage with fake five-star reviews from God knows where. Finally found one outfit that actually keeps its word. prices change hourly so don’t wait around:
    mercedes g wagon rental near me mercedes g wagon rental near me also bring polarized shades unless you enjoy driving into the sun like a zombie. drive safe and absolutely skip that “windshield protection” upsell — pure profit for them, zero for you.

  8. Alright, last one I swear — but someone’s gotta warn people about this Miami rental mess. You spot this killer offer online — brand new Porsche, zero excess, price that screams “book me”. Plus they freeze $5500 on your card and say “it’ll drop off in two weeks”. Twenty years in South Florida and these clowns still almost get me. miami car rental luxury — run far from the airport counters. anyone who’s tried public transport here knows I’m not joking. leather seats that won’t weld to your legs in July. I’ve tested so many rental companies across Dade, Broward, and Palm Beach. no games, no bait-and-switch, no hidden fees on page 8. prices change hourly so don’t wait around:
    car rental miami beach florida car rental miami beach florida also bring polarized shades unless you enjoy driving into the sun like a zombie. Anyway glad there’s at least one honest operator left in this town.

  9. Swear I’ve seen every scam in the book by now. You find a killer listing online: sleek Audi, convertible, price almost too good to be true. Plus a $3000 hold on your credit card for two weeks. Nine years in South Florida and these clowns still nearly fool me. miami car rental luxury — stay the hell away from the airport rental center. Miami without proper wheels is basically a nightmare. leather seats that don’t glue to your skin in August. most are polished turds with fake five-star reviews. what you reserve is what you get, period, end of story. rates change daily so check before the holiday crowd hits:
    rental luxury car miami rental luxury car miami also bring polarized shades unless you enjoy driving blind into the sunset every night. drive safe and definitely skip that “emergency roadside” upsell — complete waste of money.

  10. Кстати, недавно наткнулся на обсуждение реальных кейсов. Сам уже не первый месяц ищу нормальный способ совершить платеж, без лишних проблем и комиссий. В общем, если вас тоже волнует эта тема — узнайте подробности тут. Вся необходимая информация по переводу за границу онлайн: онлайн перевод денег за границу https://mezhdunarodnye-platezhi-lor.ru И да, обратите внимание, что без адекватных тарифов любые трансграничные переводы превращаются в головную боль. Добавлю по опыту — всегда смотрите несколько площадок, прежде чем переводить.

  11. Кстати, недавно наткнулся на обсуждение текущей ситуации с переводами. Сам уже давно ищу нормальный способ совершить платеж, без лишних проблем и комиссий. В общем, если вас тоже волнует эта тема — взгляните тут. Детальный разбор ситуации по переводу за границу онлайн: оплата за границу через агента оплата за границу через агента И да, учтите, что без прозрачных комиссий любые трансграничные переводы превращаются в лотерею. Ну и напоследок — стоит сравнивать несколько площадок, прежде чем платить.

  12. Решил проблему только когда наткнулся — как выбрать реально работающий способ для международных платежей. Товарищ скинул ссылку на нормальный разбор: перевод платежей за границу перевод платежей за границу Суть вот в чём — не все способы одинаково прозрачны. Потому что любой очередной международный перевод — это головная боль с отслеживанием статуса. Вот ещё важный момент — до любой операции с валютой обязательно сверьте итоговую сумму. В противном случае легко потерять приличную сумму. Моё мнение — не ленитесь проверять информацию перед любой отправкой.

Deixe um comentário

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