Skip to content

Instantly share code, notes, and snippets.

View avillegasn's full-sized avatar

Antonio Villegas avillegasn

View GitHub Profile
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');
/** MySQL database username */
define('DB_USER', 'username_here');
/** MySQL database password */
define('DB_PASSWORD', 'password_here');
@avillegasn
avillegasn / 01-loop-basico.php
Last active August 1, 2016 06:24
Entendiendo el Loop de WordPress
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
//contenido del loop (template tags, html, etc)
endwhile;
endif;
?>