This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Grabber Widget


The HTML Grabber Widget was developed by Acumen
in order to provide a way to insert HTML from local or external webpages within your WordPress pages.

Once the plugin is installed, you will have a new Widget shown in the Appearance section, which you’ll be able to
drag into your sidebar. From there, you can configure the page settings, including an xPath query to the element
that you want to include in the sidebar.


  • Configuration options for the Grabber Sidebar Widget


This section describes how to install the plugin and get it working.

  1. Upload the plugin to it’s own directory within /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the widget to a sidebar in Appearance > Widgets and/or use the [grabber] shortcode
  4. Set up either the widget or the shortcode with the following fields:
    • Add the URL to the webpage you want to capture from
    • Set the selector type, either id or xpath.
    • Set up the element selector, using either xPath syntax or the element ID
  5. For the shortcode, the format should be [grabber url= element=myElement type=id]
  6. Enjoy!


What format can I specify HTML elements using?

Currently, we are using PHP’s DomXPath object. We have added support for choosing
an element by ID. However, if you were writing this yourself using the xPath syntax, you would use the syntax //*[@id='myElementId'].
We hope to support jQuery to support parsing of pages via a proxy using AJAX.

Contributors & Developers

“Grabber Widget” is open source software. The following people have contributed to this plugin.


Translate “Grabber Widget” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Initial release using DOMXPath


  • Added shortcode format