Title: WP ShrtFly Integration
Author: Vincenzo
Published: <strong>16 Julho, 2021</strong>
Last modified: 22 Março, 2026

---

Procurar plugins

![](https://ps.w.org/shrtfly-integration/assets/banner-772x250.jpg?rev=2566049)

![](https://ps.w.org/shrtfly-integration/assets/icon-256x256.jpg?rev=2566049)

# WP ShrtFly Integration

 Por [Vincenzo](https://profiles.wordpress.org/vluongo/)

[Descarregar](https://downloads.wordpress.org/plugin/shrtfly-integration.zip)

 * [Detalhes](https://pt.wordpress.org/plugins/shrtfly-integration/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/shrtfly-integration/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/shrtfly-integration/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/shrtfly-integration/#developers)

 [Suporte](https://wordpress.org/support/plugin/shrtfly-integration/)

## Descrição

WP ShrtFly Integration is a secure and optimized WordPress plugin that allows you
to easily integrate ShrtFly’s monetization services into your website. This plugin
provides a safe way to configure Full Page Script integration with comprehensive
security measures and performance optimizations.

**Key Features:**

 * Secure integration with proper input sanitization
 * Optimized performance with proper WordPress standards
 * Modern admin interface with visual status indicators
 * Enhanced security with capability checks and whitelist validation
 * Full AMP support for mobile pages
 * Domain include/exclude functionality
 * Support for different ad types (Mainstream/Adult)
 * Proper cleanup on plugin uninstall
 * WordPress 7.0 compatible
 * PHP 8.0+ with typed properties and return types

## Ecrãs

 * [[
 * Settings Page

## Instalação

 1. Upload `wp-shrtfly-integration` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Edit the plugin settings by clicking “ShrtFly Settings” on the settings navbar

## Perguntas frequentes

### This is official plugin?

No

### Is there a premium version available?

There is currently no premium version available.

### Where can I get the api token?

Setup an free account and get your credential from [ShrtFly – Developer API](https://shrtfly.com/member/tools/api)

## Avaliações

Este plugin não tem avaliações.

## Contribuidores e programadores

“WP ShrtFly Integration” é software de código aberto. As seguintes pessoas contribuíram
para este plugin:

Contribuidores

 *   [ Vincenzo ](https://profiles.wordpress.org/vluongo/)

[Traduza o “WP ShrtFly Integration” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/shrtfly-integration)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/shrtfly-integration/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/shrtfly-integration/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/shrtfly-integration/)
por [RSS](https://plugins.trac.wordpress.org/log/shrtfly-integration/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 2.0.0

 * BREAKING: Minimum PHP version raised to 8.0
 * COMPATIBILITY: Tested and compatible with WordPress 7.0
 * SECURITY: Added whitelist validation for ads_type and domain mode options
 * SECURITY: Escaped error message output in domain validation
 * SECURITY: Removed redundant nonce field (handled by Settings API)
 * FIX: Domain validation now supports wildcard patterns (*.example.com) as expected
   by ShrtFly script
 * FIX: Made constructor private to enforce singleton pattern correctly
 * FIX: Moved admin_init registration to constructor (was incorrectly nested in 
   admin_menu)
 * FIX: Removed unused enabled_stats option
 * IMPROVEMENT: Replaced jQuery dependency with vanilla JavaScript
 * IMPROVEMENT: Added PHP 8.0 typed properties and return types
 * IMPROVEMENT: Moved inline CSS to wp_add_inline_style for proper asset loading
 * IMPROVEMENT: Cleaned up uninstall to remove only existing options
 * UI: Complete admin page redesign with modern card-based layout
 * UI: Added branded header with gradient, plugin version badge, and live status
   indicator
 * UI: Toggle switches replacing plain checkboxes for boolean settings
 * UI: Pill-style radio buttons for ADS type and domain mode selection
 * UI: Section cards with contextual color-coded icons (settings, API, domains)
 * UI: Inline API token status badge with dot indicator
 * UI: Improved input styling with focus states and consistent border-radius
 * UI: Added plugin page link in footer
 * UI: Fixed Plugin URI and removed broken donate link pointing to non-existent 
   anchors

#### 1.6.0

 * SECURITY: Fixed critical file inclusion vulnerability
 * SECURITY: Added comprehensive input sanitization and validation
 * SECURITY: Implemented nonce verification and capability checks
 * FIX: Corrected domain validation logic
 * FIX: Fixed AMP plugin detection typo
 * IMPROVEMENT: Complete code refactoring with WordPress standards
 * IMPROVEMENT: Enhanced admin interface with better UX
 * IMPROVEMENT: Added performance optimizations
 * IMPROVEMENT: Proper script enqueueing and loading
 * IMPROVEMENT: Added internationalization support
 * NEW: Added activation/deactivation/uninstall hooks
 * NEW: Implemented singleton pattern
 * NEW: Added comprehensive error handling

#### 1.5.0

 * Add support for different ads type (Mainstream or Adult)
 * Minor fix

#### 1.4.0

 * Add support for new ShrtFly API v2 2022
 * Support for WordPress 6.1 added

#### 1.3.0

 * Add option for load javascript lib with defer mode
 * Support for WordPress 6.x added

#### 1.2.0

 * Support for WordPress 5.9 added

#### 1.1.0

 * Support for WordPress 5.9 added
 * Minor bug fix

#### 1.0.0

 * Public release

## Metadados

 *  Versão **2.0.0**
 *  Última actualização **Há 2 meses**
 *  Instalações activas **Menos de 10**
 *  Versão do WordPress ** 6.0 ou superior **
 *  Testado até **7.0**
 *  Versão do PHP ** 8.0 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/shrtfly-integration/)
 * Etiqueta
 * [shrtfly](https://pt.wordpress.org/plugins/tags/shrtfly/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/shrtfly-integration/advanced/)

## Classificações

Ainda não foram submetidas avaliações.

[Your review](https://wordpress.org/support/plugin/shrtfly-integration/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/shrtfly-integration/reviews/)

## Contribuidores

 *   [ Vincenzo ](https://profiles.wordpress.org/vluongo/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/shrtfly-integration/)