Saturday , February 22 2025

Webmaster notes

Joomla 1.5 admin panel in Virtuemart does not open sections and icons are not loaded

Today I got this problem on an old project where the entire admin panel worked correctly, but for Virtuemart all links looked like http://domain.ruadministrator/index.php?pshop_mode=admin&page=product.product_list&option=com_virtuemart. There should be a slash after the domain, but there is no slash, and therefore all Virtuemart sections in the admin panel do not work. An …

Read More »

How to add any text at the end of the menu in WordPress

Now many templates include menus with 100 percent width, and then there is a case – for example, place icons on the right, or insert contacts for mobile devices in the opening menu block. There is a function to implement: add_filter( 'wp_nav_menu_items', 'my_custom_menu_block', 10, 2 ); function my_custom_menu_block ( $items, …

Read More »

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 »