From ab6f1c412e3edad02cdf3c5ff965a6e05a8cba67 Mon Sep 17 00:00:00 2001 From: jcrunge Date: Mon, 16 May 2016 14:41:46 -0500 Subject: [PATCH] Evento y leer mas --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 4877100..f1e6fb2 100644 --- a/README.md +++ b/README.md @@ -1 +1,29 @@ # wp-portal-editorial + +##Eventos +### Para la implementación del post se pueden generar con [Generate WP](https://generatewp.com/post-type/) +Que debe estar dentro de functions.php. Esto es muy útil al momento de crear eventos. + +##Leer Más +###Para crear un enlace "Seguir leyendo" es necesario el uso de otro post +se puede usar la funcion "the_content()" de WP para "leer mas" +```php +function the_content ( string $more_link_text = null, bool $strip_teaser = false ){ + ... +} +``` +*Parametros* + +$more_link_text + + (string) (Opcional) Contenido para cuando hay más texto. + + Default value: null + +$strip_teaser + + (bool) (Optional) El valor inicial es falso + + Valor inicial: falso + +