[Resolved] Limit text lenght on post_meta
I have some custom post type with custom meta boxes. On one of this boxes, I need to limit text length on the archive page.
I made a google search but I find nothing about that. Any idea?
Here is my query to get the meta:
<?php if ( get_post_meta($post->ID, '_gncom_mbe_bio' ,true) ) : ?> <?php echo get_post_meta($post->ID, '_gncom_mbe_bio' ,true); ?> <?php endif; ?>
“_gncom_mbe_bio” is the value for the biography custom meta boxe.
Here is the website with the custom post type archive page.
- The topic ‘[Resolved] Limit text lenght on post_meta’ is closed to new replies.