loop error
-
<?php start_short(); ?>
[for each=’cat_bernapokhadrumner’ term=’berner’]
[loop type=’cpt_bernapoxadrumner’ count=’5′]
<tr onclick=”window.location.href = ‘<?php echo ‘[field url]’; ?>'”>
<td>[field berner-1]</td>
<td>[field berner-2]</td>
<td>[field berner-3]</td>
<td style=”width: 83px !important”>[field berner-5]</td>
<td>[field berner-6]</td>
<td>“>Դիտել»</td>
</tr>
[/loop]
[for-else]
Նման բաժին գոյություն չունի:
[/for]
<?php end_short(); ?>This code will display only the one post, becouse I only write it.
But it display two posts (duplicate of one post) and that posts ID’s is the same.Why?
Please halp me and sorry for my bad english 🙁
The topic ‘loop error’ is closed to new replies.