Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
Execute shortcodes with rich content text
Browse files Browse the repository at this point in the history
  • Loading branch information
aldolat committed Jun 2, 2016
1 parent 76188f9 commit 555d212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions inc/pis-functions.php
Expand Up @@ -518,6 +518,7 @@ function pis_the_text( $args ) {
$content = $pis_query->post->post_content;
// Honor any paragraph break
$content = pis_break_text( $content );
$content = do_shortcode( $content );
$output .= apply_filters( 'pis_rich_content', $content );
break;

Expand Down
2 changes: 1 addition & 1 deletion inc/pis-widget.php
Expand Up @@ -2188,7 +2188,7 @@ public function form( $instance ) {
$this->get_field_name('excerpt'),
$options,
$instance['excerpt'],
sprintf( __( 'For informations regarding these types of text, please see %1$shere%2$s', 'posts-in-sidebar' ), '<a href="https://github.com/aldolat/posts-in-sidebar/wiki/Usage#types-of-text-to-display" target="_blank">', '</a>' )
sprintf( __( 'For informations regarding these types of text, please see %1$shere%2$s.', 'posts-in-sidebar' ), '<a href="https://github.com/aldolat/posts-in-sidebar/wiki/Usage#types-of-text-to-display" target="_blank">', '</a>' )
); ?>

<?php // ================= Excerpt length
Expand Down

0 comments on commit 555d212

Please sign in to comment.