Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple theme demo import for your users.
![Widget Context](https://ps.w.org/widget-context/assets/icon-128x128.png?rev=1919865)
Widget Context
Hospedagem WordPress com plugin Widget Context
Onde hospedar o plugin Widget Context?
Este plugin pode ser hospedado em qualquer servidor que possua WordPress instalado. Recomendamos optar por uma hospedagem seguro, com servidores especializados para WordPress, como o serviço de hospedagem de sites da MCO2.
Hospedando o plugin Widget Context em um provedor de confiança
A MCO2, além de configurar e instalar o WordPress na versão mais atualizada para seus clientes, fornece o plugin WP SafePress, um sistema exclusivo que salvaguarda e otimiza seu site simultaneamente.
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 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.
Use Widget Context to show and hide widgets on certain sections of your site — front page, posts, pages, archives, search, etc. Use targeting by URLs (with wildcard support) for maximum flexibility.
Premium Support
Subscribe to our Premium Support service and get the PRO 🚀 version of the plugin for free when it’s launched! Your support enables consistent maintenance and new feature development, and is greatly appreciated.
Contribute
- Suggest code improvements on GitHub.
- Report bugs and suggestions on WordPress.org forums.
- Help translate to your language.
Documentation
Widget visibility can be configured under individual widget settings under “Appearance → Widgets” in your WordPress administration area or through the widget editing interface in the Customizer.
Target by URL
The “Target by URL” is a powerful feature for targeting sections of your website based on the request URLs. It was inspired by a similar feature in the Drupal CMS.
Use relative URLs such as page/sub-page
instead of absolute URLs https://example.com/page/sub-page
because relative URLs are more flexible and make the logic portable between different domains and server environments.
Wildcards
Use the wildcard symbol *
for matching dynamic parts of the URL. For example:
-
topic/widgets/*
to match all posts in the widgets category, if your permalink structure is set to/topic/%category%/%postname%
. -
page-slug/*
to match all child pages of the page-slug parent page. -
Use a trailing
?*
to capture URL with all query arguments such asutm_source
, etc. For example, for everyblog/post-slug
also includeblog/post-slug?*
.
Exclude by URL
Specify URLs to ignore even if they’re matched by any of the other context rules. For example, enter example/sub-page
to hide a widget on this page even when “All Posts” is selected under “Global Sections”.
Capturas de tela
![Widget Context settings at the bottom of every widget](https://ps.w.org/widget-context/trunk/screenshot-1.png?rev=2914306)
Widget Context settings at the bottom of every widget
![Widget Context plugin settings](https://ps.w.org/widget-context/trunk/screenshot-2.png?rev=2914306)
Widget Context plugin settings