but what about if i have in description tags like h2 and h3 and i don`t want them to be appeared ???>>> the description is between tags ![]()
the titles is shown with your code ... but i want also the description to be shown and images ..... in item tag i have title and description and content encode .... the content encoded tag is like that :
<content:encoded>
<![CDATA[ <h2> first item </h2>
<h3> second item </h3>
<figure class="wp-block-image size-large"><img decoding="async" width="700" height="525" data-id="31126" src="https:my_domain.jpg" alt="" class="wp-image-31126"/></figure>
</content:encoded>
all i want to display the 2nd and 3rd items betwenn h2 and h3 and also the src of image
yes
expecting this order?
important title 1
بيان
loremmmm
important title 2
بيان
loremmmm
the titles is shown with your code ... but i want also the description to be shown and images ..... in item tag i have title and description and content encode .... the content encoded tag is like that :
<content:encoded>
<![CDATA[ <h2> first item </h2>
<h3> second item </h3>
<figure class="wp-block-image size-large"><img decoding="async" width="700" height="525" data-id="31126" src="https:my_domain.jpg" alt="" class="wp-image-31126"/></figure>
</content:encoded>
all i want to display the 2nd and 3rd items betwenn h2 and h3 and also the src of image
```yes and image in each one
the titles already shown and and the content also but with tags h2 and h3 and h4 ,,,, i don`t want tags h2 and h3 and h4 to be shown ,,, and i want to show the images src how ?
If possible try with same xml parser and find it which tag contains it, then from that remove unwatred values. Because alreay you have one working block, just remaining is test part. Just try and learn the fun, else you have to wait to get code cause i have some personal work. But do not worry that is not a big matter. Coding improves your analysis skill and thinking skill as well as why what how skil too.. ![]()
okay i will try and take your time really thank you if have any time just guid me really thank you very much
