Trying to active this plugin gives a fatal error:
Parse error: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /home/sites/12b/1/1790e1d7fe/public_html/blog/wp-content/plugins/wp-copyrighted-post/wp-copyrighted-post.php on line 31
Wordpress 5.8.1
PHP 7.2.34
Why is the year automatically generated, and wrong? It says 2017-2018. I want it to be the current year only, not a range of past years.
]]>Добрый день.
1. При выборе
Показывать только при просмотре одиночной статьи: Да
перестает отображаться на страницах (на постах остается). Это нормально? Можно ли сделать (опционно) чтобы при этом и на страницах продолжалось отображение?
2. На станицах отображается только дата страницы, а вот если страницу формально отредактировать (обновить), начинает отображать и год редакции. Можно исправить чтобы текущий код отображался не зависимо от времени последнего редактирования страницы? (а то придется все страницы каждый год “обновлять”!!)
Спасибо
Dear Minimus,
Your plugin is working very well. Thank you for making it available.
Do you have any plans to make updates to this plugin? If so, here’s a suggestion that would make it even better.
The plugin copyright owner link always points to the root location of the website. If you decide to make any updates, it would be great to have the option for the copyright link to point to the specific post instead of the root. This would be a better proof against screenscrapers, and might also help with SEO for those copy thieves who disregard the notice.
Thanks again for the plugin.
Alec Satin