Limit content size

You could enable links, images and other tags for use with the_excerpt. This might be the most simple solution, but it will apply to all excerpts: <?php function my_excerpt_custom($text) { $raw_excerpt = $text; if ( ” == $text ) { $text = get_the_content(”); $text = strip_shortcodes( $text ); $text = apply_filters(‘the_content’, $text); $text = str_replace(‘]]>’, … Read more

Plugin List Category: post custom field doesn’t show anything [closed]

still don’t know what exactly fixed it. but now it’s all right. i have also found another way to show custom fields: if you want to show a specific field in a specific place, in the CartListDisplayer.php, add to the function lcp_build_post anywhere you like: $lcp_display_output .= get_post_meta($single->ID, ‘featured’, true); where featured is the name … Read more

How do I remove link in posts titles

It’s not an expected behavior for the plugin, though I could make the link something more generic. In the meantime, you can manually change the code on your CatListDisplayer.php file, search for this: private function get_post_title($single, $tag = null, $css_class = null){ return ‘<a href=”‘ . get_permalink($single->ID).'”>’ . $single->post_title . ‘</a>’; } Remove the a … Read more