Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,91 @@
<?php
class OPanda_SocialLocker_Detailed_StatsTable extends OPanda_StatsTable {
public function getColumns() {
return array(
'index' => array(
'title' => ''
),
'title' => array(
'title' => __('Post Title', 'sociallocker')
),
'unlock' => array(
'title' => __('Total', 'sociallocker'),
'hint' => __('The total number of unlocks made by visitors.', 'sociallocker'),
'highlight' => true,
'cssClass' => 'opanda-col-number'
),
'channels' => array(
'title' => __('Unlocks Via', 'sociallocker'),
'cssClass' => 'opanda-col-common',
'columns' => array(
'unlock-via-facebook-like' => array(
'title' => __('FB Like'),
'cssClass' => 'opanda-col-number'
),
'unlock-via-facebook-share' => array(
'title' => __('FB Share'),
'cssClass' => 'opanda-col-number'
),
'unlock-via-twitter-tweet' => array(
'title' => __('Twitter Tweet'),
'cssClass' => 'opanda-col-number'
),
'unlock-via-twitter-follow' => array(
'title' => __('Twitter Follow'),
'cssClass' => 'opanda-col-number'
),
'unlock-via-youtube-subscribe' => array(
'title' => __('YouTube Subscribe'),
'cssClass' => 'opanda-col-number'
),
'unlock-via-linkedin-share' => array(
'title' => __('LinkedIn Share'),
'cssClass' => 'opanda-col-number'
)
)
)
);
}
}
class OPanda_SocialLocker_Detailed_StatsChart extends OPanda_StatsChart {
public $type = 'line';
public function getFields() {
return array(
'aggregate_date' => array(
'title' => __('Date')
),
'unlock-via-facebook-like' => array(
'title' => __('FB Likes'),
'color' => '#7089be'
),
'unlock-via-facebook-share' => array(
'title' => __('FB Shares'),
'color' => '#566a93'
),
'unlock-via-twitter-tweet' => array(
'title' => __('Tweets'),
'color' => '#3ab9e9'
),
'unlock-via-twitter-follow' => array(
'title' => __('Twitter Followers'),
'color' => '#1c95c3'
),
'unlock-via-youtube-subscribe' => array(
'title' => __('YouTube Subscribe'),
'color' => '#8f352b'
),
'unlock-via-linkedin-share' => array(
'title' => __('LinkedIn Shares'),
'color' => '#006080'
)
);
}
}

View File

@@ -0,0 +1,59 @@
<?php
class OPanda_SocialLocker_Skips_StatsTable extends OPanda_StatsTable {
public function getColumns() {
return array(
'index' => array(
'title' => ''
),
'title' => array(
'title' => __('Post Title', 'sociallocker')
),
'unlock' => array(
'title' => __('Number of Unlocks', 'sociallocker'),
'hint' => __('The number of unlocks made by visitors.', 'sociallocker'),
'highlight' => true,
'cssClass' => 'opanda-col-number'
),
'skip-via-timer' => array(
'title' => __('Skipped by Timer'),
'cssClass' => 'opanda-col-number'
),
'skip-via-cross' => array(
'title' => __('Skipped by Close Icon'),
'cssClass' => 'opanda-col-number'
)
);
}
}
class OPanda_SocialLocker_Skips_StatsChart extends OPanda_StatsChart {
public $type = 'column';
public function getFields() {
return array(
'aggregate_date' => array(
'title' => __('Date')
),
'unlock' => array(
'title' => __('Number of Unlocks', 'sociallocker'),
'color' => '#0074a2'
),
'skip-via-timer' => array(
'title' => __('Skipped by Timer'),
'color' => '#333333'
),
'skip-via-cross' => array(
'title' => __('Skipped by Close Icon'),
'color' => '#dddddd'
)
);
}
}

View File

@@ -0,0 +1,52 @@
<?php
class OPanda_SocialLocker_Summary_StatsTable extends OPanda_StatsTable {
public function getColumns() {
return array(
'index' => array(
'title' => ''
),
'title' => array(
'title' => __('Post Title', 'sociallocker')
),
'impress' => array(
'title' => __('Impressions', 'sociallocker'),
'cssClass' => 'opanda-col-number'
),
'unlock' => array(
'title' => __('Number of Unlocks', 'sociallocker'),
'hint' => __('The number of unlocks made by visitors.', 'sociallocker'),
'highlight' => true,
'cssClass' => 'opanda-col-number'
),
'conversion' => array(
'title' => __('Conversion', 'sociallocker'),
'hint' => __('The ratio of the number of unlocks to impressions, in percentage.', 'sociallocker'),
'cssClass' => 'opanda-col-number'
)
);
}
}
class OPanda_SocialLocker_Summary_StatsChart extends OPanda_StatsChart {
public function getSelectors() {
return null;
}
public function getFields() {
return array(
'aggregate_date' => array(
'title' => __('Date')
),
'unlock' => array(
'title' => __('Number of Unlocks'),
'color' => '#0074a2'
)
);
}
}