SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2011
    Location
    Northern Ireland
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    WordPress admin bar not showing on front-end page template?

    So ive just created a page template for wordpress... however when i view the page the wordpress admin bar doesn't display along the top.. is there a tag i need to insert in the page.php file? It shows up on my custom blog theme but not the page template

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,617
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    The wp_head() function should be included in your header.php file.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2011
    Location
    Northern Ireland
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a page template (not a blog theme for posts) so it isnt broken down into header.php, index.php, footer.php like my blog theme is.. its just a single page.php with the loop in place of body content... Should i still include wp_head(); in the <header></header> tags of my page.php file?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •