Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

mta_article_id

This plug-in implements a single tag (mta_article_id) which is intended as a replacement for the built-in article_id tag in and is used to return the numeric “ID” or, optionally, the “URL title” (as would be seen if “Clean URLs” are turned on) of the article being displayed.

Syntax

The mta_article_id tag has the following syntactic structure:

<txp:mta_article_id />

Attributes

The mta_article_id tag will accept the following attribute (note: attributes are case sensitive):

url_title=“integer”

When set to 1, returns the “URL title” of the article instead of the numerical “ID”. Available values: 1 or 0 (default).

Examples

<a name="<txp:mta_article_id url_title="1" />"><txp:title /></a>

<div id="<txp:mta_article_id url_title="1" />" class="article"> ... </div>

Article Request Count:
Keywords/tags:
Initially released:
2006-12-11
Posted here:
13 Dec 2006

You know you want to visit the Archives.
Published with Textpattern