If you’re working with custom post types in WordPress, you may have noticed that all post formats for the default post type automatically apply to custom post types as well. Depending on the type of post, this does not always make sense to use the post formats such as “imag ...
WordPress
Remove date / time from WordPress comments
By default, the date and time of a comment are displayed in WordPress. Basically, it is always a theme decision how comments are displayed. Sometimes less is more and the commenting time should be removed in the design point of view. How can I hide the date? We use the WordPress filter ...
Anonymize IP address of WordPress comments
In the context of the European privacy policy regulations some regulations for web page owners are to be considered. This includes, among other things, the anonymization of the IP address of commentators. Because according to privacy policy regulations, the IP address is a personal dat ...
Remove the URL field in the WordPress comments form
As we know, comments are often misused by website visitors to get external links. Outgoing links are now automatically marked with the rel="nofollow" attribute. Nevertheless, many comments are based still on the intention to get an external link. Such spam comments often have little me ...
Add WordPress images to the RSS feed
By default, if you have enabled the WordPress RSS feed, images will not be included in the RSS feed. However, it makes sense to include a post image in the RSS feed. For example, internet portals read a RSS feed of a website to display the title and text of a post. Often a field ...
Custom image sizes for your WordPress theme
WordPress has 5 default formats for image sizes, which are automatically created every time after uploading an image file. It will be stored in the media folder ../wp-content/uploads/../. The default image sizes are the following: Thumbnail (150px x 150px max.) Medium resolution (300px ...
Customize the default WordPress Image Compression
WordPress uses its own compression for images that are uploaded directly into WordPress. This happens automatically every time you upload an image. By default, the compression level of 82% is used. This ensures that the file size of images is reduced, but the image quality is not compr ...
Customize or Modify the WordPress Post Excerpt
WordPress comes with own functions, such as get_the_excerpt() or the_excerpt(), to output a short version of the post content. This short description can be entered individually for each post. How can I change the length of the excerpt? A short description may be slightly longer or sho ...