Mark
Forum Replies Created
-
Forum: Plugins
In reply to: [Zotpress] Grabbing license information and/or notesI think ZotPress can in principle grab anything grabbable through the Zotero API but it doesn’t itself expose the notes in any way. Perhaps a reasonable approach would be to have them put the licensing info in the Abstract field, which ZotPress can display, and then tinker with the CSS until it looks alright.
Less elegant and possibly interfering with other uses might be to put the license as a tag; if I’m not mistaken, ZotPress can display the tags with items.
Please explain in more detail what you’re trying to accomplish and how you are using ZotPress and WordPress exactly, including the shortcodes you’re using to cite sources.
Since ZotPress uses CSL for citation styles, if you use it as indicated in the help and instructions, it should automatically disambiguate in just the way you describe. But exactly what it looks like depends on the citation style you’ve selected and the shortcodes you are using to summon ZotPress.
Forum: Plugins
In reply to: [Zotpress] Front page with search formulaMaking tags clickable is tricky for technical reasons; you would probably need help from a programmer to make it happen (and/or perhaps you could consider contributing financially to ZotPress development; but I’d check with the developer @kseaborn about availability first).
Cosmetic changes like display items with more space in between are easily made with (custom) CSS. E.g., since every single item in a
zp-Listcomes tagged aszp-Entryin the HTML, the following CSS code would create more space between the items:.zp-List .zp-Entry { margin-bottom: 1em }You can add custom CSS code through the WordPress customizer. If you need more intricate styling options, here your best bet would be to ask someone with knowledge of HTML and CSS to help you achieve the style you want.
Forum: Plugins
In reply to: [Zotpress] Shortcodes + Elementor tabs + CSSYeah I kind of feel for the ZotPress developer because Elementor (increasingly popular) juggles around the HTML so much that it is kind of hard to do this elegantly.
The CSS solution could work, but WordPress strips inline CSS from posts so you should use custom CSS (e.g. via a stylesheet or through the Customizer). You shouldn’t need to put any extra HTML code around the bibliography. If you inspect the source (where you have multiple bibliographies) you should see that the ZotPress HTML comes with a specific id, like this:
<div id="zotpress-7f1a24e9fd0d890775eb829af886d224" class="zp-Zotpress zp-Zotpress-Bib wp-block-group">This one you should be able to hide with CSS as follows:
#zotpress-7f1a24e9fd0d890775eb829af886d224 {display: none}The only thing I don’t know is how and when ZotPress generates these unique identifiers, and how stable they are (e.g. they may be gone if you refresh the cache?). In that case you might be able to put the bib in a separate block and give that block a unique HTML ID in the WordPress interface; you would then address that ID as above to hide it.
- This reply was modified 5 years, 7 months ago by Mark.
Forum: Plugins
In reply to: [Zotpress] Front page with search formulaIf you are logged in and looking at the WordPress dashboard for your site, click on ZotPress. Now you see the Browse page. It shows some items from your library. In the navigation menu you see Browse underlined, and three other pages: Accounts, Options, Help. Study the Help pages closely and you will find out all about the different types of shortcodes.
The Help page itself contains another set of pages. In red, your first see “Standalone library” and next to it “In-text citations” and “Library”. It sounds like you want to display a Library on your front page, so you can study the options described there to find out how.
A shortcode is the code that you put in a post or page to display items from your library. So you edit a page as you are used to and put the shortcode there. That code then ensures that ZotPress does the thing you want on that page. For instance, you could use this shortcode to display a search bar in a page or a post of your choosing:
[zotpressLib type="searchbar"]You can use several shortcode on one page, or different ones on different pages. I would advise you to play around with some of the available shortcodes to see what their effect is. And read the help pages and frequently asked questions closely.
If you have follow-up questions, you should let us know what shortcodes you are using, or which ones you have tried, so that we can understand what you are trying to accomplish and how. Otherwise it is hard for us to help you.
Forum: Plugins
In reply to: [Zotpress] Front page with search formulaIf you post a question like this, please also share the shortcode you are using.
Look up the
type="search"shortcode on the Library tab of the ZotPress help — that’s probably what you need. By the way, you’re linking to a preview page that is not visible to use.Forum: Plugins
In reply to: [Zotpress] Download still not workingWhen did it still work?
This is a low-level message, and not something ZotPress has control over. I haven’t seen it in any of my >5 ZotPress installations. Could it be that something changed in your server settings (on the provider/hosting side), or in your security settings outside of WordPress (e.g. your .htaccess file), or on the Zotero side (e.g. your permissions)?
Forum: Plugins
In reply to: [Zotpress] Display the publications of an Buddypress member.Excellent, and thanks for posting back your solution. Others will be able to build on it. E.g. I can imagine this may also be useful on academic group blogs, or indeed to dynamically generate indexes by author.
Forum: Plugins
In reply to: [Zotpress] batch import of recordsWith >10k items to import you may run into limitations (e.g., I believe the Zotero API throttles requests so it may take a while before your whole library is imported and cached). This size may push the limits of ZotPress in various ways. But besides that, it sounds like you are trying to insert the references one by one as citations instead of displaying the library (or a collection) itself directly.
Check out the “Help” page on your installation of Zotpress for more information and a full listing of parameters for all shortcodes. You need the ‘standalone library’ shortcodes, not the in-text citations.
- This reply was modified 5 years, 7 months ago by Mark.
Forum: Plugins
In reply to: [Zotpress] Bibliography creating duplicatesDid anything else change? To be sure, try refreshing the cache (♻️ on the accounts page). It seems unlikely that with exactly the same shortcode that worked before ZotPress would now generate duplicates. I have seen duplicates when selecting multiple tags (a known ZotPress bug), but not in other contexts.
Forum: Plugins
In reply to: [Zotpress] batch import of recordsSince you wrote “We would like to put our institutional record database on the institution’s wordpress rather than on Zotero so that everything can be found in one place.” I assumed you wanted to stop using Zotero, in which case ZotPress would also be out.
But if you want to use ZotPress to display the existing Zotero (group) library, yes, that is possible. Once you install ZotPress and follow the instructions to link your Zotero account or group, you should be able to follow the ZotPress FAQ or help pages to display a bibliography. What you have tried so far?
Forum: Plugins
In reply to: [Zotpress] batch import of recordsZotPress exclusively links to existing Zotero libraries. It doesn’t provide a way to build a library in WordPress, and WordPress itself is also not really made for this purpose (though I am sure you could find plugins that would allow you to replicate this kind of functionality).
If you already have a record database, and you can export that in one of the many formats Zotero can import, then you could build a Zotero library and expose that in WordPress using ZotPress; but that is the only kind of scenario where you’d use ZotPress.
Forum: Plugins
In reply to: [Zotpress] Zotpress Validation Not WorkingThis works pretty smoothly in most cases. I’ve seen this happen when users have accidentally selected user instead of group or vice versa.
Also, double check that you have followed this part of the instructions:
“Make sure that “Allow library access” is checked. For groups, make sure the Default Group Permissions or Specific Group Permissions are set to “Read Only” or “Read/Write.””- This reply was modified 5 years, 7 months ago by Mark.
Forum: Plugins
In reply to: [Zotpress] Display the publications of an Buddypress member.So you have a linked Zotpress library that includes publications by authors whose name matches the BuddyPress last name?
This means you want to generate shortcodes in a template, rather than use them manually in a post or page. I can only point you in the general direction here: the key is to use
do_shortcode(). See documentation here: https://developer.ww.wp.xz.cn/reference/functions/do_shortcode/Forum: Plugins
In reply to: [Zotpress] Unable to display LibraryDo you see the library contents on the main ZotPress tab on the WP Dashboard?