Con la siguiente fórmula podemos generar números de factura alfanuméricos en MS Excel.
Série FAC10
Número 1
Factura FAC10000001
=CONCATENAR(ESPACIOS(A1);REPETIR(0;(11-LARGO(ESPACIOS(A1))-LARGO(P38)));B1)
Con la siguiente fórmula podemos generar números de factura alfanuméricos en MS Excel.
Série FAC10
Número 1
Factura FAC10000001
=CONCATENAR(ESPACIOS(A1);REPETIR(0;(11-LARGO(ESPACIOS(A1))-LARGO(P38)));B1)
Open terminal.app and type: cupsctl WebInterface=yes. Then you can acces CUPS at http://localhost:631/
I needed to create a custom version of the plugin WP Parallax Content Slider that shows the contents of a custom post type in a parallax slider.
Here is how I’ve done it:
1. I set up a new custom post type called slides
$labels = array(
'name' => _x('Slides', 'slide'),
'singular_name' => _x('Slide', 'slide'),
'add_new' => _x('Add New Slide', 'slide'),
'add_new_item' => __('Add New publication'),
'edit_item' => __('Edit slide'),
'new_item' => __('New slide'),
'view_item' => __('View slide'),
'search_items' => __('Search slide'),
'not_found' => __('No slides found'),
'not_found_in_trash' => __('No slide found in Trash'),
'parent_item_colon' => ''
);
$args = array(
'labels' => $labels,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'post',
'hierarchical' => false,
'menu_position' => null,
'supports' => array('title','editor','author','thumbnail','excerpt','comments')
);
register_post_type('slide',$args);
2. then modified the plugin in order to select only the “slide” post type
$args = array( 'post_type' => array('slide'), // not 'page'
'orderby' => $prlx_sort,
'order' => $prlx_order,
'numberposts' => $prlx_slider_nb_articles,
'cat' => $cat );
$myposts = get_posts( $args );
// --------------------------------------------------------
// HTML Output beginning
3. and finally tweaked the output display in order to show the contents and thumbnail:
/*
* Generate HTML output for an article slide
*/
function get_article_slide($title, $content, $link_article, $url_image, $title_length, $alt_image = 'Alternative text')
{
// Parameters
if (strlen($title) > $title_length) $title = substr($title, 0, $title_length)."...";
// Slide output
$outputSlide = "<div class='da-slide'>"."n";
$outputSlide .= "<h2>".$title."</h2>"."n";
$outputSlide .= $content."n";
// $outputSlide .= "<a href='".$link_article."' class='da-link'>Read more</a>"."n";
$outputSlide .= "<div class='da-img'><img src='".$url_image."' alt='".$alt_image."' /></div>"."n";
$outputSlide .= "</div>"."n";
return $outputSlide;
}
WordPress Forum thread: WordPress › Support » Use with custom post types.
Avui a Ilurion, a Mataró Radio, hem tractat la qüestió de les desamortitzacions de Mendizábal i Madoz que tinguéren lloc a meitat del S.XIX a Espanya.
A continuació us deixo amb el guió preparat.
Continue reading
Ingredients:
Proporcions:
1 Kg. de codony
1 kg. de sucre
250 gr. de poma
Preparació:
Prova: Per tal de comprovar si la consistència és l’adequada, posar una mica de codonyat en un paper de plata i girar-lo. Si la textura és l’adequada no caura.
Font: Rosa Tarrida Forn
Ingredients
Instruccions
Font: Rosa Tarrida Forn