How to display links in a WordPress excerpt?

Allowing link in a excerpt very common issue for WordPress users. You can display excerpt link by adding this script to your theme “functions.php” file. remove_filter( ‘the_excerpt’, ‘wp_trim_excerpt’ ); function new_trim_excerpt($text) { global $post; if ( ” == $text ) { $text = get_the_content(”); $text = apply_filters(‘the_content’, $text); $text = str_replace(‘\]\]\>’, ‘]]>’, $text); $text = preg_replace(‘@<script[^>]*?>.*?</script>@si’, ”, $text); … Read more

Speed up WordPress CMS Menu Loading

Overview We can customize the WordPress navigation menus with writing few lines of codes. wp_nav_menu is the WordPress menu function to display custom menus created in domain.com/wp-admin>Appearance>Menus panel . It is a must use function but it’s not perfect for all website or projects. Default menu function OK for small websites but if your site is large and have more … Read more