Php question, totally lost.
-
I have such php as this in my file:
$STRING .= str_replace("</ul>", $EXTRA. "</ul>",$MENUCONTENT) .'</nav></div></div></div>';
I need to turn the following into a similar code as above and im totally lost:
Is there i way i can escape changing the code into the above ???
<?php $totalcoupons = wp_count_posts('listing_type')->publish;?> We have <strong style="color: #e93030; font-size: 1.3em"><? echo $totalcoupons; ?></strong> blah blah blah <strong style="color: #e93030; font-size: 1.3em"><?php $count_posts = wp_count_posts('coupon_type'); $totalcoupons = $count_posts->publish; $taxonomystore = wp_count_terms( 'store' ); echo $taxonomystore; ?></strong> stores & <strong style="color: #e93030; font-size: 1.3em"><?php $count_posts = wp_count_posts('product'); echo number_format("$count_posts->publish"); ?></strong>
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Php question, totally lost.’ is closed to new replies.