Deprecated: Non-canonical cast (double) is deprecated, use the (float) cast instead in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line 216 Deprecated: Non-canonical cast (boolean) is deprecated, use the (bool) cast instead in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line 235 Deprecated: Non-canonical cast (double) is deprecated, use the (float) cast instead in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/wordfence/lib/wfConfig.php on line 2008 Deprecated: Non-canonical cast (binary) is deprecated, use the (string) cast instead in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/wordfence/lib/wfMD5BloomFilter.php on line 79 Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/wordfence/modules/login-security/classes/controller/settings.php on line 285 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/init.php:21) in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/onecom-vcache/vcaching.php on line 621 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/init.php:21) in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/onecom-vcache/vcaching.php on line 629

Tilføj taxnonimes tekst til .php

Navn

Hvis man ønsker at indsætte titlen på kategorien i custom post, anvendes nedestående:

    <!--    Henter kategorien på indlæget fra WordPress-->
    <h1><?php single_cat_title();?></h1>

Beskrivelse

Ligeledes kan beskrivelsen tilføjes:

    <!--    Henter beskrivelsen på kategorien fra WordPress-->    
    <p><?php the_archive_description();?></p>

Eksempel

I wordpress:

På website: