From f515b9d96963abc42b02286fbc49ba3ad6d5904e Mon Sep 17 00:00:00 2001 From: Tobias Buss Date: Mon, 9 Oct 2023 19:31:05 +0200 Subject: [PATCH] excerpt -> content --- MMM-Wordpress.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MMM-Wordpress.js b/MMM-Wordpress.js index fc72a9f..2d97f3a 100644 --- a/MMM-Wordpress.js +++ b/MMM-Wordpress.js @@ -47,7 +47,8 @@ Module.register('MMM-Wordpress', { for (let i = 0; i < posts.length; i++) { const post = posts[i]; const postElement = document.createElement('div'); - postElement.innerHTML = `

${this.stripTags(post.title.rendered)}

${this.stripTags(post.excerpt.rendered)}

`; + //postElement.innerHTML = `

${this.stripTags(post.title.rendered)}

${this.stripTags(post.excerpt.rendered)}

`; + postElement.innerHTML = `

${this.stripTags(post.title.rendered)}

${this.stripTags(post.content.rendered)}

`; wrapper.appendChild(postElement); } } else {