Show only images with hashtag

ساخت وبلاگ
I have a list of images

<html>
<body>
<button id="hashtag1" onclick="showImages('#hashtag1')">#hashtag1</button>
<br>
<img src="img1.jpg" class="#hashtag1 #hashtag2">
<img src="img2.jpg" class="#hashtag2 #hashtag3">
<img src="img3.jpg" class="#hashtag1 #hashtag3">
<script> function showImages(hastag) {
}
</script>
</body>
</html>
HTML:
By default all images are loaded.
If user clicks button #hastag1 then only images with #hastag1 are displayed.
I can use a json object to store...

Show only images with hashtag WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 127 تاريخ : شنبه 28 خرداد 1401 ساعت: 13:40