WP Content Crawler Logo

Contents

  • 1. Getting Started
  • 2. Quick Start
  • 3. Guides
  • 4. Video Tutorials
  • 5. Site Listing Page
  • 6. Site Settings Page
  • 7. General Settings Page
  • 8. Tester Page
  • 9. Dashboard Page
  • 10. Tools Page
  • 11. License Settings Page
  • 12. Common Options
  • 13. Permissions
  • 14. Frequently Asked Questions
    • 14.1. Where is my license key?
    • 14.2. Can I get content from X site?
    • 14.3. Can I save custom fields/taxonomies of a plugin/theme?
    • 14.4. How to change the domain registered to my license
    • 14.5. In how many domains can I use my license?
    • 14.6. I cannot crawl sites that use SSL (https)
    • 14.7. embed, script, and iframe codes are not shown properly, or not shown at all
    • 14.8. How to change PHP version and enable mbstring extension?
    • 14.9. How to remove links from images
    • 14.10. Automatic crawling works only when someone browses my site
    • 14.11. I installed the plugin on a test site and I want to use the plugin with the same license code on another site. Can I do it?
    • 14.12. How to send a support request
    • 14.13. What do I do when admin and FTP login credentials are asked from me?
    • 14.14. The plugin does not work
  • 15. Troubleshooting
  • 16. Changelog
WP Content Crawler
  • 14. Frequently Asked Questions
  • 14.9. How to remove links from images

14.9. How to remove links from images

You can achieve this by using regular expressions. Go to Find and replace in post’s content setting under Templates Tab of Site Settings Page and configure it as follows:

Regex:Checked
Find:<a[^>]+>\s*?(<img[^>]+>\s*?)<\/a>
Replace:$1

This will remove the links of the images. $1 in the replace box represents the img element. So, if there is a link with an image inside, the image will stay, while the link will be removed. Please note that this regex may not work for you. If this is the case, you can use an online regex tester such as Regex101 to create a regex and test it for your case.

Previous Next

© Copyright 2024, WP Content Crawler. Last updated on 07 September 2024 05:46 UTC +0000.

Other Versions v: master
Branches
1.10
1.11
1.12
1.13
1.14
1.15
1.9
master