Welcome to the AddressPress plugin documentation. We created AddressPress to resolve to store multiple address problems easily on WordPress. Creating documentation for the AddressPress plugin, specifically detailing its shortcodes, is crucial for providing users with clear instructions on how to effectively utilize the plugin.
Below is a list to cover all the shortcodes you can use with AddressPress to enhance your WordPress site’s address management and display capabilities. Shortcodes allow you to add dynamic address-related content to posts, pages, and widgets easily.
- [addresspress_add_address_form] : render adding address form to save the new address
- [addresspress_edit_address_form] : render edit form of address
- [addresspress_address_list] : render saved address list
- [addresspress_checkout_content] : render buttons of “add new address” and “Select from saved address” and …
[addresspress_add_address_form]
This shortcode renders the form that your customers can add their addresses.
[addresspress_edit_address_form]
This shortcode renders the form that your customers can edit their saved addresses.
[addresspress_address_list]
This shortcode renders list of saved address for each user. this shortcode has this attribute:
- before_list: this attribute is for adding plain text or HTML before the addresses list.
- after_list: this attribute is for adding plain text or HTML after the addresses list.
- before_address: this attribute is for adding plain text or HTML before each address.
- after_address: this attribute is for adding plain text or HTML after each address.
- select: this attribute is option to disable/enable selectable each address. the default value is “on” and for set disable you must set select=”off”
For example:
[addresspress_address_list before_list="<h3>Your Addresses<h3>" after_list="<hr>" before_address="<br>" after_address="some text"]
[addresspress_checkout_content]
- before_add_address: this attribute is for adding plain text or HTML before the add address button
- after_add_address: this attribute is for adding plain text or HTML after the add address button
- before_address_list: this attribute is for adding plain text or HTML before address list button
- after_address_list: this attribute is for adding plain text or HTML after address list button
We hope this documentation helps you make the most of AddressPress’s shortcodes to enhance your site’s functionality. For further assistance or if you have any questions, please consult our support team.