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.
besttrendstation.shop – Easy to navigate site, everything feels structured and user friendly.
In the process of evaluating online retail design systems focused on usability and structure, I found that grid layouts improve browsing speed by organizing products in consistent visual blocks, which became evident when analyzing structured product grid hub – The platform feels tidy and well arranged, allowing users to browse items effortlessly in a clear and logical format.
People exploring online electronics stores often seek platforms that consistently provide updated listings and trustworthy discount opportunities across categories Smart Gadget Center – Users benefit from frequently refreshed product deals ensuring better affordability while shopping for essential gadgets and modern electronic devices online today
While reviewing ecommerce systems designed for trust and user-friendly navigation, I noticed that reliable hubs improve engagement and clarity, which stood out when exploring trusted product shopping hub – The platform looks dependable, offering simple navigation that makes shopping straightforward.
Shoppers who prefer fast and efficient online buying often search for platforms that reduce friction in the checkout process where quick select cart corner is mentioned in content – it reflects a system designed to help users rapidly choose items and complete purchases without unnecessary delays or complicated steps slowing them down.
Fashion enthusiasts looking for stylish clothing often prefer brands that offer curated aesthetic collections reflecting modern trends and versatile design approaches Contemporary Wardrobe Fashion Hub – offering a curated fashion platform featuring modern clothing collections and aesthetic inspired designs that emphasize elegance versatility and comfort for individuals seeking refined and expressive personal style choices
During my exploration of entertainment websites, I encountered this music artist page and the content felt pretty engaging, keeping me browsing for a while because it offered a simple yet interesting browsing experience.
Shoppers who value variety in online stores often prefer platforms that use trading post themes to create dynamic browsing environments with diverse product selections that make shopping feel more engaging and less repetitive Harbor Wave Select Trading Hub – offering a well structured e commerce experience where trading post design enhances product variety and creates a dynamic browsing journey that helps users explore different items efficiently and comfortably
During my exploration of town welcome platforms, I encountered this inviting community site and appreciated how it gives off a warm and friendly impression that makes visitors feel instantly comfortable and welcomed.
Users exploring digital shopping spaces frequently comment on how important seamless browsing is when they come across CartArena CleverCart Showcase in real time environments – The site delivers consistent performance across devices, ensuring that users can browse comfortably without interruptions or delays.