Shortcodes do not work with substr
|Reported by:||ridesign||Owned by:||markwheeler|
I am reducing the post content on the homepage, but the problem is that the shortcodes code just prints on the page it is not executed
The code I am using on homepage to reduce post length.
<?php echo substr(($post->post_content), 0, 600); ?>
Change History (3)
Note: See TracTickets for help on using tickets.