#960 closed defect (fixed)
Shortcodes do not work with substr
| Reported by: | ridesign | Owned by: | markwheeler |
|---|---|---|---|
| Priority: | high | Component: | 1-bit-audio-player |
| Severity: | normal | Keywords: | |
| Cc: | ridesign |
Description
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)
comment:1 Changed 4 years ago by ridesign
- Cc ridesign added
comment:2 Changed 13 months ago by garyc40
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 13 months ago by garyc40
In [550285]:
Note: See
TracTickets for help on using
tickets.

In [550276]: