How to remove the link from the date in the Twenty Sixteen WordPress theme

Remove date link from WordPress

Remove date link from WordPress

If you want to remove the link from the date field in the meta-information of the WordPress Twenty Sixteen theme, follow the following steps:

1. Create a child theme

A child theme is a theme which inherits its style and behaviour from its parent theme, but allows you to modify functions and styles. These changes are kept upon a theme update. If you don’t create a child theme, you’ll lose your changes when the theme is updated.

To create a child theme you can refer to How to create a child theme in Twenty Sixteen.

2. Add the twentysixteen_entry_date() function to functions.php of your child theme

Now you only have to add the following function to your functions.php file of your child theme. The function is quite similar to its parent version, but the link from the date field has been removed.

That’s all!