This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Advanced Code Editor | |
| Deactivate | |
| Enables syntax highlighting in the integrated themes and plugins source code editors with line numbers, AutoComplete and much more. Supports PHP, HTML, CSS and JS. | |
| Version 2.2.7 | By BaInternet | View details | Other Plugins by this author | Plugin Support | Donate | |
| Select Advanced Random Posts Widget | |
| Advanced Random Posts Widget | |
| Deactivate | |
| Easily to display advanced random posts via shortcode or widget. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Filter the except length to 10 words. | |
| * | |
| * @param int $length Excerpt length. | |
| * @return int (Maybe) modified excerpt length. | |
| */ | |
| function wpdocs_custom_excerpt_length( $length ) { | |
| return 10; | |
| } | |
| add_filter( 'excerpt_length', 'wpdocs_custom_excerpt_length', 999 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Filter the "read more" excerpt string link to the post. | |
| * | |
| * @param string $more "Read more" excerpt string. | |
| * @return string (Maybe) modified "read more" excerpt string. | |
| */ | |
| function wpdocs_excerpt_more( $more ) { | |
| return sprintf( '<a class="read-more" href="%1$s">%2$s</a>', | |
| get_permalink( get_the_ID() ), | |
| __( 'Read More', 'textdomain' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container-fluid"> | |
| <?php get_header(); ?> | |
| <div class="row"> | |
| <?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
| <div class="col-xs-6 col-sm-6 col-md-2 col-lg-2 justify-content: center"> | |
NewerOlder