Naked Cat Logo for Livro de Reclamações Eletrónico

描述

Portuguese law (Decreto-Lei n.º 156/2005, as amended by Decreto-Lei n.º 74/2017, art. 9.º-A) requires businesses selling goods or services to consumers to provide visible, prominent access to the “Livro de Reclamações Eletrónico” on their website. Displaying the official logo, linked to livroreclamacoes.pt, is the standard way to provide that access.

This plugin adds that logo to your site in two ways, a [livro_reclamacoes] shortcode and a matching block, both sharing the exact same rendering code so the result is identical everywhere you use it.

This is an independent third-party plugin and is not affiliated with, endorsed by, or developed by the Direção-Geral do Consumidor or the Portuguese Government. “Livro de Reclamações Eletrónico” is the official name of the Portuguese electronic complaints book service.

Options

  • Fill inner letters: the “LIVRO DE” lettering inside the circle can be left as transparent cutouts (default) or painted in a solid color
  • Color: official red (default), blue, black, white, or any custom color. When the inner letters are filled, their color is automatically paired for contrast (white on red/blue/black, black on white), or chosen separately when using a custom color
  • Width: any CSS width value; height always scales automatically and the logo never exceeds the width of its container
  • Link target: open in a new tab (default) or the same tab

This plugin works on any WordPress site: it has no dependency on WooCommerce or any other plugin.

Shortcode arguments

The [livro_reclamacoes] shortcode accepts the following optional arguments, all shown here at their default value:

  • letters_filled="no": set to "yes" to paint the “LIVRO DE” lettering inside the circle in a solid color instead of leaving it as transparent cutouts
  • color="red": red, blue, black, white, or any hex color code (e.g. color="#123456")
  • letter_color="": hex color code for the inner lettering; only used when letters_filled="yes" and color is a custom hex code rather than one of the 4 named colors above (for those, the letter color is chosen automatically for contrast). Defaults to white when left empty
  • width="": any CSS width value (e.g. width="150px", width="10em"); leave empty for natural size. Height always scales automatically and the logo never exceeds the width of its container
  • target="_blank": set to "_self" to open the link in the same tab instead of a new one

Example: [livro_reclamacoes letters_filled="yes" color="blue" width="150px" target="_self"]

Legal disclaimer

This plugin helps you display the official “Livro de Reclamações Eletrónico” logo, linked to livroreclamacoes.pt. It does not guarantee that your site is legally compliant. Compliance depends on factors beyond this plugin’s scope (where and how the logo is displayed, your business’s own legal obligations, and any future changes to the law). Naked Cat Plugins and Webdados accept no legal responsibility for your site’s compliance. If in doubt, consult a legal professional.

Our other free plugins for the Portuguese market

Our other premium plugins for the Portuguese market

屏幕截图

区块

该插件提供了 1 个区块.

  • Livro de Reclamações Eletrónico Displays the official Livro de Reclamações Eletrónico logo, linked to livroreclamacoes.pt.

安装

  1. Install and activate the plugin.
  2. Add the [livro_reclamacoes] shortcode, or insert the “Livro de Reclamações Eletrónico” block, anywhere on your site (footer widget area, a page, etc.).

常见问题

Does this work without WooCommerce?

Yes. This plugin has no dependency on WooCommerce: it works on any WordPress site.

Is displaying the logo enough to comply with the law?

No. Displaying the logo and link on your website is only part of the obligation. Under Decreto-Lei 156/2005 (as amended), all suppliers of goods and service providers must make the complaints book available, and to do so they must be registered on the Livro de Reclamações Eletrónico platform. Showing the logo on your website does not make you compliant if your business is not registered there.

If your business is not registered yet, sign up in the business operators area (“Se não tiver conta, registe-se aqui”). Once registered, you log in there to view and handle the complaints submitted about your business.

Where do I report security vulnerabilities found in this plugin?

You can report any security bugs found in the source code of this plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.

评价

2026 年 8 月 19 日 1 回复
Esta solução prática permite adicionar o logotipo do “livro” e cumprir os requisitos legais, eliminando a necessidade de procurar um logotipo em vetor ou alterar a sua cor.  (Demorei mais tempo a escrever esta frase que a inserir o logo! )
阅读所有1条评价

贡献者及开发者

「Naked Cat Logo for Livro de Reclamações Eletrónico」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Naked Cat Logo for Livro de Reclamações Eletrónico」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Naked Cat Logo for Livro de Reclamações Eletrónico」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.2 – 2026-08-16

  • [FIX] In the block editor, when a page had more than one logo, all of them showed the colour of the last one. The front end was never affected.

1.1 – 2026-08-16

  • [NEW] Block icon, showing the logo itself in the block editor, and a more fitting icon on the WordPress.org plugin page
  • [TWEAK] readme.txt legal and other plugins sections

1.0 – 2026-08-16

  • Initial release