Code not working
-
I am trying to use most read news in home page So when i
use the text which is in BOLD below its not working
<?php popular_posts(‘prefix=<div class=”top_reads”><h5>What’s new</h5>
- &suffix=
</div>&limit=5&output_template=
- <div><h6>{title}</h6></div><div class=”clear”></div>
&excluded_cats=3,6&no_text=true&age-direction=after&age-length=30&age-duration=day’); ?>
and when i replace that text without (‘) it works
<?php popular_posts(‘prefix=<div class=”top_reads”><h5>Most Read Stories</h5>
- &suffix=
</div>&limit=5&output_template=
- <div><h6>{title}</h6></div><div class=”clear”></div>
&excluded_cats=3,6&no_text=true&age-direction=after&age-length=30&age-duration=day’); ?>
Can any one suggest me a solution
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Code not working’ is closed to new replies.