Help modifying APA 7 to (author date: page)

edited today at 1:37pm
I'm curently going mad trying to change APA in-line citations from (author, date, page) to (author date: page).

I cannot resort to a different style because the bilbiography has to be APA 7. I tried to copy over elements from ASA (American Sociologoy Association) but I could not figure out how to add a space between (date:page).

Could someone walk me through this process?
This is the original code from APA 7 for in-line citations, starting in line 2208:

EDIT: I'm not able to post the code here unfortunately (it shows as white space when posting)
  • Find
    <layout delimiter="; " prefix="(" suffix=")">
    <group delimiter=", ">
    <text macro="author-short"/>
    <text macro="date-short"/>
    <text macro="label-locator"/>
    </group>
    </layout>


    Change to

    <layout delimiter="; " prefix="(" suffix=")">
    <group delimiter=": ">
    <group delimiter=", ">
    <text macro="author-short"/>
    <text macro="date-short"/>
    </group>
    <text macro="label-locator"/>
    </group>
    </layout>


    See https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step for general instructions

    Note that that leaves the p./pp. in place for page numbers, so if you also don't want that, you'll have to dig through the code to remove it or start with a different style.
  • edited today at 2:41pm
    Thank you. For some reason this did not work earlier but I now managed to copy over everything between "layout" from ASA.

    What worked for me now is to paste this into the APA style:
    https://s3.amazonaws.com/zotero.org/images/forums/u11636347/0dga088u7cqxj2ex0zd3.png

    I dont know how to post code inline here so I've attached it as a picture if anyone else needs this.

    It gets rid of the p. too somehow.
Sign In or Register to comment.