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

360 Comentários

  1. In the middle of comparing a few different online resources and bookmarking options for later review, I came across something that caught my attention briefly, especially since links like this platform here kept showing up – it looks reasonably solid so far, and I’ll likely dig into it more when I have extra time.

  2. While browsing various ecommerce storefronts I observed within the main content flow a listing that includes cotton meadow commerce center and despite the appealing soft design language, the repeated session interruptions make it difficult to continue browsing without losing progress or search context repeatedly.

  3. Modern trade platforms emphasize structured vendor ecosystems that improve consistency and reduce complexity in online buying and selling processes especially when using Marketplace Exchange Hub – these environments are designed to support efficient transactions and better overall organization for both sellers and buyers

  4. Users who enjoy boutique-style online shopping often prefer platforms that combine elegance with simplicity when engaging with curated marketplaces such as Chestnut Cove Artisan Boutique Hub – product organization is clear and intuitive, allowing seamless browsing and quick understanding of available items – the design enhances both usability and aesthetic appeal.

  5. While browsing through curated marketplace pages and creative vendor platforms, I came across something that felt visually clean but underexplained, especially when seeing Vale studio cove vendor hub included – The Vale name sounds classy and refined, but product descriptions are too short and leave gaps in information.

  6. During a general exploration of online directories and curated listings, I found something that seemed easy to use and well structured, particularly references including Copper Harbor vendor access page – the simple layout makes it easier to understand content quickly without needing extra effort or time.

  7. While evaluating sandbox ecommerce systems and vendor marketplace prototypes, testers encountered a mid page component featuring ridge amber vendor parlor console hub link inside layout structure, and despite the pleasant amber ridge theme suggesting warmth and stability, the vendor parlor area appears unfinished and placeholder-like which impacts user trust and experience during interaction testing and UX evaluation sessions

  8. During exploration of digital vendor platforms I came across a mid page element featuring creek harbor trade showcase hall and even though the aesthetic feels refreshing and natural, the non working search feature creates frustration and limits the usefulness of the browsing experience overall.

Deixe um comentário

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