You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1class="masthead" itemprop="name"><arel="home" itemprop="url" href="https://textpattern.com/" title="Go to the Textpattern homepage">Textpattern CMS</a></h1>
Copy file name to clipboardExpand all lines: tags/category1.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ layout: document
3
3
category: Tags
4
4
published: true
5
5
title: Category1
6
-
description: The category1 tag will display information of the category as defined by 'Category 1' of the article being displayed.
6
+
description: The category1 tag will display the category as defined by 'Category 1' in the article being displayed.
7
7
tags:
8
8
- Article tags
9
9
- Navigation tags
@@ -22,7 +22,7 @@ tags:
22
22
<txp:category1 />
23
23
~~~
24
24
25
-
The **category1** tag can be used as either a *single* tag or *container* tag. It will display information of the category as defined by **Category 1**of the article being displayed. When used as a containing tag, it will turn the contents into a link to that category. Otherwise, it will return plain text.
25
+
The **category1** tag can be used as either a *single* tag or *container* tag. It will display the category as defined by **Category 1**in the article being displayed. When used as a container tag, it will turn the contents into a link to that category. Otherwise, it will return plain text.
26
26
27
27
This tag may be used within either an article form, or in a page, wrapped in an [if_individual_article](/tags/if_individual_article) conditional tag.
28
28
@@ -50,17 +50,9 @@ Tag will accept the following attributes (**case-sensitive**):
50
50
: **Values:**`0` (no, allow from any section) or `1` (yes).
51
51
: **Default:**`0`.
52
52
53
-
### Common presentational attributes
53
+
{% include atts-common.html breakby="" %}
54
54
55
-
These attributes, which affect presentation, are shared by many tags. Note that default values can vary among tags.
Copy file name to clipboardExpand all lines: tags/site_slogan.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,15 @@ tags:
21
21
<txp:site_slogan />
22
22
~~~
23
23
24
-
The **site_slogan** is a *single* tag which is used to output the site's tagline (labeled as 'Site slogan' in the [Preferences panel](/administration/preferences-panel)).
24
+
The **site_slogan** is a *single* tag which is used to output the site's tagline (labeled as 'Site slogan' in the Preferences panel).
25
25
26
-
The slogan is a brief (255 characters maximum) tagline or description of your site which can be used, for example, in XML feeds.
26
+
The slogan is a brief (255 characters maximum) tagline or description of your site which can be used, for example, in XML feeds or site browser headers.
Copy file name to clipboardExpand all lines: tags/site_url.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,9 @@ tags:
21
21
<txp:site_url />
22
22
~~~
23
23
24
-
The **site_url** tag is a *single* tag which returns the full URL of the site (as defined in the [Preferences panel](/administration/preferences-panel)) as text. If you maintain local development versions of your live sites and import databases between them, then this tag is extremely valuable for ensuring your domain links are never confused (and thus broken) between the two locations (see example 1, below).
24
+
The **site_url** tag is a *single* tag which returns the full URL of the site (as defined in the Preferences panel) as text. If you maintain local development versions of your live sites and import databases between them, then this tag is extremely valuable for ensuring your domain links are never confused (and thus broken) between the two locations (see example 1, below).
25
+
26
+
For more general purpose access to URLs and their components, please see the [page_url](/tags/page_url) tag, which includes admin (back-end) site links for both regular and multi-site installations, theme links and paths, and URL parameters.
25
27
26
28
## Attributes
27
29
@@ -31,6 +33,8 @@ Tag will accept the following attribute (**case-sensitive**):
31
33
: Specify this if you wish to return the URL to the admin-side instead of the public site.
0 commit comments