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: PHP Code

// TXP 4.6 tag registration
if (class_exists('\Textpattern\Tag\Registry')) {
Txp::get('\Textpattern\Tag\Registry')
->register('mkp_if_amp')
;
}

function mkp_if_amp($atts, $thing='')
{

	global $variable;

	// preg_replace("|^https?://[^/]+|i", "", serverSet('REQUEST_URI')) was copied from the function preText in publish.php

	$parts = explode('/', preg_replace("|^https?://[^/]+|i", "", serverSet('REQUEST_URI')), 5);

	// if the url ends in 'amp' this will return true; otherwise false
	 
	return (end($parts) == 'amp') ? parse(EvalElse($thing, true)) : parse(EvalElse($thing, false));
}

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