• Home
  • My Free Tools
    • Creating a server with PHP
  • About me
Daily IT Help

My daily IT journal

  • Apple
  • Database
  • General
  • Linux
  • Marketing
  • Monitoring
  • Networking
  • Phone
  • Programming
  • Windows

Adding wordpress header from outside wordpress

itdoctor January 25, 2016 Adding wordpress header from outside wordpress2016-01-25T00:08:08+00:00 Programming No Comment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php require('wp-blog-header.php'); ?>
 
<?php get_header(); ?>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
 
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo
 
('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> ยป Blog Archive <?php } ?> <?php
 
wp_title(); ?></title>
 
<?php wp_head(); ?>
</head>
 
<body>
It works!
 
</body>
</html>
 
<?php get_footer(); ?>

No Comments Yet

Subscribe to comments feed

Leave a Reply Cancel reply

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

« Override WordPress .htaccess file
PHP Can’t write /tmp folder , TCPDF ERROR: Can’t open image file: /tmp/ »

Recent Posts

  • Splunk:command.mvexpand: output will be truncated at 300 results due to excessive memory usage. Memory threshold of 500MB as configured in limits.conf / [mvexpand] / max_mem_usage_mb has been reached.
  • Sitespeed – a script to wait for text
  • Git: some folders not committed
  • Azure Web App: Running PHP7
  • Azure Pipelines: App Service Deploy empty
Copyright © 2023. Daily IT Help
Mesocolumn Theme by Dezzain