Image Widget
Image Widget is a simple plugin that uses the native WordPress media manager to add image widgets to your site. Image Widget Features Responsive MU Compatible Handles image resizing and alignment Link the image Add title and description Versatile – all fields are optional Upload, link to external image, or select an image from your media collection Customize the look & feel with filter hooks or theme overrides Quality You Can Trust Image Widget is developed and maintained by The Events Calendar, the same folks behind The Events Calendar, Event Tickets, and a full suite of premium plugins. This plugin is actively supported by our team and contributions from community members. If you see a question in the forum you can help with or have a great idea and want to code it up or submit a patch, that would be awesome! Not only will we shower you with praise and thanks, it’s also a good way to get to know us and lead into options for paid work if you freelance. Pull Requests & Translations Check us out on GitHub to pull request changes. Translations can be submitted here on WordPress.org. Documentation The built in template can be overridden by files within your template. Default vs. Custom Templates The Image Widget comes with a default template for the widget output. If you would like to alter the widget display code, create a new folder called “image-widget” in your template directory and copy over the “views/widget.php” file. Edit the new file to your hearts content. Please do not edit the one in the plugin folder as that will cause conflicts when you update the plugin to the latest release. New in 3.2: You may now also use the “sp_template_image-widget_widget.php” filter to override the default template behavior for .php template files. Eg: if you wanted widget.php to reside in a folder called my-custom-templates/ and wanted it to be called my-custom-name.php: add_filter('sp_template_image-widget_widget.php', 'my_template_filter'); function my_template_filter($template) { return get_template_directory() . '/my-custom-templates/my-custom-name.php'; } Filters There are a number of filters in the code that will allow you to override data as you see fit. The best way to learn what filters are available is always by simply searching the code for ‘apply_filters’. But all the same, here are a few of the more essential filters: widget_title This is actually a pretty typical filter in widgets and is applied to the widget title. widget_text Another very typical widget filter that is applied to the description body text. This filter also takes 2 additional arguments for $args and $instance so that you can learn more about the specific widget instance in the process of filtering the content. image_widget_image_attachment_id Filters the attachment id of the image. Accepts additional $args and $instance arguments. image_widget_image_url Filters the url of the image displayed in the widget. Accepts additional $args and $instance arguments. THIS IS DEPRECATED AND WILL EVENTUALLY BE DELETED image_widget_image_width Filters the display width of the image. Accepts additional $args and $instance arguments. image_widget_image_height Filters the display height of the image. Accepts additional $args and $instance arguments. image_widget_image_maxwidth Filters the inline max-width style of the image. Hint: override this to use this in responsive designs 🙂 Accepts additional $args and $instance arguments. Return null to remove this css from the image output (defaults to ‘100%’). image_widget_image_maxheight Filters the inline max-height style of the image. Accepts additional $args and $instance arguments. Return null to remove this css from the image output (defaults to null) image_widget_image_size Filters the selected image ‘size’ corresponding to WordPress registered sizes. If this is set to ‘tribe_image_widget_custom’ then the width and height are used instead. Accepts additional $args and $instance arguments. image_widget_image_align Filters the display alignment of the image. Accepts additional $args and $instance arguments. image_widget_image_alt Filters the alt text of the image. Accepts additional $args and $instance arguments. image_widget_image_link Filters the url that the image links to. Accepts additional $args and $instance arguments. image_widget_image_link_target Filters the link target of the image link. Accepts additional $args and $instance arguments. image_widget_image_attributes Filters a list of image attributes used in the image output. Similar to ‘wp_get_attachment_image_attributes’ Accepts $instance arguments image_widget_link_attributes Filters a list of attributes used in the image link. Similar to ‘wp_get_attachment_image_attributes’ Accepts $instance arguments Have You Supported the Image Widget? If so, then THANK YOU! Also, feel free to add this line to your wp-config.php file to prevent the image widget from displaying a message after upgrades. define( ‘I_HAVE_SUPPORTED_THE_IMAGE_WIDGET’, true ); For more info on the philosophy here, check out our blog post
Top keywords
- image56×6.77%
- widget33×3.99%
- image widget21×2.54%
- filters18×2.18%
- instance15×1.81%
- arguments14×1.69%
- accepts13×1.57%
- instance arguments13×1.57%
- additional12×1.45%
- args12×1.45%
- args and instance12×1.45%
- image widget image12×1.45%
WS Form LITE – Drag & Drop Contact Form Builder
Create Professional, Mobile-Friendly, Accessible Forms for WordPress – For Free! WS Form LITE is a powerful, feature-rich form builder that lets you create fully styled, responsive, and accessible forms. Unlike other plugins, WS Form LITE includes premium-quality features at no cost, such as unlimited forms, customizable styling, submission exporting, and robust anti-spam protection. Perfect for websites of all sizes, WS Form LITE empowers you to build smarter forms with ease. Choose from single-click templates or build your own form for WordPress using the unique drag and drop form editor. Create Beautiful Forms with Ease WS Form LITE includes an incredibly powerful and intuitive form styler, enabling you to design stunning forms directly within WordPress. Whether you’re matching your site’s branding or building custom layouts from scratch, WS Form’s Styler gives you full control over the appearance of your forms, no coding required. Included Features Unlimited Forms Unlimited Submissions Unlimited Styles Accessibility Friendly CaptchaFox Clean HTML 5 Code Cloudflare Turnstile Captcha Data Sources Drag and Drop Layout Editor Elementor Angie Integration Framework Friendly (Bootstrap, Foundation) GDPR Ready Google reCAPTCHA hCaptcha MCP Server Mobile Friendly Multiple Tab Forms Responsive Forms Section Library Send Unlimited Emails Single Click Templates Styler Translation Variables How to Create a Form in WordPress Go to WS Form > Add New. Choose a template or start from a blank form. Use the drag-and-drop editor to add fields. Click “Publish” and embed the form using your preferred page builder. Page Builders Add forms to your website using your favorite WordPress page builder: Beaver Builder Block Editor (Gutenberg) Breakdance Bricks Classic Editor Divi 4 Divi 5 Elementor Etch Oxygen For other builders simply use the WS Form shortcode! Spam Protection WS Form includes a powerful, multi-layer spam protection system to block unwanted submissions automatically. You get both built-in defenses and integrations with leading anti-spam services. Built-in Defenses Honeypot to silently trap bots WordPress NONCE validation Field validation (client-side and server-side) Duplicate submission detection and blocking IP rate limiting and throttling Keyword, domain, user agent, and IP blocking rules Optional server-side custom validation hooks Anti-Spam Fields and Integrations Akismet spam checking CaptchaFox Clearout disposable email detection Cloudflare Turnstile Google reCAPTCHA v2 and v3 hCaptcha Works alongside third-party services such as CleanTalk and OOPSpam Multilingual Forms and Translation Translate your forms using your favorite multilingual plugin, or create different forms per language: Polylang TranslatePress Weglot WPML Manual translation Upgrade to PRO This plugin is the free LITE edition of WS Form PRO. The PRO edition comes with unrivaled additional features: 65+ Feature Rich Field Types Calculated Fields Cascading Select, Checkbox and Radio Fields Conditional Logic Conversational Forms Data Encryption Debug Console E-Commerce Repeatable Sections Save Progress Signatures Statistics Track Visitors … and more! Upgrade to WS Form PRO. PRO Integrations Airtable Akismet Amazon S3 AutomatorWP ActiveCampaign Authorize.Net Accept AWeber Bento Brevo (Sendinblue) Campaign Monitor Clearout Constant Contact ConvertKit dotdigital Drip Dropbox Fluent CRM Freshdesk GetResponse Google Address Google Drive Google Map Google Sheets Groundhogg HighLevel HubSpot iContact InstaWP Klaviyo Laposta LeadConnector Mailchimp MailerLite MailPoet Mailster Make Modula Mollie Moosend Notion OpenAI PayPal Checkout PDF Pipedrive Post Management Salesforce Slack Stripe Elements Twilio User Management Webex WooCommerce WP Fusion Zapier Zendesk Zoho CRM …. or use the Webhook action to integrate with your own custom APIs or external systems. PRO Custom Field Plugin Compatibility ACF ACPT JetEngine Meta Box Pods Toolset Theme / Framework Support WS Form is compatible with all WordPress themes, and also outputs native HTML for the following front-end frameworks: Bootstrap 5+ Bootstrap 4.1-4.5.x Bootstrap 4.0 Bootstrap 3.x Foundation 6.4+ Foundation 6.0-6.3.1 Foundation 5.x Performance WS Form was built with enterprise level performance in mind. WS Form does not interfere with the loading of other page or post content on your website and isolates submission records to ensure as your website grows your page load speed is not affected. All form code is HTML 5 compliant and if your website theme uses a framework such as Bootstrap or Foundation WS Form automatically outputs code to suit that framework. This means your form loads as fast as possible without any unnecessary overhead typically found in other form plugins for WordPress. Click here to learn more about the WSForm performance features. Extensive Field Types WS Form comes complete with all the field types you need to build a contact form. Upgrade to WS Form PRO to take advantage of all the form field types available, including: Color Picker Date / Time File Upload Google Address Google Map Google Routing hCaptcha HTML Legal Media Capture (Includes QR code reader) Message Previous Tab / Next Tab Price Progress Bar Range Slider Rating reCAPTCHA Save Signature Validation … and more! For Developers WS Form PRO comes with a unique debug console that provides you with rapid, form population capabilities (perfect for form testing!), as well as comprehensive event and error logging. 3rd Party Use WS Form includes the following third party components: Date Format by Jacob Wright – Used for formatting server and post dates on the public JavaScript interface. Intl-Tel-Input – Used for international telephone input IntroJs – Used for the tutorial feature. Select2 – Used for AJAX select dropdowns CanIUse.com – Used for linking to field and field attribute compatibility pages Coloris – Used for the color picker in the styler External Services WS Form uses the following API endpoints to provide services within the plugin: Google reCaptcha https://www.google.com/recaptcha/api/siteverify This endpoint is called when a form is submitted to validate a reCaptcha field. Terms of Use / Privacy Policy hCaptcha https://hcaptcha.com/siteverify This endpoint is called when a form is submitted to validate an hCaptcha field. Terms of Use / Privacy Policy Turnstile https://challenges.cloudflare.com/turnstile/v0/siteverify This endpoint is called when a form is submitted to validate a Turnstile field. Terms of Use / Privacy Policy WS Form – Knowledge base popular articles https://wsform.com/plugin-support/knowledgebase_content.php This endpoint is called when the support sidebar is opened to show popular knowledge base articles. Terms of Use / Privacy Policy WS Form – Knowledge base search https://wsform.com/plugin-support/knowledgebase_search.php This endpoint is called when a knowledge base search is performed in the support sidebar to return knowledge article results. Terms of Use / Privacy Policy WS Form – Support ticket requests https://wsform.com/plugin-support/contact.php This endpoint is called when a support ticket request is submitted in the support sidebar to create the support ticket and return the ticket ID. Terms of Use / Privacy Policy WS Form – Deactivation feedback requests https://wsform.com/plugin-support/deactivate_feedback.php This endpoint is called when deactivation feedback is submitted to provide your feedback to WS Form. Terms of Use / Privacy Policy WS Form – Select, checkbox and radio presets https://cdn.wsform.com/plugin-support/preset.json This endpoint is called when the preset option is selected for a select, checkbox or radio field to return the available presets and preset data (e.g. List of countries). Terms of Use / Privacy Policy Support Need help? Check out our extensive knowledge base. For support, please visit the WS Form LITE support forum.