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

2.716 Comentários

  1. 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

  2. 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

  3. 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.

  4. 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

  5. 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

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. 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.

  13. 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.

  14. 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.

  15. 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.

  16. 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.

  17. 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.

  18. During my exploration of e-commerce development tools and frameworks, I discovered digital cart zone suite which provides resources for building and managing online stores – it highlights better workflow organization, flexible design options, and improved usability for businesses that want efficient and scalable digital retail systems with strong operational control.

  19. While browsing through various online stores this morning I stumbled upon a collection that immediately caught my attention and made me slow down for a closer look radiant cove finds and it really stood out for its presentation and simplicity overall, – The overall experience feels very refreshing, with a calm layout and thoughtfully arranged items that make it easy to browse without feeling overwhelmed or rushed at any point.

  20. While casually browsing artisan shops, I discovered check items here and it felt clean and structured – Items here seem creative and browsing experience felt smooth overall, making everything easy to explore at a calm and steady pace.

  21. Online users often enjoy e-commerce platforms that feel inspired by natural contrasts, especially when browsing curated lifestyle products that merge floral softness with winter frost design elements frost garden craft collective – The idea reflects a floral-winter hybrid marketplace where artisanal goods and seasonal décor items are arranged in a soft, visually appealing structure that enhances browsing comfort and creativity.

  22. Shoppers looking for dependable online marketplaces often choose platforms that focus on usability while still offering a broad range of interesting and useful products Fern Digital Market – It creates a streamlined shopping environment with varied listings and smooth navigation designed to enhance overall browsing comfort and satisfaction

  23. People who enjoy browsing modern e commerce platforms often value websites that keep navigation simple and product discovery easy to follow process UTC fashion hub – interface design supports smooth transitions between sections, allowing users to explore categories comfortably while maintaining focus on relevant items throughout their shopping experience overall

  24. While searching for new shopping options online, I encountered browse this platform – The selection looks good, and it seems like they frequently add fresh items to their inventory, making it a place worth revisiting.

  25. Many digital shoppers enjoy platforms that highlight woodland and rustic themes, especially when browsing curated artisan products and handcrafted décor inspired by cold forest environments and natural materials frostgrove artisan goods portal – It suggests a forest-inspired marketplace identity where wooden crafts and handmade items are arranged in a calm, nature-rooted structure that emphasizes simplicity and authenticity.

  26. I was browsing randomly when I found a site that felt minimal and fresh with a clean interface and intuitive navigation design silver sprout online hub – Nice selection of products here with a fresh and modern look, making browsing fast and easy.

  27. I ended up finding something today that had a noticeably peaceful vibe, which made it stand out enough to mention here have a look at this shop – The products seem well crafted and the overall tone feels calm and inviting.

  28. I was casually browsing online when I found shop link here and it stood out for its clarity – Essentials here seem practical and nicely displayed across the site, making the experience relaxed and easy to follow.

  29. As I explored a variety of websites during some free time, I came across go to this link and it looked fairly decent on the surface, making me consider returning in the future to see more of what it offers.

  30. Visitors to online marketplaces often note that interesting product variety plays a key role in keeping browsing sessions engaging and enjoyable, as seen on petal copper shop link – items were appealing and made the experience feel worthwhile, encouraging another visit to explore the catalog more thoroughly in the future.

  31. Users exploring digital marketplaces frequently appreciate seasonal branding that merges contrasting natural themes, especially when browsing curated rustic crafts and lifestyle goods frost harvest creative goods hub – This reflects a hybrid seasonal identity where handmade products are arranged in a soft, visually engaging structure inspired by harvest and frost elements.

  32. Online users often enjoy platforms that merge seasonal contrasts, especially when browsing curated collections of rustic crafts and natural décor inspired by harvest and winter themes frost harvest goods explorer portal – It suggests a warm-meets-cold marketplace identity where products are arranged in a calm, balanced structure designed for smooth browsing experiences.

  33. I was browsing late in the evening when I found a shop that felt calm and visually balanced with simple navigation radiant maple market – I found some unique items while exploring this site earlier today, and it made the browsing experience feel pleasantly relaxed.

  34. While scrolling through various sites I discovered a shop that felt organized and easy to navigate with a calm layout radiant maple goods hub – I found some unique items while exploring this site earlier today, and it gave me a reason to take a closer look at what they offer.

  35. I was exploring various websites when I found one that felt elegant and natural with a stone inspired layout and structured categories stone light goods collection – Stone inspired designs give this shop a unique aesthetic appeal, making browsing feel smooth and thoughtfully designed.

  36. While exploring different websites I discovered a store that felt modern yet natural with a smooth layout and subtle stone inspired visuals stone light collection – Stone inspired designs give this shop a unique aesthetic appeal, giving the site a calm and artistic presence.

  37. Online consumers frequently prefer rapid buy markets because they provide fast shopping markets with easy access to everyday useful products ensuring efficient shopping experiences Rapid Buy Market Ultra Hub Access – The interface is optimized for speed and structured navigation

  38. Online shoppers who regularly follow fashion trends tend to appreciate websites that organize products in a simple and visually comfortable layout for easier browsing sessions trend station shop portal and the overall impression suggests that users can quickly find modern clothing options without unnecessary confusion while exploring different sections of the store interface

  39. Online users often prefer platforms that simplify browsing while maintaining strong visual organization and reliable performance across all features TrendVivid Smart System – It offers a fast and visually clean interface with structured navigation that helps users move through content easily while maintaining clarity, comfort, and consistent usability throughout the entire browsing experience

  40. While casually browsing online shops, I discovered check items here and it felt clean and light – I enjoyed the calm layout, and browsing felt relaxed and quite smooth, making everything simple, smooth, and pleasant to explore.

  41. Digital explorers often prefer websites that combine fast performance with structured layouts that make navigation simple and visually pleasant to use VividFlow Trend Portal – The system ensures quick loading times and a clean interface design that supports effortless browsing while keeping all content organized in a way that enhances user experience and accessibility throughout the platform

  42. Many online users enjoy platforms that feel inviting and boutique-like, especially when browsing curated collections of winter décor, artisan crafts, and cozy lifestyle goods frost lane craft emporium hub – It represents a charming digital marketplace identity where products are presented in a soft, winter-inspired structure focused on comfort and curated elegance.

Deixe um comentário

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