質問編集履歴

1

不要部分削除

2021/10/19 22:03

投稿

osada24
osada24

スコア0

test CHANGED
File without changes
test CHANGED
@@ -60,7 +60,7 @@
60
60
 
61
61
  combinedResults.map(post => {
62
62
 
63
- $('.newarticles-contents').append(`<li class="target" id="${post.date.slice(0,10).replace(/-/g, '.')}"><a href="${post.link}" target="_blank" class="post-link"><div class="tagu-contents"><img src="${post._embedded['wp:featuredmedia'][0].media_details.sizes.full.source_url}"><span class="tagu"></span></div><p class='article-tittle'>${post.title.rendered}</p></a><p class="day">${post.date.slice(0,10).replace(/-/g, '.')}</p></li>`);
63
+ $('.newarticles-contents').append(`<li class="target"><a href="${post.link}" target="_blank" class="post-link"><div class="tagu-contents"><img src="${post._embedded['wp:featuredmedia'][0].media_details.sizes.full.source_url}"><span class="tagu"></span></div><p class='article-tittle'>${post.title.rendered}</p></a><p class="day">${post.date.slice(0,10).replace(/-/g, '.')}</p></li>`);
64
64
 
65
65
  })
66
66