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.
Вывод из запоя на дому в Екатеринбурге: срочная помощь, детоксикация и восстановление под контролем специалистов в наркологической клинике «Детокс»
Узнать больше – вывод из запоя на дому анонимно в екатеринбурге
If you are working toward goals, exploring success direction hub – a guided development platform helps users stay organized, build momentum, and achieve steady progress through structured planning and consistent effort.
Этот текст призван помочь читателю расширить кругозор и получить практические знания. Мы используем простой язык, наглядные примеры и структурированное изложение, чтобы сделать обучение максимально эффективным и увлекательным.
Это стоит прочитать полностью – прокапаться от алкоголя в самарае
играть онлайн в
3 Clown Monty игровые автоматы и рейтинг казино все на одном сайте
Rather than learning in isolation, many people prefer using collaborative learning hub – a space designed to connect individuals, encourage shared growth, and foster meaningful conversations that lead to real skill development over time.
Those looking to build stronger saving habits often benefit from consistent reminders and simple structured advice about managing personal expenses budget friendly insights corner – It provides straightforward money saving tips that make it easier to adjust spending habits without feeling overwhelmed or restricted
While learning how markets move and where reversals happen, I inserted visit forex success guide into my notes – it helped me finally understand support and resistance levels in a simple and practical way.
Digital consumers increasingly rely on curated websites that simplify deal searching and provide structured promotional listings Offer Tracker Central – A helpful online environment where users can efficiently track discounts, compare offers, and take advantage of seasonal savings
Digital platforms that appear new and unconventional often generate curiosity among users who enjoy exploring fresh online ideas progress tracker page – this sense of novelty encourages deeper engagement and ongoing exploration of evolving digital spaces
Many learners rely on tools like education online hub – a platform offering simple lessons, helping users study effectively through clear explanations and organized learning paths that support long-term skill development and understanding.
In a fast-paced world filled with constant distractions, finding simple strategies for emotional wellbeing becomes increasingly valuable, and platforms such as wellbeing-and-smiles offer gentle reminders that happiness is often built through consistent, small, and intentional lifestyle choices rather than major changes.
While studying group collaboration patterns and strategic teamwork methods I found an interesting reference in the middle of my notes Group Strategy Notebook – I wrote down a few practical ideas about improving planning consistency across different team members working on shared objectives.