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.
Online shoppers often value websites that reduce complexity and present products in a logical structure for faster navigation and better decision making Clean Speed Goods Zone – This version offers a clutter free environment where items are easy to find and browse efficiently
Users who enjoy minimalistic designs often prefer websites that focus on speed and simplicity without unnecessary visual clutter during browsing sessions Minimal Fast Goods Zone – The interface keeps things simple while improving browsing speed and efficiency
Users browsing digital marketplaces frequently enjoy platforms that break traditional design patterns by combining unexpected natural themes into a cohesive shopping experience frostdune goods showcase – This reflects a creative brand concept where curated lifestyle products are presented with a balanced mix of frost and desert dune inspiration for a unique visual appeal.
Users who enjoy modern shopping experiences often choose well organized platforms like Smart Trend Store Ultimate Hub – featuring clean layout design, intuitive navigation systems, and regularly updated trend collections that enhance usability and make online shopping faster and more convenient overall
Online shoppers who enjoy colorful and energetic browsing experiences often look for platforms that highlight neon inspired products and exciting deals in a fun and engaging way Neon Corner Explorer Hub making discovery more enjoyable – The platform is often appreciated for its vibrant design style and simple navigation that helps users easily explore neon themed offers without confusion
Online shoppers often highlight how a good variety of products can make browsing more engaging and enjoyable over time, particularly on copperpetal shopping portal – the experience was pleasant since items seemed interesting and left a positive impression that made the site feel worth checking again in future browsing sessions.
As I navigated across several online pages, I encountered see crown site and experienced smooth navigation along with clear content, resulting in a pleasant and well structured browsing experience throughout.
While going through a few online stores, I encountered explore craft selection and it looked well organized and inviting – The items feel authentic and thoughtfully arranged, making it enjoyable to browse without any distractions.
I was exploring different marketplaces when I found have a look here – Everything seems neatly arranged, which makes shopping online easier and more enjoyable with a clear and structured browsing experience.
Many households depend on online platforms that make repeat shopping faster and more predictable, and this is reflected in Everyday Quick Cart which positions itself as a practical solution while the service description focuses on helping users streamline routine purchases and enjoy a smooth digital shopping experience
I was browsing randomly when I found a site that felt clean and artistic with a gentle structure and easy to follow design silver petal online hub – Beautiful collection here worth exploring for daily home inspiration today, offering calming ideas for home decoration.
While scrolling through different pages I came across a store that felt elegant and soft with a visually relaxing and organized layout silver petal selection – Beautiful collection here worth exploring for daily home inspiration today, offering inspiration for warm and inviting home spaces.
During my usual browsing routine, I encountered check store page and it immediately felt easy to use – The store design feels modern and quite comfortable to navigate, making browsing simple and visually relaxing.
Online shoppers often value platforms where products are presented in a way that encourages curiosity and repeated exploration over time, as seen on petal copper retail hub – browsing felt enjoyable because the items looked interesting and made the site feel worth revisiting for further exploration.
Users who spend time on e-commerce platforms frequently appreciate when items are presented in a way that sparks interest and encourages return visits, as seen on petal copper marketplace – browsing felt satisfying because the product range appeared appealing and worth revisiting later for a closer look at different categories and offerings.
Digital shoppers often appreciate platforms that combine style with simplicity, and Stylish Buy Corner Product Hub – features clean layout structure, fast browsing performance, and curated fashion selections that enhance user satisfaction and make online shopping smoother and more enjoyable today.
Digital consumers frequently choose platforms that highlight stylish products clearly, and Stylish Corner Fashion Flow Hub – provides organized categories, clean layout design, and intuitive browsing tools that help users discover fashionable items efficiently and improve overall shopping experience significantly today.
While scrolling through different pages I came across a store that felt balanced and calm with a structured layout and organized product display twilight oak selection – Store has calm aesthetic with easy browsing and clean layout, making discovery of items easy and natural.