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.
People interacting with websites often appreciate when design is minimal yet effective, helping them focus on content rather than being distracted by unnecessary visual elements SummitMedia UX Hub – SummitMedia provides a clean and engaging interface where users can browse easily, with a layout that feels organized, smooth, and visually appealing throughout the experience.
Users comparing digital websites often prioritize simplicity, speed, and clear navigation that helps them access information quickly without unnecessary distractions or complexity SummitMedia Navigation Point – SummitMedia delivers a smooth browsing experience with a clean layout that makes exploring content easy, intuitive, and visually satisfying for users across different devices.
Online shoppers who prefer simple browsing experiences often look for organized platforms that make everyday purchasing more efficient and less confusing daily needs hub – This type of site is often appreciated because it allows users to find daily essentials quickly while keeping the shopping experience smooth and practical for regular household needs
Many online users enjoy interactive websites designed to spark creativity and learning, especially when browsing curated sections of ideas, educational tools, and innovative resources for developing new projects and concepts frostspire idea learning hub – It represents a digital space where inspiration and knowledge combine, offering users a structured environment to explore creativity and build new intellectual pathways.
During a casual browsing session I found a site that felt modern and artistic with a structured interface and carefully arranged product sections sun woven shop – Market feels creative with well curated items and smooth navigation, making browsing simple and intuitive.
Consumers seeking clean and simple shopping environments often prefer platforms that avoid clutter and emphasize clarity and they may browse the Pure Horizon Market which offers a minimalist inspired marketplace design with well organized product sections and a smooth browsing experience that makes finding items straightforward and stress free.
During a casual browsing session I found a site that felt modern and artistic with a structured interface and carefully arranged product sections sun woven shop – Market feels creative with well curated items and smooth navigation, making browsing simple and intuitive.
Users browsing modern websites typically value minimal design, structured layouts, and strong focus support that improves overall browsing efficiency UltraFocus Flow Interface – UltraFocus provides a clear layout with simple organization, ensuring users can navigate easily and stay focused while exploring content.
I was looking through various online stores when I noticed check trail bazaar – The visit felt smooth and easy, with clearly presented information that is simple to read and understand.
While checking out online shops for fun, I discovered visit this page and it felt very neat – The layout is well arranged and easy to explore, making it a great browsing experience that is simple and enjoyable.
During my online browsing time, I stumbled upon browse this page and it felt easy to navigate – The content is well arranged and easy to explore, making it a great browsing experience that feels relaxed and pleasant.
People who shop online regularly often enjoy platforms that offer occasional standout items, making the browsing experience more memorable and worth revisiting later for further exploration vivid shopping center link and the website maintains a balance of variety and interest that encourages users to come back for more browsing and discovery.