I have a HTML structure like this:
<article class="post-content-area post type-post status-publish hentry">
<div class="some-class">
<div class="entry-content">
content goes here
</div>
</div>
</article>
or
<article class="post-content-area post type-post status-publish hentry">
<div class="entry-content">
content goes here
</div>
</article>
I need to select entry-content
class that is inside a tag with post-content-area post type-post status-publish hentry
classes, regardless of how nested entry-content
is.
I've tried document.querySelectorAll("(post-content-area.post.type-post.status-publish.hentry)> .entry-content")
but it didn't work