Widget "Counter" (parameters)

To have the SolidOpinion commenting widget appropriately displayed on your site make sure it meets the following width requirements:

The minimal recommended width for the "Community" widget is 200 px.

To change the widget settings use the SolidOpinion admin panel. If you want to change settings of a certain webpage, modify the following parameters in its embed code:

Data-sitename
Data-language

Inserting parameters in the widget code

The widget configuration parameters can be added in the code like the <span> tag attributes. 

<span class="so_rating" data-sitename="shortname" data-thread_url="/example"></span>
<script src="//embed.solidopinion.com/so_wl.js" async="async" data-auto-start="true" ></script>
<noscript>Please enable JavaScript to view the <a href="http://solidopinion.com/">comments powered by SolidOpinion.</a></noscript>

Required parameter


Data-sitename

A short name is a unique identifier of your site within the SolidOpinion system. This parameter is obligatory to be specified, otherwise the widget will fail to load.

Example: data-sitename="example"

Optional parameters


Data-language

The widget adapts to the language stored in the browser cookies. Use one of the following embed codes to apply a certain language for all the users of your website:
  • English - "en"
  • Russian - "ru"
  • Ukrainian - "uk "
  • Dutch -“ nl ”
  • French-“fr”
  • Indonesian-“in”
  • Polish-“pl”
  • Portuguese-“po”
  • Spanish -“es”
  • Swedish-“sw”
  • Turkish-“tu”
  • German-“de”
  • Italian – “it”

Example: data-language="en"

Example of a code using all the above mentioned parameters:

<span class="so_rating" data-sitename="shortname" 
  data-language="en"></span>
<script src="//embed.solidopinion.com/so_wl.js" async="async" data-auto-start="true" ></script>
<noscript>Please enable JavaScript to view the <a href="http://solidopinion.com/">comments powered by SolidOpinion.</a></noscript>

To get general information about the "Counter" widget click here.

To install the "Counter" widget on your site, please read the following Instruction


Happy commenting!
SolidOpinion

Feedback and Knowledge Base