Configure a SMTP server to send email from your WordPress site. Configure the wp_mail() function to use SMTP instead of the PHP mail() function.
![WP Colorbox](https://ps.w.org/wp-colorbox/assets/icon-128x128.png?rev=2610062)
WP Colorbox
Hospedagem WordPress com plugin WP Colorbox
Onde posso hospedar o plugin WP Colorbox?
Este plugin pode ser hospedado em qualquer hospedagem que tenha WordPress configurado. Recomendamos utilizar um provedor de hospedagem seguro, com servidores otimizados para WordPress, como o serviço de hospedagem de sites da MCO2.
Hospedando o plugin WP Colorbox em uma empresa de hospedagem seguro
A MCO2, além de instalar o WordPress na versão mais atual para seus clientes, fornece o plugin WP SafePress, um sistema singular que assegura e melhora seu site conjuntamente.
Por que a Hospedagem WordPress funciona melhor na MCO2?
A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização automática de imagens e fotos, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São plugins que potencializam seu WordPress para a máxima segurança e o máximo desempenho.
WP Colorbox plugin is a simple lightbox tool for WordPress. It allows users to pop up content in lightbox using the popular jQuery ColorBox library. They can also view the larger version of a particular media file without leaving the page.
Features
- Beautiful lightbox popup style
- Flexiblity of creating your own lightbox link
- Pop up custom/HTML content in lightbox
- Trigger lightbox from either a text/image link
- Add lightbox to a YouTube or Vimeo video link
- Enable lightbox functionality on your site which supports modern browsers
- Use a simple shortcode to pop up a media file in lightbox
- Apply lightbox effect on images inserted into WordPress post/page
- Open external page in lightbox using iframe
- Responsive lightbox popup which works on mobile devices. Also it fits perfectly on smaller screens.
How to Use WP Colorbox
Pop up image in lightbox
Create a new post/page and use the following shortcode to create a text/image link which will trigger lightbox once clicked:
[wp_colorbox_media url="https://example.com/wp-content/uploads/images/overlay.jpg" type="image" hyperlink="click here to pop up image"]
here, url is the link to the media file that you wish to open in lightbox and hyperlink is the anchor text/image.
[wp_colorbox_media url="https://example.com/wp-content/uploads/images/overlay.jpg" type="image" hyperlink="http://example.com/wp-content/uploads/images/thumb.jpg"]
Pop up YouTube video in lightbox
[wp_colorbox_media url="https://www.youtube.com/embed/nmp3Ra3Yj24" type="youtube" hyperlink="click here to pop up youtube video"]
Pop up Vimeo video in lightbox
[wp_colorbox_media url="https://www.youtube.com/embed/1284237" type="vimeo" hyperlink="click here to pop up vimeo video"]
Show Title in lightbox
[wp_colorbox_media url="https://example.com/wp-content/uploads/images/overlay.jpg" title="overlay image" type="image" hyperlink="click here to pop up image"]
Specify an Alternate Text for an Image
[wp_colorbox_media url="https://example.com/wp-content/uploads/images/overlay.jpg" title="overlay image" type="image" hyperlink="http://example.com/wp-content/uploads/images/thumb.jpg" alt="Thumbnail image description"]
Apply Custom CSS
You can specify your own CSS class in the shortcode to customize a text/image link.
[wp_colorbox_media url="https://www.youtube.com/embed/nmp3Ra3Yj24" type="youtube" hyperlink="click here to pop up youtube video" class="custom_class"]
Multiple CSS classes can be separated with a space. For example:
[wp_colorbox_media url="https://www.youtube.com/embed/nmp3Ra3Yj24" type="youtube" hyperlink="click here to pop up youtube video" class="custom_class custom_class2"]
For detailed documentation please visit the WordPress Colorbox plugin page
Capturas de tela
![Image popup in lightbox](https://ps.w.org/wp-colorbox/assets/screenshot-1.jpg?rev=1666937)
Image popup in lightbox
![YouTube video popup in lightbox](https://ps.w.org/wp-colorbox/assets/screenshot-2.jpg?rev=1666937)
YouTube video popup in lightbox
![Vimeo video popup in lightbox](https://ps.w.org/wp-colorbox/assets/screenshot-3.jpg?rev=1666937)
Vimeo video popup in lightbox
![External page popup in lightbox](https://ps.w.org/wp-colorbox/assets/screenshot-4.png?rev=1666937)
External page popup in lightbox