Just in case it helps. After installing, on this URL: /wp-admin/admin.php?page=wp-cite, it can be read this PHP error message:
Fatal error: Uncaught Error: Undefined constant "setting" in /home/server/domain.com/wp-content/plugins/cite/cite.php:71
Stack trace: 0 /home/server/domain.com/wp-content/plugins/cite/cite.php(56): wpcp_admin() 1 /home/server/domain.com/wp-includes/class-wp-hook.php(324): wpcp_setting_page() 2 /home/server/domain.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 3 /home/server/domain.com/wp-includes/plugin.php(517): WP_Hook->do_action() 4 /home/server/domain.com/wp-admin/admin.php(259): do_action() 5 {main}
thrown in /home/server/domain.com/wp-content/plugins/cite/cite.php on line 71
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Thank you.
]]>It would be nice to add volumes (issues) as citation elements of an online journal.
In my case, the volume is marked by post category. So, how can I correctly add a category {category} to a configuration file (cite.php)?
When upgrading PHP to version 7.2 from 5.x, I received the following warning, which appears under each post the citation appears:
Warning: Use of undefined constant setting – assumed ‘setting’ (this will throw an Error in a future version of PHP) in <<link to the cite.php file>> on line 105
The fix to suppress this warning is quite simple.
Replace:
$edited_setting = str_replace($find_string, $replace_string, $wpcp_setting[setting]);
with
$edited_setting = str_replace($find_string, $replace_string, $wpcp_setting[‘setting’]);
That should suppress the warnings and resolve issues.
]]>Hi
Is there a way to have Cite by default in the “Article template” so that one does have to put the [cite] shortcode “by hand” ?
Many thanks for answering
D
Dear Maeve,
First of all, thank you for this great plugin! It worked right out of box on our site and without any issue. We like it this much that we wanted to make it available in French: we have translated the .po and would be happy to send it to you.
HOWEVER, we work with more than one author per post and we cannot figure out how to include multiple authors in the template… We use “Co-Authors plus” for assigning multiple authors to posts but the plugin only prints the first author.
Looking forward for any help!
Christophe for Doxtra
Cite plugin works wonderfully in my WordPress 4.1 website (https://opistobranquis.info/en) where we include a citation box at the end of every post with a personalized URL.
As we have pretty long URLs, the cite does not always display “nicely”.
Would be possible to include the WordPress Jetpack “Short-link” (or any other short link method) as a field in the cite?
Thank you for this useful and rock-solid plugin.
]]>Hi,
I use your plugin a lot. However, I also want to start using KCite (https://www.ads-software.com/plugins/kcite/). Unfortunately KCite also uses [cite] and gets confused for your plugin. KCite seems to be downloaded much more than your plugin so it seems reasonable to ask if you can change [cite] to something else that does not collide with KCite. I tested and [citeme] seems to work fine without confusing KCite. I can see three possible actions:
regards
Ronny
Hi,
I am using your plugin and it works well (https://science-network.tv/wp-admin/). You have this:
{publication_date} – date the page/post was published
However, a page is posted once and may be updated an infinite number of times during several years. It may be more appropriate to display the date a page is modified rather than first published (or perhaps display both). I suggest you add:
{modified_date} – date the page/post was last modified
Having both date for publication and modification would give maximum ability to get it as you want.
regards
R
Hi.
I installed cite today on my site. Seems to work very well. However, not all pages have the same author. Would it be possible to ask you to add the functionality to add author name so it pics up the name of the author for that particular page rather than entering a static author name for all pages?