Tag error: <txp:smd_bio_info fields="image"> ->  Textpattern Notice: unregistered_tag while parsing form amplify-style on page article
textpattern/lib/txplib_publish.php:518 trigger_error()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php:4363 parse()
textpattern/publish/taghandlers.php:487 parse_form()
output_form()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:514 Textpattern\Tag\Registry->process()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php:4363 parse()
textpattern/publish/taghandlers.php:487 parse_form()
Tag error: <txp:smd_bio_data field="image" /> ->  Textpattern Notice: unregistered_tag while parsing form amplify-style on page article
textpattern/lib/txplib_publish.php:518 trigger_error()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php:2573 parse()
textpattern/lib/txplib_publish.php:514 splat()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php(1782) : eval()'d code:1910 parse()
smd_bio_info()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:519 Textpattern\Tag\Registry->process()
textpattern/lib/txplib_publish.php:463 processTags()
Tag error: <txp:smd_if_bio field="github"> ->  Textpattern Notice: unregistered_tag while parsing form amplify-icon-github on page article
textpattern/lib/txplib_publish.php:518 trigger_error()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php:4363 parse()
textpattern/publish/taghandlers.php:487 parse_form()
output_form()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:514 Textpattern\Tag\Registry->process()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php(1782) : eval()'d code:1910 parse()
smd_bio_info()
Tag error: <txp:upm_datetime format="%Y"/> ->  Textpattern Notice: unregistered_tag while parsing form default-amplify on page article
textpattern/lib/txplib_publish.php:518 trigger_error()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php:4363 parse()
textpattern/publish.php:1082 parse_form()
textpattern/publish.php:1110 doArticle()
textpattern/publish.php:696 parseArticles()
article()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:514 Textpattern\Tag\Registry->process()
textpattern/lib/txplib_publish.php:463 processTags()
> AMP Demo: mkp_if_amp Documentation

mkp_if_amp

This conditional tag examines the url of the current page and determines if the url ends in ‘amp.’ This allows for a custom page to be rendered using the standards for Google’s Accelerated Mobile Pages Project.

Links

mkp_if_amp

Attributes

None

Examples

You will want some code similar to this in your individual article template header so that the amp page can be properly detected.

<txp:if_individual_article>
 <link rel="canonical" href="<txp:permlink />">
 <link rel="amphtml" href="<txp:permlink />/amp/">
</txp:if_individual_article>

You will want something similar to this in your individual article template to display the alternative formatting.

<txp:mkp_if_amp>
 <txp:output_form form="layout_archives_amp" />
<txp:else />
 <txp:output_form form="layout_archives_standard" />
</txp:_mkp_if_amp>

Release History

Version 1.0: March 24th, 2016

Mea suas vituperatoribus et, virtute corpora quaestio cum ut. Ne solet nostrum complectitur pri, vis ut inani populo.

{% include icon-github.svg %}michaelkpate @michaelkpate yes


Published