Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to make a list of a spesific post category title. In this list I want the reveal function from Foundation to open the post + its title.

How do I make this? I'm kinda new to making loops and builing custom things in the function-area.

This is the code of the list right now:

<div class="behandlingsformer">
<ul>
<li class="button expand"><a data-reveal-id="fysio" data-reveal>1</a></li>
<li class="button expand"><a data-reveal-id="chien" data-reveal>2</a></li>       
</ul>
</div>

Would be great with some help (:

share|improve this question
    
Generated markup is not very helpful. Please post the PHP source code. –  s_ha_dum Mar 13 at 14:41
    
This is only the code I'm using right now to get the reveal-modal to work within my list. I need some help figuring out how to implement this in function.php(?) to loop a category-title-list that will outcome like the code I added in the first post. –  user48894 Mar 13 at 16:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.