Accessing a declared database

Every additionally declared database can be accessed using SPIP loops as follows:


The name parameter corresponds to the name of the connector file.


In testing with WordPress some time ago, the author was able to establish a functional database link.
By creating a wordpress.php connector file, it was possible to recover the last 5 published articles with the code shown below:

<BOUCLE_articles(wordpress:WP_POSTS){0,5}{!par post_date}{post_status=publish}>
	<div class="texte">#POST_CONTENT</div>

Author Mark Baber Published : Updated : 12/03/23

Translations : English, français