Skip to content

Commit fa181a2

Browse files
authored
Tweak custom_field tag
1 parent e276671 commit fa181a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: tags/custom_field.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ HTML returned would be:
6363
</p>
6464
~~~
6565

66-
### Example 2: Power A linklog
66+
### Example 2: Power a linklog
6767

68-
With an article title of `Textpattern`, an excerpt of `Textpattern is awesome!`, a custom field named `link` containing `https://textpattern.com/`, and an 'article' type form like the following:
68+
With an article title of `Textpattern`, an excerpt of `Textpattern is awesome!`, a custom field named `Link_url` containing `https://textpattern.com/`, and an 'article' type form like the following:
6969

7070
~~~ html
7171
<article class="linklog-entry">
7272
<h1>
73-
<a href="<txp:custom_field name="Link" />"><txp:title /></a>
73+
<a href="<txp:custom_field name="Link_url" />"><txp:title /></a>
7474
</h1>
7575
<p>
7676
<time datetime="<txp:posted format="iso8601" />" itemprop="datePublished">

0 commit comments

Comments
 (0)