WordPress.org

Ready to get started?Download WordPress

Forums

AcademicPress
[resolved] acp shortcodes (2 posts)

  1. bastobuntu
    Member
    Posted 1 year ago #

    Hi.

    I don't know if I make something wrong but using shortcodes give me errors. As far as I know after having firstly defined a reference like [acp author="..." title="..." id="author1" /] I should be able to use [acp id="author1"] for the next reference, right? This results in a broken reference for me.

    I am usinge WP 3.4.2 with PHP 5.3 an I got an error msg aswell:

    “Warning: Parameter 2 to array_multisort() expected to be a reference, value given in ../wp-content/plugins/academicpress/Acp/Utils/Spl.php on line 25″

    unfortunately I don't have a clue

    http://wordpress.org/extend/plugins/academicpress/

  2. bastobuntu
    Member
    Posted 1 year ago #

    I have a little workaround for it now.
    Using harvard-bibstyle I want to achieve an inline citation "(author, year:page)" I do this by typing
    [acp author="surname" year="2012" id="surname-1"] ({author},{year}:<page>) [/acp]

    and at the bottom of the text i overwrite this id with a complete

    [acp add …… id="surname-1" /]

    so the bibliography is setup with all relevant data.

    greets

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.