Remove "p." in the in-text citation for APA format

Hi guys. I have trouble editing the format through the Style Editor. I want to remove the comma between the author and the published year as well as the "p." in the in-text citation and change the comma to the colon. Also, it's difficult for me to find the right section in the editor, so I'd like to know if there's any convenient way to quickly find the right section?

Currently it looks like this: (World Bank, 2001, p. 3)
I want to make it look like this: (World Bank 2001: 3)

Thank you in advance!
  • edited April 8, 2022
    All of this is regulated in the section starting with <citation...

    You change that part to:
    <citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year" givenname-disambiguation-rule="primary-name-with-initials">
    <sort>
    <key macro="author-bib" names-min="3" names-use-first="1"/>
    <key macro="date-sort-group"/>
    <key macro="date-sort-date" sort="ascending"/>
    <key variable="status"/>
    </sort>
    <layout prefix="(" suffix=")" delimiter="; ">
    <group delimiter=": ">
    <group delimiter=" ">
    <text macro="author-intext"/>
    <text macro="date-intext"/>
    </group>
    <text macro="citation-locator"/>
    </group>
    </layout>
    </citation>


    And also edit the citation-locator macro to the following:
    <macro name="citation-locator">
    <group delimiter=" ">
    <choose>
    <if locator="chapter">
    <label variable="locator" text-case="capitalize-first"/>
    </if>
    </choose>
    <text variable="locator"/>
    </group>
    </macro>


    General guide: https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
  • Is this for a specific journal or publisher?

    If you’re writing in German, check out the DGP style as well, which uses this page format I believe
  • Thank you damnation! That works perfectly. May I ask why there's a notification saying "it is not a valid CSL 1.0.1 style file, and may not work properly with Zotero." Shall I just ignore this or does it mean there's something going wrong?
  • edited April 21, 2022
    It's a requirement of a course assignment. btw thank you for the information!
  • Paste your edited style here and see what the issue is https://validator.citationstyles.org/
Sign In or Register to comment.