Jetpack—a versatile WordPress plugin—enhances the media handling experience by incorporating a feature that allows users to seamlessly link their Google Photos, Openverse, and Pexels collections to their website. Users can easily browse and select images directly from these external libraries when working on posts or pages. However, at times, someone might prefer the sole use of WordPress’s native Media Library for their image sourcing needs.
To streamline the UI and revert to just the WordPress core offering, a specific code snippet can be applied. By injecting this code into the website’s functions.php file it effectively removes the external media options provided by Jetpack. This simplification ensures that the image insert function within the block editor will prompt only the WordPress Media Library without the additional external sources.
To remove Google Photos from your website, you’ll need to identify how the photos are integrated into your site and then follow the steps to remove or disable that integration. Here are some common scenarios and steps to remove Google Photos:
Embedded Photos or Albums:
If you have embedded individual Google Photos or albums directly into your web pages, you will find specific <iframe>, <img> tags, or links that reference Google Photos.
To remove these, you’ll need to edit the HTML of your webpage. Locate the tags that link to or display Google Photos and remove them. This could be done by editing the HTML file directly or through a website editor if you use a content management system (CMS) like WordPress.
Linked Google Photos API:
If your website uses the Google Photos API to display photos, you’ll need to remove or modify the API integration.
Check your website’s source code for any scripts that call the Google Photos API. This will typically be in JavaScript files or embedded within HTML pages.
Remove the API keys and any scripts that fetch or display photos from Google Photos. This might require adjustments in your website’s functionality if the API calls are integrated into larger features.
Plugins or Widgets:
If your website uses a plugin or widget to display Google Photos (common in CMSs like WordPress, Joomla, or Drupal), you can simply disable or remove the plugin.
Go to the plugin or widget settings within your CMS’s admin panel and either deactivate it or uninstall it.
Check for Cached Data:
After removing the photos or API integrations, clear your website’s cache to ensure that none of the old content remains visible to visitors.
You might also want to clear the browser cache or check the site from a different browser to make sure the changes have been applied correctly.
If you’re not sure how Google Photos are integrated into your website, you might need to consult with a web developer or review the documentation of your website’s platform or any third-party services you use.
Isaac Adams-Hands is the SEO Director at SEO North, a company that provides Search Engine Optimization services. As an SEO Professional, Isaac has considerable expertise in On-page SEO, Off-page SEO, and Technical SEO, which gives him a leg up against the competition.