optimized HTML and texts
This commit is contained in:
parent
281ed2a8c2
commit
68955b92db
1 changed files with 35 additions and 35 deletions
|
@ -6,43 +6,43 @@
|
||||||
'title' => \__( 'Template Tags', 'activitypub' ),
|
'title' => \__( 'Template Tags', 'activitypub' ),
|
||||||
'content' =>
|
'content' =>
|
||||||
'<p>' . __( 'The following Template Tags are available:', 'activitypub' ) . '</p>' .
|
'<p>' . __( 'The following Template Tags are available:', 'activitypub' ) . '</p>' .
|
||||||
'<dl>
|
'<dl>' .
|
||||||
<dt><code>[ap_title]</code></dt>
|
'<dt><code>[ap_title]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s title.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s title.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_content]</code></dt>
|
'<dt><code>[ap_content]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s content.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s content.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_excerpt lenght="400"]</code></dt>
|
'<dt><code>[ap_excerpt lenght="400"]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s excerpt (default 400 chars). length parameter is optional.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s excerpt (default 400 chars). <code>length</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_permalink type="url"]</code></dt>
|
'<dt><code>[ap_permalink type="url"]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s permalink. Type can be either: <code>url</code> or <code>html</code> (an <a /> tag to the url).', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s permalink. Type can be either: <code>url</code> or <code>html</code> (an <a /> tag). <code>type</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_shortlink type="url"]</code></dt>
|
'<dt><code>[ap_shortlink type="url"]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s shortlink. Type can be either <code>url</code> or <code>html</code> (an <a /> tag to the url). I can recommend <a href="https://wordpress.org/plugins/hum/" target="_blank">Hum</a>, to prettify the Shortlinks.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s shortlink. Type can be either <code>url</code> or <code>html</code> (an <a /> tag). I can recommend <a href="https://wordpress.org/plugins/hum/" target="_blank">Hum</a>, to prettify the Shortlinks. <code>type</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_hashtags]</code></dt>
|
'<dt><code>[ap_hashtags]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s tags as hashtags.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s tags as hashtags.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_hashcats]</code></dt>
|
'<dt><code>[ap_hashcats]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s categories as hashtags.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s categories as hashtags.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_image type=full]</code></dt>
|
'<dt><code>[ap_image type=full]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The URL for the post\'s featured image, defaults to full size. The type attribute can be any of the following: <code>thumbnail</code>, <code>medium</code>, <code>large</code>, <code>full</code>', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The URL for the post\'s featured image, defaults to full size. The type attribute can be any of the following: <code>thumbnail</code>, <code>medium</code>, <code>large</code>, <code>full</code>. <code>type</code> attribute is optional.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_author]</code></dt>
|
'<dt><code>[ap_author]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The author\'s name.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The author\'s name.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_authorurl]</code></dt>
|
'<dt><code>[ap_authorurl]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The URL to the author\'s profile page.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The URL to the author\'s profile page.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_date]</code></dt>
|
'<dt><code>[ap_date]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s date.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s date.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_time]</code></dt>
|
'<dt><code>[ap_time]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s time.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s time.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_datetime]</code></dt>
|
'<dt><code>[ap_datetime]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The post\'s date/time formated as "date @ time".', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The post\'s date/time formated as "date @ time".', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_blogurl]</code></dt>
|
'<dt><code>[ap_blogurl]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The URL to the site.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The URL to the site.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_blogname]</code></dt>
|
'<dt><code>[ap_blogname]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The name of the site.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The name of the site.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
<dt><code>[ap_blogdesc]</code></dt>
|
'<dt><code>[ap_blogdesc]</code></dt>' .
|
||||||
<dd>' . \wp_kses( __( 'The description of the site.', 'activitypub' ), 'default' ) . '</dd>
|
'<dd>' . \wp_kses( __( 'The description of the site.', 'activitypub' ), 'default' ) . '</dd>' .
|
||||||
</dl>' .
|
'</dl>' .
|
||||||
'<p>' . __( 'You may also use any Shortcode normally available to you on your site, however be aware that Shortcodes may significantly increase the size of your content depending on what they do.', 'activitypub' ) . '</p>' .
|
'<p>' . __( 'You may also use any Shortcode normally available to you on your site, however be aware that Shortcodes may significantly increase the size of your content depending on what they do.', 'activitypub' ) . '</p>' .
|
||||||
'<p>' . __( 'Note: the old Template Tags are now deprecated and automatically converted to the new ones.', 'activitypub' ) . '</p>' .
|
'<p>' . __( 'Note: the old Template Tags are now deprecated and automatically converted to the new ones.', 'activitypub' ) . '</p>' .
|
||||||
'<p>' . \wp_kses( \__( '<a href="https://github.com/pfefferle/wordpress-activitypub/issues/new" target="_blank">Let me know</a> if you miss a template pattern.', 'activitypub' ), 'activitypub' ) . '</p>',
|
'<p>' . \wp_kses( \__( '<a href="https://github.com/pfefferle/wordpress-activitypub/issues/new" target="_blank">Let me know</a> if you miss a Template Tag.', 'activitypub' ), 'activitypub' ) . '</p>',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue