Wordpress

Facebook Twitter

How to Create WordPress Shortcodes. 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.

WordPress shortcode: Automatically insert image by file name

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. " Extend WordPress With Custom Fields - Smashing Magazine. Advertisement WordPress’ popularity has grown exponentially as of late.

Extend WordPress With Custom Fields - Smashing Magazine

This rise in popularity is due in part to WordPress’ custom fields. Global Custom Fields, Take Two. Just as I hoped, someone wrote in with a far nicer solution to my Global Custom Fields solution than I originally had .

Global Custom Fields, Take Two

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. How to change WordPress editor font. Crear una lista de productos con Wordpress 3.0 usando Entradas personalizadas, campos personalizados y taxonomías. * Copyright 2010 Matt Wiebe. * This code is licensed under the GPL v2.0 *

Crear una lista de productos con Wordpress 3.0 usando Entradas personalizadas, campos personalizados y taxonomías