Files
roi-theme/wp-content/plugins/w3-total-cache/Generic_WidgetSpreadTheWord.js
root a22573bf0b 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>
2025-11-03 21:04:30 -06:00

25 lines
879 B
JavaScript
Executable File

jQuery(function() {
jQuery('.button-vote').on('click', function () {
window.open('https://wordpress.org/support/plugin/w3-total-cache/reviews/#new-post');
});
jQuery('.button-share').on('click', function () {
window.open('https://plus.google.com/share?url=' +
encodeURIComponent(w3tc_spread_the_word_product_url), '_blank');
});
jQuery('.button-tweet').on('click', function () {
window.open('https://twitter.com/?status=' +
encodeURIComponent(w3tc_spread_the_word_tweet), '_blank');
});
jQuery('.button-like').on('click', function () {
window.open('https://www.facebook.com/sharer.php?u=' +
encodeURIComponent(w3tc_spread_the_word_product_url), '_blank');
});
jQuery('.button-rating').on('click', function () {
window.open(w3tc_spread_the_word_rate_url, '_blank');
});
});