PHP function in Repeater Templates
-
Is it possible to use a php function in the repeater template?
The following seems not to work
<?php function test(){ // do nothing }; ?> <li class="alm-item<?php if (!has_post_thumbnail()) { ?> no-img<?php } ?>"> <h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3> </li>No posts will be displayed?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘PHP function in Repeater Templates’ is closed to new replies.