Depending on how your site was built, social media icons can be stored in different locations or referenced dynamically. Here are the common scenarios:
1. Icons in WordPress Themes
Many themes come with built-in social media icons. These are often stored as:
- Font icons (like Font Awesome or Ionicons)
- SVG files stored in theme folders (usually /wp-content/themes/your-theme/assets/icons/)
- PNG/JPG images placed in a theme’s image folder
How to Locate:
- Use FTP or File Manager to explore your active theme folder.
- Navigate to the assets, img, or images subfolders.
- Search for files named facebook.svg, twitter.png, linkedin.svg, etc.
How They’re Used:
- Hardcoded in theme files like header.php, footer.php, or sidebar.php
- Dynamically loaded via theme options or customizer settings
2. Icons via Plugins
Social media plugins often bundle their own icon sets. Some popular examples:
- Simple Social Icons
- Smash Balloon Social Media Feed
- Social Warfare
These plugins may:
- Use font icon libraries (e.g., Font Awesome)
- Store images inside plugin directories
- Load assets via CDNs for speed and optimization
How to Locate:
- Visit /wp-content/plugins/plugin-name/
- Look for folders like /images/, /assets/icons/, or /includes/fonts/
Example:
/wp-content/plugins/simple-social-icons/images/facebook.svg
3. Icons Added via Page Builders (Elementor, Divi, etc.)
Modern page builders like Elementor, WPBakery, or Divi offer drag-and-drop social icons. These are often sourced from:
- Font libraries (like Font Awesome)
- Media uploads (custom icons you upload)
Elementor Example:
- Icons are embedded using Font Awesome by default.
- You can override them by uploading custom SVG or PNG icons.
How to Locate:
- Check Elementor’s Icon Library.
- For custom uploads, check the Media Library or wp-content/uploads/
4. Custom Code (Hardcoded Icons)
In custom themes or bespoke development, social media icons might be hardcoded directly into template files using <img>tags or SVGs.
Where They’re Stored:
- In the theme folder, often under /images/, /icons/, or /assets/
Example Code:
<a href=”https://twitter.com/yourprofile”>
<img src=”/wp-content/themes/mytheme/assets/icons/twitter.svg” alt=”Twitter”>
</a>
Leave a Reply