Getting Started with the Custom Buttons extension

The Custom Buttons extension allows you to add custom buttons to your listings that can link to a file, external website or link on your own site. 

For example let say you wanted to add a button that links to another page on your site called Due Diligence where that link or download needs to be consistent for the property listing type or all your listings, use this extension to achieve this.

To access the extension settings goto your WordPress Dashboard > Easy Property Listings > Extensions > Custom Buttons.

Main settings

Select the number of buttons you want to add and press save. This will then display a setting tab for each button.

Number of Buttons: Select the number of buttons you want to enable and press save changes. This will then display a setting tab for each custom button allowing you to configure specific options for that button.


Individual Button Settings

Configure the specific button option on the settings tab for that button.

Label: Displayed button label.

Link or File: Add a full URL link to another website or your own, or upload a file using the Add File button.

Open in new window? Select enable if you want a new tab to open when the button is pressed.

Order: The button order in relation to default buttons or others that you add. The default order for a listing button is 10.

Display on: Select the listing types that you want this button to display.


Visit a listing to see your new button

The buttons will output onto the listing template using the <?php do_action( 'epl_buttons_single_property' ); ?> and display wherever that is present in your template file.  

The Custom Buttons will also assume the styling of your other buttons or whatever styling your theme applies to them.