# Adding HTML before or after Download product content

 You can easily append custom HTML before or after the Download product content by using the [edd\_before\_download\_content](https://easydigitaldownloads.com/docs/edd_before_download_content/) and/or [edd\_after\_download\_content](https://easydigitaldownloads.com/docs/edd_after_download_content/) hooks.

 For example, to add content before the main product content, you can use something like this:

```
function pw_edd_before_download_content( $download_id ) {
	echo &#039;This is content added before the main product content.&#039;;
}
add_action( &#039;edd_before_download_content&#039;, &#039;pw_edd_before_download_content&#039; );
```