Hey everyone, posted this (for the second time) on the plugin thread. No responses. Hopefully you guys can be of some help.
I'm working on a Genesis slider, and have 5 slides. One of those is supposed to be just a landing slide- everytime you visit the page it will always be the first one and has 4 summery points. The other 4 slides give an in depth perspective into each individual point. I have a php code (shown below) that shows a link to the page on every slide. Great. Except the first slide doesn't have nor needs any content and it's link needs to be removed. I've tried comparing page IDs (pretty sure I'm doing page IDs) to the page ID '1211'. To no avail, if page_id == 1211 -> all of the links appear. If page_id != 1211-> None of the links appear. And by 'page_id' I mean the actual variable/ array named 'page_id' and also a couple of functions that are meant to obtain a page ID.
If you could help me out, that would be great. Thanks.
<a href="<?php the_permalink() ?>" rel="bookmark">Click here to learn more
And also
'<?php if ($id==1); { ?>
" rel="bookmark">Click here to learn more
<?php } ?>'
Note,the_ID() and get_permalink( $id) are a couple I've tried. But no dice. And it doesn't matter what I use in the IF statement. All it really cares about is the operator.