<div class="advanced-slider"> <div class="slides-container"> <img src="لینک-عکس-اول.jpg" class="slide active"> <img src="لینک-عکس-دوم.jpg" class="slide"> <img src="لینک-عکس-سوم.jpg" class="slide"> </div> <button class="prev" onclick="changeSlide(-1)">&#10094;</button> <button class="next" onclick="changeSlide(1)">&#10095;</button> </div> <style> .advanced-slider { position: relative; max-width: 100%; height: 400px; overflow: hidden; } .slides-container { display: flex; transition: transform 0.5s ease-in-out; } .slide { min-width: 100%; height: 400px; object-fit: cover; display: none; } .slide.active { display: block; } .prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -22px; color: white; font-weight: bold; font-size: 22px; border: none; background-color: rgba(0,0,0,0.5); user-select: none; } .prev { left: 10px; } .next { right: 10px; } </style> <script> let slideIndex = 0; let slides = document.querySelectorAll('.slide'); let timer; function showSlide(n) { slides.forEach((slide, index) => { slide.classList.remove('active'); if(index === n) slide.classList.add('active'); }); } function changeSlide(n) { slideIndex = (slideIndex + n + slides.length) % slides.length; showSlide(slideIndex); } function autoSlide() { timer = setInterval(() => { changeSlide(1); }, 4000); // تغییر اسلاید هر ۴ ثانیه } document.querySelector('.advanced-slider').addEventListener('mouseover', () => clearInterval(timer)); document.querySelector('.advanced-slider').addEventListener('mouseout', autoSlide); autoSlide(); showSlide(slideIndex); </script>

This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:

Hi there! I’m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin’ caught in the rain.)

…or something like this:

The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.

As a new WordPress user, you should go to your dashboard to delete this page and create new pages for your content. Have fun!