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.710 Comentários

  1. While exploring shopping websites online, I found Dream Finds Shopping Collection Hub which features structured content and a clean layout that enhances user experience – interesting products are available and browsing felt smooth and surprisingly enjoyable today in a very natural flow

  2. While exploring online collaboration hubs I found a helpful platform at connect growth community – the environment feels structured yet lively allowing users to connect discover valuable information and grow together through consistent interaction and shared participation across different topics

  3. While exploring online marketplaces I discovered a platform that provides a bright shopping experience with visually appealing product displays and easy navigation Bright Everyday Cart – the website feels simple and engaging allowing users to browse products easily while enjoying a smooth and attractive online shopping environment today for everyday use

  4. People who value stylish product presentation often search for ecommerce platforms that feel clean and structured, especially when they discover refined style outlet portal – the platform feels smooth and well designed, helping users explore collections easily while enjoying a calm and visually appealing shopping environment overall.

  5. People who appreciate organized online stores often search for platforms that keep everything visually clean and easy to navigate, especially when they visit elegant product discovery space – the site feels structured and appealing, making it easy for users to browse items while enjoying a smooth and refined shopping experience overall.

  6. I had been searching for reliable financial content before discovering modern wealth hub – The platform felt structured and easy to use, and the helpful content made navigation simple without clutter or unnecessary distractions affecting the browsing experience online.

  7. Online shoppers searching for trendy and stylish apparel usually prefer boutiques that maintain a simple and organized layout, and boutique style finder – helps users discover clothing collections more easily through structured sections and visually clear product displays overall.

  8. During my browsing of online selection hubs, I discovered The Corner Best Collection Hub which offers a clean layout and smooth usability – nice collection available and I liked the simple layout combined with easy navigation that improves overall experience

  9. While browsing online lifestyle collections, I discovered Unique Living Experience Hub which offers a modern interface and structured navigation that enhances usability – overall it feels like a nice website and browsing categories is smooth, visually appealing, and comfortable across all sections

  10. While browsing e-commerce platforms focused on convenience and variety, I referenced global shopping selection hub – the product range is wide and the mobile interface runs smoothly, making it easy to explore items without delays or confusing layout issues.

  11. While browsing retail websites I found a platform that creates a happy and cheerful atmosphere with easy navigation and simple product presentation for users Smile Happy Hub – the experience feels friendly and smooth helping users enjoy browsing products in a positive and stress free online shopping environment today

  12. I spent some time exploring various online clothing stores before discovering trendy style picks – The fashion selection looked modern and well arranged, and browsing through different pages felt smooth with visually appealing layouts that made the overall shopping experience enjoyable and easy to follow online.

  13. Many individuals exploring personal development content appreciate motivational platforms that inspire confidence and initiative, and life change guide – offers supportive ideas that encourage users to embrace opportunities and move forward with stronger focus and determination in their everyday decisions.

  14. In my exploration of ecommerce trend hubs I found a platform that focuses on delivering fast access to popular and stylish products for users Modern Trend Vault – the interface is clean and responsive making it simple for users to explore trendy items while enjoying a user friendly and visually appealing shopping experience today online

  15. Shoppers who value purpose driven browsing experiences tend to look for platforms that simplify product exploration and decision making, and an example frequently noted is Intentional Purchase Hub – offering a focused environment where users can explore items with clear descriptions and supportive guidance that helps improve confidence in selecting suitable products.

  16. Fashion explorers often turn to digital hubs that help them discover new apparel collections and styling possibilities Apparel Discovery Hub making it easier to stay informed about evolving clothing designs and modern fashion trends – The hub provides structured discovery tools for users interested in fashion innovation.

  17. People who are trying to improve focus in life often search for tools that simplify thinking and provide guidance, especially when they visit direction clarity space – the website feels helpful and organized, offering users practical steps that support better understanding of their goals and decision making process overall.

  18. People exploring self development often look for tools that help them gain focus and direction, especially when they discover personal growth navigator – the platform feels clean and supportive, making it easier for users to reflect on their goals while receiving structured guidance that encourages clarity and thoughtful life planning overall.

  19. Users interested in self improvement usually prefer websites that offer clear and engaging content that helps them build better habits, especially when they visit modern lifestyle inspiration space – the site feels thoughtfully arranged, visually balanced, and designed to provide practical ideas that encourage healthier routines and a more mindful way of living day to day.

  20. In my exploration of self development websites I discovered a platform that supports users in building creative thinking habits and structured idea creation Idea Growth Center – the platform encourages users to think creatively, develop useful concepts and grow personally through simple tools and engaging content designed for continuous improvement today

  21. Users comparing online platforms often prioritize simplicity, readability, and how well the design helps them discover content without unnecessary distractions or complexity UrbanNexus Navigation Node – UrbanNexus provides a clean and engaging interface where content is presented in a simple yet attractive layout that supports easy exploration and enjoyable user interaction.

  22. People interacting with web platforms often value intuitive navigation systems and well-structured layouts that make browsing efficient and reduce cognitive load UrbanNexus Flow Portal – UrbanNexus offers a visually appealing interface where simplicity meets functionality, allowing users to explore content easily and enjoy a smooth and engaging browsing experience.

  23. While browsing gift inspiration sites I found a website that offers nice gift ideas where everything feels simple, convenient and enjoyable for everyday users Everyday Gift Ideas Hub – the platform feels smooth and well organized, making it easy for users to explore thoughtful gifts in a pleasant and structured online experience today

  24. People exploring savings opportunities online often rely on platforms that present deals in a clean and organized structure improving browsing speed and overall user experience significantly Savings Horizon Lab – Offers are arranged in a forward focused layout that helps users discover new discounts easily while maintaining clarity and smooth navigation throughout the browsing experience.

  25. During my exploration of motivational content I discovered a website that promotes action, creativity and strong personal growth through inspiring and simple messages Start Creative Great Hub – the content feels uplifting and clear helping users stay motivated, think creatively and take consistent steps toward personal development and improvement in daily life online

  26. While exploring digital creativity hubs I discovered a platform that feels thoughtfully designed and useful for idea generation and inspiration Idea Craft Center – the browsing experience is smooth and engaging helping users explore meaningful concepts that encourage creativity and support innovative thinking in a simple and accessible way across all sections today online

  27. After reviewing multiple discount platforms, I found simple bargain guide – The deals listed looked awesome overall, and browsing felt easy, fast, and convenient today, allowing users to compare offers without distractions or confusion online.

  28. As digital ecosystems continue to expand, users often rely on curated discovery platforms and informational guides that help them locate useful websites and resources EasyFlowDiscover which – offers a calm and structured browsing experience that emphasizes clarity helping users focus on discovering meaningful content with ease naturally.

  29. I recently explored numerous motivational websites and eventually came across uplifting browsing source where the content felt polished and naturally engaging, helping visitors remain interested without needing excessive visual distractions or overly complicated wording patterns during the reading experience.

  30. While exploring information platforms I discovered a website that provides useful daily updates where content feels fresh, relevant and easy to understand Daily Update Stream Hub – the platform feels structured and user friendly helping users access information easily and stay updated with consistent and reliable content every day online

  31. While exploring ecommerce outlet platforms I discovered a site that focuses on delivering a smooth and efficient shopping journey for users Smart Outlet Finder – the browsing experience feels simple and dependable allowing users to quickly access affordable products while maintaining clarity and ease of navigation across different sections of the website today

  32. While browsing self development platforms I found a website that shares motivational content encouraging users to make better decisions and improve life direction Life Direction Change Hub – the platform feels encouraging and practical helping users reflect on choices, build better habits and create a more positive and meaningful life path through simple guidance online

  33. Many people browsing through self development resources and motivational blogs often encounter carefully curated inspiration platforms that encourage reflection and forward movement in life, and within that journey they find GrowthMindPortal – Motivational content here focuses on encouraging steady personal growth, shifting mindset patterns, and building positive habits that support long term emotional improvement and everyday resilience in a very approachable way.

  34. People searching for convenient bargain platforms frequently use sites that highlight essential deals in a minimal design format Smart Discount Space while exploring various product categories – The system is optimized to keep navigation fast and intuitive, allowing users to focus mainly on value and product usefulness

  35. Consumers who appreciate straightforward shopping often use platforms that highlight discounted products in a clear format Best Value Corner when browsing different categories of goods – The overall experience is designed to feel light, fast, and centered on practical purchasing decisions for users

  36. Digital visitors often value platforms that feel innovative while still ensuring that content remains accessible, structured, and easy to follow across all pages OrbitPath UI System – NovaOrbit delivers a visually futuristic interface with organized content placement, making exploration enjoyable and helping users stay engaged throughout their browsing journey.

  37. Users exploring modern digital platforms often notice how futuristic design choices and structured layouts influence overall browsing comfort and engagement across different sections NovaOrbit Portal Access – NovaOrbit presents a futuristic visual style combined with well-organized content arrangement, making exploration smooth, engaging, and easy for users who prefer intuitive navigation experiences.

  38. Many users seek inspiration from platforms that highlight possible future developments across industries like AI, science, and design future scope navigator – A navigation style insight platform – helping users explore upcoming trends through simplified explanations and organized content that makes learning about the future more intuitive and engaging.

  39. Several online communities often discuss trend platforms, and among those suggestions I noticed daily trend guide which provides a nice collection of updates that look modern and visually appealing, making browsing enjoyable and easy for users.

  40. During my search for fashion inspiration websites, I found Elegant Classy Wear Hub which offers a clean layout and smooth navigation experience that feels intuitive – the platform showcases elegant styles and delivers classy fashion selections that look carefully curated and visually appealing

  41. While assessing digital knowledge ecosystems, experts often observe that embedded discovery tools improve engagement, especially when knowledge sphere is naturally integrated into explanatory content – Users often report a satisfying experience marked by clarity, aesthetic appeal, and easy navigation throughout the platform.

  42. I spent the morning exploring websites with shopping recommendations before landing on best offers collection – The clean arrangement of information made browsing pleasant, and I liked how simple it felt to move through categories without dealing with unnecessary clutter or constant interruptions from distracting advertisements online.

  43. Users who enjoy accessible fashion ideas often look for platforms that focus on simplicity and usability, especially when they come across easy outfit style hub – the platform feels structured and practical, helping users quickly understand how to combine clothes for everyday looks that feel natural and stylish.

Deixe um comentário

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