4 new WordPress code snippets

Hiding extra items in the user profile

In this case, it can be noted that the code hides the color scheme, which often prevents users from working..

Removing the generator tag in WordPress rss.

This is useful for protecting your website from being hacked., without knowing the version of the site and on which engine it was created, it will be harder for a hacker to hack your site.

Embed iframe in wordpress

Add the suggested code snippet to your theme's functios.php file.

After creating a shortcode, you can paste it in the place you need:

We change the standard inscription “Forgot password?” to “Recover password?”

This change will look like this:

wordpress меняем надписи в админке

This method is also perfect for replacing other inscriptions or for translating individual parts of the admin panel into Russian.

Code checked, it works great.


Buy WordPress hosting
/* WordPress tutor
Online tutoring services. List of courses I teach
  • Basic web design course;
  • Site layout;
  • General course on CMS WordPress and continuation of the course on template development;
  • Website development in PHP.
Read more on the page WordPress tutor
*/

Nikolaenko Maxim

Director of web studies ProGrafika. I am developing, website design and promotion. Always glad to new blog readers and good clients.


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Templates for WordPress
The best hosting in Ukraine
Stable hosting for Drupal