Tweeted twitter.com/StackWordPress/status/968475433049231367
2 Formatting, wording, improve title
source | link

Admin Bar (Toolbar) not showing on owncustom PHP file that loads WordPress

I've made my own PHP page and used it as a part of my WPWordPress website. I'm using there some WP functionsWordPress functions and wannawant to have it fully integrated with WPWordPress itself.

But I have a problem with showing up admin bar onAlthough I've loaded WordPress, the Admin Bar is not loading at the top of the page. It actually doesn't even show in HTML structure (triedI tried to search CTRL+FCtrl+f for "wpadminbar"wpadminbar, no resultresults.)


What I've done -

1. Included WP file

require_once($_SERVER['DOCUMENT_ROOT'].'/wp-load.php');

2. Added wp_head();

Right before </head>

2. Added get_header();

Right after <body>

3. Added wp_footer();

Right before </body>


Also tried -:

show_admin_bar(true);

get_footer();

Any help? Thanks for your answers!

Admin Bar not showing on own PHP

I've made my own PHP page and used it as a part of my WP website. I'm using there some WP functions and wanna have it fully integrated with WP itself.

But I have a problem with showing up admin bar on the top. It actually doesn't even show in HTML structure (tried to search CTRL+F for "wpadminbar", no result)


What I've done -

1. Included WP file

require_once($_SERVER['DOCUMENT_ROOT'].'/wp-load.php');

2. Added wp_head();

Right before </head>

2. Added get_header();

Right after <body>

3. Added wp_footer();

Right before </body>


Also tried -

show_admin_bar(true);

get_footer();

Any help? Thanks for your answers!

Admin Bar (Toolbar) not showing on custom PHP file that loads WordPress

I've made my own PHP page and used it as a part of my WordPress website. I'm using some WordPress functions and want to have it fully integrated with WordPress itself.

Although I've loaded WordPress, the Admin Bar is not loading at the top of the page. It actually doesn't even show in HTML structure (I tried to search Ctrl+f for wpadminbar, no results.)


What I've done -

1. Included WP file

require_once($_SERVER['DOCUMENT_ROOT'].'/wp-load.php');

2. Added wp_head();

Right before </head>

2. Added get_header();

Right after <body>

3. Added wp_footer();

Right before </body>


Also tried:

show_admin_bar(true);

get_footer();

1
source | link

Admin Bar not showing on own PHP

I've made my own PHP page and used it as a part of my WP website. I'm using there some WP functions and wanna have it fully integrated with WP itself.

But I have a problem with showing up admin bar on the top. It actually doesn't even show in HTML structure (tried to search CTRL+F for "wpadminbar", no result)


What I've done -

1. Included WP file

require_once($_SERVER['DOCUMENT_ROOT'].'/wp-load.php');

2. Added wp_head();

Right before </head>

2. Added get_header();

Right after <body>

3. Added wp_footer();

Right before </body>


Also tried -

show_admin_bar(true);

get_footer();

Any help? Thanks for your answers!