Support » Plugin: Mendeley Plugin » Numbering in Bibliiography List

  • Resolved Kartikey Thakar

    (@kartikeythakar)


    Hi,

    I am using Mendeley plugin for WordPress for my research group website and it is very helpful.

    But I cannot seem to get the numbering while using a simple shortcode. Is there a way to have numbering starting from 1 for each time I use the shortcode? I can make changes in the original plugin if necessary.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author kochm

    (@kochm)

    How are you doing the numbering? Using CSL? If yes, I cannot help since the CSL processing is outside the plugin … Maybe there is some information on this issue in some CSL specification?

    Thread Starter Kartikey Thakar

    (@kartikeythakar)

    Hi @kochm,
    I am not doing any numbering using any CSL. I am only using the base plugin. (I tried using CSL, but as you suggested, there are some issue regarding the specifications which does not produce required output.)

    Can you suggest any way to achieve the numbering using the plugin itself (without any CSL). I can give it a try if I have to modify the plugin code a little on the local server.

    Plugin Author kochm

    (@kochm)

    Currently, the plugin does not do any numbering itself.

    Two possibilities (without any CSL):

    1) You can try to use CSS – The references are enclosed by wpmref tags that can be used for this

    2) Change the code – You might have a look in the code in function formatDocument() – more or less where the wpmref tags are printed

    Thread Starter Kartikey Thakar

    (@kartikeythakar)

    Hi,

    I figured out a way to insert numbering.
    I have added a counter $docno and inserted it where $result is being modified.
    $result .= $docno . ‘. <span class=”wpmauthors”>’ . $authors . ‘</span> ‘;

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Numbering in Bibliiography List’ is closed to new replies.