From e529b19b8bb54b2090a91ff930b3adb839b40f03 Mon Sep 17 00:00:00 2001 From: mdingemanse Date: Sun, 26 Nov 2023 21:18:03 +0100 Subject: [PATCH] Clarifying what [ap_excerpt] does (#578) * clarifying excerpt * Update help.php to clarify what [ap_excerpt] does --- includes/help.php | 2 +- templates/settings.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/help.php b/includes/help.php index d593d3e..0906d24 100644 --- a/includes/help.php +++ b/includes/help.php @@ -12,7 +12,7 @@ '
[ap_content apply_filters="yes"]
' . '
' . \wp_kses( __( 'The post\'s content. With apply_filters you can decide if filters (apply_filters( \'the_content\', $content )) should be applied or not (default is yes). The values can be yes or no. apply_filters attribute is optional.', 'activitypub' ), array( 'code' => array() ) ) . '
' . '
[ap_excerpt length="400"]
' . - '
' . \wp_kses( __( 'The post\'s excerpt (default 400 chars). length attribute is optional.', 'activitypub' ), array( 'code' => array() ) ) . '
' . + '
' . \wp_kses( __( 'The post\'s excerpt (uses the_excerpt if that is set). If no excerpt is provided, will truncate at length (optional, default = 400).', 'activitypub' ), array( 'code' => array() ) ) . '
' . '
[ap_permalink type="url"]
' . '
' . \wp_kses( __( 'The post\'s permalink. type can be either: url or html (an <a /> tag). type attribute is optional.', 'activitypub' ), array( 'code' => array() ) ) . '
' . '
[ap_shortlink type="url"]
' . diff --git a/templates/settings.php b/templates/settings.php index 5ce90e1..642ab16 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -93,7 +93,7 @@ - - +

@@ -125,7 +125,7 @@