Showing wordpress widget on specific pages


3 Comentarios

  • Ramin Shokrizadeh
    Acciones de comentarios Permalink

    Hi Jeffrey,

    This can be done but not using our Wordpress plugin. You will need to follow these steps:

    1. In your Zopim dashboard, go to the widget settings and click the checkbox called "Turn off Chat Widget".

    We are doing this so you can specify what pages the widget should be shown

    2. In Wordpress, install the following plugin (3rd party, not affiliated or supported by Zendesk/Zopim) that will allow you to easily add Javascript throughout the install or on specific posts/pages

    3. After the plugin is installed, go to the plugin's Global settings to add the following code in the section called "Scripts (end of the body tag)"

    window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
    $.src="//";z.t=+new Date;$.

    4. Now, go to the page you want the widget to appear on and click edit from the Wordpress nav. Once in the editor, click on 'Screen Options' to ensure that "Scripts n Styles" is checked

    5. Now that the plugin's panel appears on the page/post editor, you can add the following code to the second Script box

    $zopim(function() { 

    This will tell the widget button to appear on this page. Once it appears for the visitor, it will be visible as they change pages unless you modify those pages to include the following code:

    $zopim(function() { 

    Hope that helps you achieve what you want within the constraints of Wordpress.



  • aat bus
    Acciones de comentarios Permalink

    Hi Ramin,


    Thanks that the above post appear helpful to include chat only on a specific page.  However, I have checked that script n style plugin is no longer being developed or is broken.  Would you know any alternative plugin that will be easy to use so i could only show the chat on a specific page

    thank you


  • Ramin Shokrizadeh
    Acciones de comentarios Permalink

    The last update for the plugin was two weeks ago: and appears to be tested up to 4.8 which is the latest Wordpress version. There might be other options but this is the only one I am personally aware of.



Iniciar sesión para dejar un comentario.

Tecnología de Zendesk