Today inserted the following code into an external index.php to be show as part of Atahualpa:
Code:
<?php require('../wp-blog-header.php'); get_header(); ?> <?php list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options(); get_header(); extract($bfa_ata); ?> CODE CODE CODE CODE CODE <?php get_footer(); ?>
The index.php is located in a folder inside of public_html (public_html/folder/index.php
Note: i'm not expert, and i usually troubleshot my problems with my google-fu, but this time it failed me.
Thanks in advance.
SOLVED:
The following code remove the "404 Page not found"
Code:
<?php require('../wp-config.php'); $wp->init(); $wp->parse_request(); $wp->query_posts(); $wp->register_globals(); ?> <?php list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options(); get_header(); extract($bfa_ata); ?> CODE CODE CODE CODE CODE <?php get_footer(); ?>