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

With plugin-list-category-post is there a way of sorting titles by a date?

This is a bit hacky, but you could create your own template and then reformat the date. start by creating a folder list-category-posts in your theme directory. copy the default.php template there from the plugin’s templates folder, and rename it custom.php, or whatever you’d like. within that custom.php file, find the line: //Show the title … Read more

Multilanguage Post Titles not Translating with List Category Posts Plugin [closed]

I found a hint towards the solution exactly where you advised me. I think the solution was a bit outdated, but with a bit of digging, I made the following change: in file include/CartListDisplayer.php, in function get_post_title() I added the following code in first line before anything else: if ( function_exists( ‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’ ) ) { … Read more

error code: 523