Skip to content

Commit d0be4f6

Browse files
committed
Update search_result_title example
1 parent 65a58fe commit d0be4f6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tags/search_result_title.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ This tag has no attributes of its own. It accepts only the {% include atts-globa
3232
### Example 1: Display a hyperlinked title to an article
3333

3434
~~~ html
35-
<h3>
36-
<txp:search_result_title />
37-
<txp:search_result_date />
38-
</h3>
35+
<txp:search_result_title wraptag="h3" />
36+
<txp:posted wraptag="p" class="date" />
3937
~~~
4038

4139
In a search results form, this shows the title of an article that matched the visitor's search results, and its posted date.
4240

43-
Other tags used: [search_result_date](/tags/search_result_date).
41+
Other tags used: [posted](/tags/posted).

0 commit comments

Comments
 (0)