Skip to main content

Timeline for Help with if/else loop

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Feb 22, 2015 at 19:48 vote accept Ferrmolina
Feb 21, 2015 at 15:49 comment added Brad I believe part of the problem is $temporada is not defined. I was able to get this working locally by creating a custom taxonomy 'temporada', assigning a post the temporada term 'test_temporada' and changing $temporada->slug to 'test_temporada'. I can edit the code above if you would like.
Feb 21, 2015 at 15:22 comment added Brad I used your exact code, I just formatted it in a more easy to digest fashion, and added the elses. I did find one error, missing echo on <?php the_permalink() ?>. I have corrected that. Sorry if it is not working, but the if/else are correct.
Feb 21, 2015 at 15:20 history edited Brad CC BY-SA 3.0
added 5 characters in body
Feb 21, 2015 at 2:59 comment added Ferrmolina i need the second else statement, i add this, but this does work :/
Feb 21, 2015 at 2:39 history answered Brad CC BY-SA 3.0