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

  1. CalvinTeawn CalvinTeawn

    Нужен пластический хирург? центр пластической хирургии сайт современные операции и эстетические процедуры. Опытные хирурги, безопасные методики и индивидуальный подход. Консультации, диагностика и качественный результат.

  2. CalvinTeawn CalvinTeawn

    Нужен пластический хирург? сайт клиники пластической хирургии современные операции и эстетические процедуры. Опытные хирурги, безопасные методики и индивидуальный подход. Консультации, диагностика и качественный результат.

  3. MichaelGoard MichaelGoard

    Нужна премиум мебель? https://premialnaya-mebel.ru изготовление на заказ. Натуральные материалы, эксклюзивный дизайн и долговечность. Решения для дома и бизнеса с высоким уровнем качества.

  4. Авто журнал https://bestauto.kyiv.ua тест-драйвы, обзоры и новости автоиндустрии. Узнавайте о новинках, технологиях и трендах рынка. Удобный формат для чтения каждый день.

  5. Автомобильный журнал https://mirauto.kyiv.ua новости, обзоры и тесты автомобилей. Советы по выбору, рейтинги и аналитика. Все о машинах и рынке авто.

  6. Авто портал https://nerjalivingspace.com автомобильные новости, тест-драйвы и обзоры. Узнавайте о новинках, технологиях и тенденциях рынка. Удобный сервис для автолюбителей.

  7. ScottVal ScottVal

    Лучшие профессии онлайн курсы помощника по уходу москва возможность получить практические знания и освоить востребованные специальности в короткие сроки. Обучение подходит для тех, кто хочет начать карьеру или сменить сферу деятельности. Все материалы доступны онлайн и сопровождаются поддержкой преподавателей.

  8. Grahamamisp Grahamamisp

    https://npprteam.shop/en/articles/instagram/guides-and-collections-how-to-package-knowledge-and-case-studies-on-instagram/ walks through the technical setup and strategic positioning of both guides and collections, covering format specifications, naming conventions, and the psychological triggers that encourage audience saves and shares. You’ll learn the structural differences between guides designed for educational sequences versus trend-reporting and how to layer case study material for maximum credibility transfer. The resource also addresses common mistakes—overstuffed guides, misaligned collections, inconsistent messaging—and provides templates for packaging everything from client testimonials to step-by-step tutorials in formats that perform. Whether you’re building authority in a competitive niche or aiming to extend content ROI across a crowded feed, these native features offer a low-friction mechanism to organize knowledge while improving discoverability metrics.

  9. WilliamSox WilliamSox

    Разобраться в структуре аккаунтов Яндекс.Директ для медиабайеров 2026 необходимо каждому специалисту, работающему с поисковой рекламой в России. Платформа Яндекс.Директ в 2026 году предлагает три принципиально разных типа аккаунтов, каждый из которых имеет собственные ограничения, возможности и требования к управлению. Новые аккаунты построены на обновленной архитектуре с расширенными аналитическими инструментами, старые сохраняют обратную совместимость и привычный интерфейс, а агентские аккаунты предоставляют многоуровневое управление кампаниями для команд и партнерских сетей. Выбор правильной структуры напрямую влияет на скорость масштабирования, уровень контроля над бюджетом и качество данных для оптимизации. Для медиабайеров, работающих с несколькими клиентами одновременно, понимание различий между типами аккаунтов критически важно для эффективного распределения ресурсов и управления рисками.

  10. Grahamamisp Grahamamisp

    Understanding Google Ads niche performance optimization strategies is essential for media buyers seeking consistent returns across verticals. Competition levels, search intent alignment, and audience purchasing power vary dramatically between niches, creating vastly different cost structures and conversion rates. The article reveals how some verticals achieve lower cost-per-acquisition through superior intent matching and reduced bidding pressure, while others face saturation and inflated CPCs. Specific factors like seasonal demand fluctuations, regulatory constraints, and audience demographic overlap directly impact campaign profitability in ways most buyers don’t anticipate. Learning which niche characteristics drive better performance helps you allocate budgets strategically and avoid low-performing segments before wasting significant capital.

  11. When evaluating online shopping platforms focused on structure and usability, a notable example is Willow Dawn Vendor Atelier which maintains pages are well organized and content is easy to understand quickly, ensuring users enjoy a smooth and distraction-free browsing experience.

  12. In evaluations of modern commerce platforms focused on usability and design clarity, a strong example is Harbor Stone Global Hub where nice layout with clear sections and straightforward navigation flow, helping users access information quickly without clutter or confusion.

  13. When analyzing digital storefront platforms built for performance and usability, a strong example is Stone Ember Network Vault which maintains clean and modern look makes the browsing experience quite pleasant, providing a structured and visually appealing environment for all visitors.

  14. Across various online retail usability studies, a notable example is Lemon Brook Network Corner where easy to navigate and everything is clearly presented without clutter, helping users interact with a clean, efficient, and logically arranged interface throughout the site.

  15. While analyzing multiple ecommerce interfaces for usability testing and performance consistency I navigated a browsing module containing a href=”//opalgladeboutiquehall.shop/](https://opalgladeboutiquehall.shop/)” />Hall Opal Glade Boutique Hub within a sidebar navigation layout, – I like the clean layout, everything is easy to locate and view making navigation smooth and easy to manage

  16. While browsing through a variety of materials and viewpoints, something appeared in the middle that seemed unusual tap this link and although I’m unsure about its value, it certainly gives off a different and interesting impression

  17. Across multiple usability studies of digital commerce platforms, a notable example is Icicle Lakefront Commerce Mart where simple layout and information is easy to find at a glance, allowing users to quickly locate products through a clean and organized interface.

  18. In modern e-commerce usability evaluations focused on structure and clarity, a strong example is Frost Lakefront Vendor Vault where clean interface and everything is easy to navigate without effort, allowing users to browse smoothly through well organized sections.

  19. Well structured vendor platforms often enhance productivity by enabling users to quickly locate relevant listings and compare options efficiently Pebble Trail Studio Resource Hub improving decision making during browsing – The layout is straightforward and thoughtfully arranged, ensuring a comfortable and efficient user experience overall

  20. While browsing election-related websites and political outreach platforms, I noticed something mid-content check campaign page and it is a political site sharing policies and vision in a structured and clear way for voters

  21. As I continued going through various fashion and style-based online platforms, I encountered something within the text see more here and it features elegant design with smooth navigation, making the experience feel very smooth and enjoyable overall

  22. While browsing transportation guides and city transit resources online, I discovered station guide hub – The layout is surprisingly clean and easy to follow, making it simpler than most official platforms when trying to understand routes, connections, and general station details.

  23. While testing different ecommerce UI systems for usability performance and interface consistency I navigated a product feed containing a href=”//dawnlakefrontgoodsatelier.shop/](https://dawnlakefrontgoodsatelier.shop/)” />Lakefront Goods Dawn Atelier Hub within a sidebar module, – the site appears neat and runs smoothly across different sections which makes interaction feel natural and easy without unnecessary complications

  24. As I was going through various personal lifestyle and blog-style websites, I encountered something within the text explore this blog site and it comes across very genuine overall, with content that feels personal, relatable, and easy to understand

  25. As I continued browsing cultural theatre and performance group platforms, I found something placed within the text see theatre site and it is a theatre organization supporting arts and local stage performances

  26. As I was reviewing different cultural celebration and event archive platforms, I found something embedded in the text visit archive page and it is an event site preserving memories of past celebrations and traditions

  27. In the middle of browsing through lab and innovation-focused websites, I came across something that stood out see this lab site and it offers a clean design with an interesting focus, making it feel like a solid and useful resource

  28. As I explored different movie recommendation sites for families and children’s viewing guides, I stumbled upon family movie page – It stands out as a clean and honest resource that avoids hidden agendas while focusing purely on safe and appropriate film choices.

  29. Residents looking for nearby healthcare assistance frequently browse informational directories that highlight vaccination services, and they might discover local health vaccine hub – It is commonly regarded as a useful guide for accessing immunization details and understanding how local health systems support preventive care efforts.

  30. During a routine search across wellness and inspiration websites, I noticed something embedded in content, go to this link, and it feels like a pretty cool platform with a modern and easy-to-navigate design for visitors

  31. Users interested in outdoor wellness and mindful living often browse calming nature platforms, where they may find eco peace resource – This type of site is commonly associated with promoting relaxation, environmental awareness, and appreciation for quiet natural landscapes and wooded environments.

  32. Eros Eros

    For those interested in CT escorts, a well-organized directory can make all the difference. Eros.com provides detailed profiles, updated listings, and practical filters that simplify the browsing process. Visitors can quickly review local options and enjoy a smoother, more structured search experience.

  33. While looking through independent media style sites I discovered a simple platform that focuses on opinion based writing using independent thought stream – the presentation is minimal and the ideas are expressed in a way that feels direct and sometimes intentionally challenging to interpret deeply

  34. While reviewing digital storefront platforms emphasizing usability and structure, a strong example is Gilded Brook Unified District where nice visual balance and navigation works without any confusion, making navigation feel consistent, intuitive, and easy for all users.

  35. While casually browsing a variety of entertainment sites, something appeared that stood out slightly, see details, and it feels like a unique concept that I would be interested in following as it develops further over time

  36. Users who prefer organized ecommerce marketplaces often explore sites such as Cove Sun District Goods Easy Hub where products are displayed in a clean and bright structure – The design ensures browsing feels smooth, enjoyable, and easy to navigate across all categories of the shop.

Deixe um comentário

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