Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/blogpocket/ocultar-imagenes/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Hide Images
Allows the administrator to hide all images on the website, replacing them with their alt text or a customizable default message. This plugin is intended to support World Sight Day and promote the use of the ALT parameter.
Upload and Install the Plugin
- Use an FTP client or your hosting's file manager to upload the zip file to the WordPress plugins folder: /wp-content/plugins/ocultar-imagenes.
- Go to the WordPress admin panel.
- Navigate to Plugins Installed Plugins.
- Find "Ocultar Imágenes" and click Activate.
Steps to add CSS to your site
Locate your CSS stylesheet
- If you're using a child theme, add the code to your child theme's style.css file.
- If you're not using a child theme, you can add the CSS in the WordPress customizer:
- Go to Appearance Customize Additional CSS.
- You can also use a plugin specifically for adding custom CSS, such as Simple Custom CSS or Custom CSS and JS.
Add CSS code
- Copy the code provided in the alt-text.css file and paste it in the appropriate location depending on the method you chose.
- Make sure not to delete or alter the existing code unless you know what you're doing.
Save changes
- If you're using the customizer, click t