Article formats - GavickPro/GK-News-Show-Pro GitHub Wiki

Article format is an useful functionality which can be used to achieve own article HTML structure. Currently you can use the article formats in the default article wrapper.

You can create own article formats in the article_formats directory inside the widget catalog. Your file with the article format must have the .format file extension.

Below there is presented the test article format which uses all tags available in the wp data source:

ID: {ID}<br />
URL: {URL}<br />
TITLE: {TITLE}<br />
ESCAPED TITLE: {TITLE_ESC}<br />
TEXT: {TEXT}<br />
RESIZED IMAGE: {IMAGE}<br />
IMAGE_FULL: {IMAGE_FULL}<br />
IMAGE_LARGE: {IMAGE_LARGE}<br />
IMAGE_MEDIUM: {IMAGE_MEDIUM}<br />
IMAGE_THUMBNAIL: {IMAGE_THUMBNAIL}<br />
CATEGORIES: {CATEGORIES}<br />
AUTHOR_ID: {AUTHOR_ID}<br />
AUTHOR_NAME: {AUTHOR_NAME}<br />
AUTHOR_URL: {AUTHOR_URL}<br />
DATE: {DATE}<br />
DATE IN W3C FORMAT: {DATE_W3C}<br />
COMMENT_COUNT: {COMMENT_COUNT}<br />
COMMENTS: {COMMENTS}<br />

You can use the available tags in the following structure:

<h3>
	<a href="{URL}">{TITLE}</a>
</h3>
<p>{TEXT}</p>

You can select the article format in the article layout settings tab:

Article layout selector

⚠️ **GitHub.com Fallback** ⚠️