![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/27c64319e1ca198958613305e6ea1b6e-87a1c39.jpg)
Has anyone applied <?php edit_post_link(); ?>
Where should it be placed?
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/c70294be72623e3f8995ee4832f8d065-87a1c39.jpg)
Hey Dee, I am happy to provide you with the snippet to add it from your child theme. Where would you like the Edit link to be located (eg. below post content)?
Thanks,
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/27c64319e1ca198958613305e6ea1b6e-87a1c39.jpg)
Yes - that would be fine.
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/c70294be72623e3f8995ee4832f8d065-87a1c39.jpg)
Hi Dee, the snippet below should be what you are looking for:
add_action( 'beans_post_body_append_markup', 'example_edit_post' );
/**
* Edit post link.
*/
function example_edit_post() {
?><p class="uk-margin-bottom-remove"><?php edit_post_link(); ?></p><?php
}
You may change the text of the edit link by setting it as the first parameter of the edit_post_link()
function.
Happy coding,
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/27c64319e1ca198958613305e6ea1b6e-87a1c39.jpg)
Thank you Thierry.
Customizing it to fit my needs.