d4c8dda172
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
29 lines
778 B
Markdown
29 lines
778 B
Markdown
# 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()"](https://developer.wordpress.org/reference/functions/the_content/#source-code) 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.
|
|
|