Wordpress

Facebook Twitter
Guía para entender los Shortcodes en Wordpress « ONtips.es – Aprende y comparte en Español ene Detalles del tutorial: * CMS: WordPress * Dificultad: media. * Tiempo estimado: 15-20 minutos. Imaginad que queréis crear una caja destacada donde destacar una información muy importante y queréis darle un aspecto diferente al resto del contenido. Para este ejemplo, te tocaría ponerte en modo HTML a escribir código HTML y CSS para realizar esta funcionalidad. Además cuando quieras volver a destacar otro texto, tendrías que volver a repetir todo este proceso. Guía para entender los Shortcodes en Wordpress « ONtips.es – Aprende y comparte en Español
How to use WordPress shortcode outside in your theme files
WordPress shortcode: Automatically insert image by file name Shortcodes are always a good solution when you need to achieve a specific task. In this recipe, let’s see how we can insert an image in a post, simply by using a shortcode and the filename. The first thing to do is to paste this code on your functions.php file: function image_shortcode($atts, $content = null) { extract( shortcode_atts( array( 'name' => '', 'align' => 'right', 'ext' => 'png', 'path' => '/wp-content/uploads/', 'url' => '' ), $atts ) ); $file=ABSPATH." WordPress shortcode: Automatically insert image by file name

Extend WordPress With Custom Fields - Smashing Magazine

Advertisement WordPress’ popularity has grown exponentially as of late. This rise in popularity is due in part to WordPress’ custom fields. Extend WordPress With Custom Fields - Smashing Magazine
Just as I hoped, someone wrote in with a far nicer solution to my Global Custom Fields solution than I originally had . Big thanks to David Hollander for this. Options Table Turns out we can post values to options.php and literally save them right to the options table in the database. We can add a new settings panel right to our Admin area for doing this, and all it takes is a few lines of code. Global Custom Fields, Take Two Global Custom Fields, Take Two
How to change WordPress editor font
* Copyright 2010 Matt Wiebe. * This code is licensed under the GPL v2.0 * http://www.opensource.org/licenses/gpl-2.0.php Crear una lista de productos con Wordpress 3.0 usando Entradas personalizadas, campos personalizados y taxonomías | emenia.es Crear una lista de productos con Wordpress 3.0 usando Entradas personalizadas, campos personalizados y taxonomías | emenia.es