Plugin Author
Katie
(@kseaborn)
I don’t think I ever set this up to be officially supported, but as I recall, people have been able to add a new style in the Options screen with a URL, then reference whatever name they called it in the shortcode. Perhaps that will work?
@kseaborn Thanks so much for the reply and helping me attempt this. It hasn’t worked for me yet (spinning gears), but perhaps I’m doing something wrong? Could you please confirm what you’d recommend trying? Please let me know if you need more detail.
1) on options screen of Zotpress, add new, paste in CSL link and set this as default
2) Zotpress content no longer loads on Browse tab of Zotpress (spinning gear)
3) Zotpress content no longer loads on website (https://monitoringconsumption.com/media-coverage/)
3) Tried the following shortcode: [zotpress tag=”CH_HL_2020_08″ sortby=”date” order=”desc”, style=”mediaconsumption”] –> spinning gear
4) Tried the following shortcode: [zotpress tag=”CH_HL_2020_08″ sortby=”date” order=”desc”, style=”https://gist.githubusercontent.com/POBrien333/ffec3f80412392bf0891b252b697184b/raw/4cfc8aa0709212414718225ba25059d9e5ce0b5b/mediaconsumption.csl”%5D –> spinning gear
CSL:
https://gist.githubusercontent.com/POBrien333/ffec3f80412392bf0891b252b697184b/raw/4cfc8aa0709212414718225ba25059d9e5ce0b5b/mediaconsumption.csl
Here’s the header:
<?xml version=”1.0″ encoding=”utf-8″?>
<style xmlns=”http://purl.org/net/xbiblio/csl” class=”in-text” version=”1.0″ demote-non-dropping-particle=”never” page-range-format=”expanded”>
<info>
<title>Monitoring Consumption</title>
<id>http://www.zotero.org/styles/mediaconsumption</id>
<link href=”https://raw.githubusercontent.com/bwiernik/zotero-tools/master/apa-doi-in-text.csl” rel=”self”/>
<link href=”http://www.zotero.org/styles/apa” rel=”template”/>
<link href=”https://monitoringconsumption.com/” rel=”documentation”/>
<category citation-format=”author-date”/>
<category field=”generic-base”/>
<summary>APA7-based style for mediaconsumption.com, with DOIs, URLs, or publication abbreviations given for in-text citations</summary>
<updated>2020-09-02T09:51:20+00:00</updated>
<rights license=”http://creativecommons.org/licenses/by-sa/3.0/”>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
It’s working now! Maybe my style link was just too long? Now, I’ve hosted it here:
https://monitoringconsumption.com/mediaconsumption.csl
I added this URL as a new style directly in the Zotpress options. Adding style to the shortcode was not necessary.
I do have two other questions based on this shortcode:
[zotpress tag=”CH_HL_2020_08″ sortby=”date” order=”desc” target=”new”]
1) My items are not sorted descending by date. Any idea why?
2) target “new” should have the links open in a new tab, but they do not. Why?
My page is here: https://monitoringconsumption.com/media-coverage/
Plugin Author
Katie
(@kseaborn)
Glad you got the style working! It could be a matter of the URL length …
I just double-checked the other shortcode on my end (with my tag). It’s working for me. I did notice that there are fancy quotes rather than plain quotes in there, though that may be WP forums auto-formatting. Can you check those on your site? You just manually re-write the quotes in the shortcode with your keyboard.