• endeavourz

    (@endeavourz)


    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)
  • roya khosravi

    (@roya-khosravi)

    Hi,

    Atahualpa theme for WP.osC is now available for download.

    Thread Starter endeavourz

    (@endeavourz)

    Thank you for your help Roya. WP .osC Forum got right back to me with this link (https://www.wposc.com/forums/topic.php?id=28) explaining how to make the fix. Still working out one minor issue with implementing fix, but probably my fault, not theirs. WP .osC has been great to work with so far!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP .osC using atahualpa template’ is closed to new replies.