When filing, need to display the record number, and the WordPress default template itself does not carry this information, in order to more quickly deal with the record, the solution is as follows:
According to Wp-config.php's tips
.......... /* */definetrue); ...........
Select menu, Settings, General-Edit record number information
Add a line of code in the footer.php of the theme you use, so that the ICP record number added to the WordPress background can be displayed.
Choose menu: Appearance-edit-Find footer.php Add the following information
' Zh_cn_l10n_icp_num ' );? >
You can add the appropriate style, such as:
<spanclass= "Site-title"><ahref= "http://www.miitbeian.gov.cn/"rel= "External nofollow"Target= "_blank"><?php echo get_option (' Zh_cn_l10n_icp_num ');?></a></span><spanclass= "Site-title"><ahref= "<?php echo esc_url (Home_url ('/'));?>"rel= "Home"><?php bloginfo (' name ');?></a></span>
Display effect:
WordPress Display record number