Posted on by
page link generator

On indimondo.com we wanted to give the film makers a chance of putting a button on their website that links to their film. So we build a small plugin listing all the films and when a film was chosen a link button was generated.

I’ve wrapped up the code and submitted it to the WordPress Plugin repo in case this could be usefull to anyone else. Grab it from the WordPress plugins page

For now the link generator only lists posts, but a future upgrade will give you the opertunity to list any kind of post type. Just use the short “page_link_generator” and it will appear like shown below:

Preview of button

Copy and paste this code into your website

This entry was posted in Code and tagged , .

Leave a Reply

Your email address will not be published. Required fields are marked *