Saturday , April 19 2025

iryna

Hi there! My name is Iryna, I am a web developer from Ukraine. While working on freelance projects I often face different technical issues and in this blog I publish articles on how to solve them. I am also interested in digital drawing and in this blog you will find brief tutorials that helped me and hopefully can help you as well.

Popup images not working in WordPress Total theme

Description of the problem – pictures pop up using all kinds of carousels from Total theme, but when customizing the output of a pop-up thumbnail for a blog (see example below), these pictures did not pop up with class=”wpex-lightbox”. The problem is that Total theme scripts are not displayed on …

Read More »

How to hide unwanted menu items in WordPress admin

When there is a case – disable unused or system sections and tabs in the admin panel on the left, you can use this code for functions.php with a description in the comments: add_action('admin_menu', 'remove_admin_menu'); function remove_admin_menu() { //remove_menu_page('options-general.php'); // Delete the Settings section remove_menu_page('tools.php'); // Instruments remove_menu_page('users.php'); // Users …

Read More »

Automatically text replacement via WordPress function

Someday I will describe the way of creating a multisite for WordPress without database clones and installing plugins. But in this article I am describing a solution when several sites work with the same database and with the same admin panel, and for example, for a subdomain I need to …

Read More »

301 redirect to https via WordPress function

I don’t remember why I needed this solution at all, most likely because of infinitive redirects after editing .htaccess file. Below is a redirect option via functions.php: function force_https () { if ( !is_ssl() ) { wp_redirect('https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 301 ); exit(); } } add_action ( 'template_redirect', 'force_https', …

Read More »

301 redirect to https for WordPress multisite

The multisite mode in this case is when the main domain and its subdomains work in the same base and the subdomains are a mirror of the main site. If I add a standard 301 redirect to .htaccess then subdomains via http subdomains start redirecting to the main site. This …

Read More »