• EdelAli

    (@edelali)


    I have an html version of my favorite slider but I’ve so far failed to put it on my wordpress site mainly because I’m not familiar much with wp functions and loops (wp-query?). How can I get it to work in wordpress?

    <div class="slider slide1"> <!-- Category for Posts in the Slider-->
    		<a href="single.html"> <!-- Link to Post -->
    			<span class='post_excerpt'> <!-- Excerpt -->
    				<strong class='sliderheading'>Post Title</strong>
    				<span class='slidercontent'>
    				Post Content
    				</span>
    			</span>
    			<img src="image1.jpg" alt="" /> <!-- Featured Image -->
    		</a>
    </div>
    <div class="slider slide2">
    .
    .
    </div>

    It’s also capable of showing videos with some Cover Image (or thumbnail) to show instead on archive and portfolio pages, which I don’t make head or tail of. Can someone please help here?

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Were do you want this slider to be shown?

    Thread Starter EdelAli

    (@edelali)

    On my home page naturally but, does it really matter?
    … what I want to get out of it is that my slide would show my latest posts of a certain category/tag along with some post details I’ve alrady commented out in the code box.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slider HTML Code, how to put it into wp stuff?’ is closed to new replies.