Was wracking my brain trying to figure out why the “Edit this page” and admin bar weren’t showing up at all on our site using WP-Andreas01. The call to
edit_post_link() was in all the templates it was supposed to be, as well as calls to
wp_head() (for the admin bar CSS) and
Turns out the problem in my case was that the “WordPress address (URL)” and “Site address (URL)” in General → Settings weren’t set to the same thing. Or at least setting them to the same thing (and probably invalidating some cookies in the process) made the admin bar and edit links appear as expected.