// Add Shortcode function post_shortcode_imagen_titulo_centrar() { function centrar_titulo_imagen( $output, $original_atts, $image, $title) { $output = '<center>' . '<h3>' . $title . '<br>' . $image . '</h3>' . '</center>'; return $output; } } add_shortcode( 'psc', 'post_shortcode_imagen_titulo_centrar' );