News

Posts Tagged ‘php’

WordPress “Delete Post Link”

Wednesday, September 15th, 2010

I recently had a client ask for a delete post link, like the WordPress edit post link template tag, for the user to delete posts when browsing the front-end of the site. He also wanted a pop-up confirmation box to appear before deleting the post. I saw variations on this function in several places, but never exactly what he asked for. (more…)

WordPress Tip: Echo the current page number

Thursday, July 1st, 2010

I’ve recently been working on a site with loads of data that all needed to be linked together by archive page number. So, for example, if you are browsing page 4 of “Category A” posts, you need to easily access links to page 4 of “Category B” posts. (more…)