WP .osC using atahualpa template
-
I am very happy with how smoothly Atahualpa is working for my wordpress 2.7.1 blog. I am installing a wordpress store using the WP .osC plugin (very cool by the way), but it seems that the Atahualpa theme will not apply to the template. I get this error message after I set it to the Atahualpa theme:
Warning: Invalid argument supplied for foreach() in /homepages/9/d200890229/htdocs/endeavourz/store/catalog/themes/atahualpa/index.php on line 3
Fatal error: Call to undefined function: is_page() in /homepages/9/d200890229/htdocs/endeavourz/store/catalog/themes/atahualpa/index.php on line 10
Here are the first few lines of my index.php file:
<?php global $options; foreach ($options as $value) { if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); } } if ( is_page() ) { global $wp_query; $current_page_id = $wp_query->get_queried_object_id(); } ?> <?php get_header(); ?> <?php // If there are any posts: if (have_posts()) : $postcount == 0; ?> <?php if( is_archive() AND function_exists('page2cat_output')) { page2cat_output($cat); } // This is for the plugin Page2Cat https://www.ads-software.com/extend/plugins/page2cat/ ?>
Thanks for your help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP .osC using atahualpa template’ is closed to new replies.