- Empieza por leer (lo siento, está en inglés) el diccionario de terminología WordPress de la A-Z: https://premium.wpmudev.org/blog/wordpress-dictionary/
- Antes de codear algo en WP, busca un plugin o tema, hay miles de ellos, si no sabes cual usar, pregunta.
- Si vas a codear o modificar templates, aprende "Child Themes" y la jerarquia de ejecución https://developer.wordpress.org/themes/basics/template-hierarchy/
- Si vas a codear plugins o templates para WP, revisa la API, hay cientos de funciones ya hechas https://codex.wordpress.org/WordPress_APIs por ejemplo, ya WP tiene un sistema de manejo de llamadas AJAX built in ( https://codex.wordpress.org/AJAX_in_Plugins) y un ejemplo más didáctico del uso de AJAX dentro de WP lo puedes encontrar por acá https://premium.wpmudev.org/blog/using-ajax-with-wordpress/
- WP parece sencillo y en su estado puro no parece la gran cosa pero puede ser extendido fácilmente, aprende de "custom posts" y "custom fields" para personalizarlo ( advanced custom fields es un
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# bash script to install clearOS on a Digital Ocean Droplet | |
# taken from http://wikisuite.org/How-to-upgrade-a-fresh-install-of-CentOS-to-ClearOS | |
# Prep release and repos | |
rpm -Uvh http://download2.clearsdn.com/marketplace/cloud/7/noarch/clearos-release-7-current.noarch.rpm | |
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-ClearOS-7 | |
# Install and upgrade | |
yum --enablerepo=* clean all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Get youtube playlist using XML RSS with DOM PHP | |
* Based on http://bavotasan.com/2010/display-rss-feed-with-php/ | |
*/ | |
?> | |
<style> | |
.y-title h3 { | |
text-align: center; | |
font-size: 16px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="voting-form" style="display:none"> | |
<?php echo do_shortcode( '[gravityform id="6" title="false" description="false" ajax="true"]' ) ?> | |
</div> | |
<a href="#voting-form" class="fancybox button">Vote Now</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Script to check SoYouStart availability based on http://www.tienle.com/2014/09-03/script-check-soyoustart-availability.html | |
* to help see http://www.richzendy.org/2014/10/05/script-php-para-chequear-y-notificar-disponibilidad-de-servidores-en-soyoustart.html | |
*/ | |
define('CHECK_URL', 'http://ws.ovh.com/dedicated/r2/ws.dispatcher/getAvailability2'); | |
define('NOTIFICATION_EMAILS', '[email protected]'); | |
define('SYSTEM_EMAIL', '1'); // 1 = enabled local smtp system | |
define('MANDRILL', '0'); // 1 = enable email trought mandrill api, require an account on https://mandrillapp.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- turpial-3.0-orig/turpial.desktop 2013-12-18 19:59:57.000000000 -0600 | |
+++ turpial-3.0/turpial.desktop 2013-12-22 18:58:21.081595915 -0600 | |
@@ -1,5 +1,5 @@ | |
[Desktop Entry] | |
-Version=2.0 | |
+Version=1.0 | |
Name=Turpial | |
Name[es]=Turpial | |
GenericName=Microblogging client |