Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: update caused critical error for child #1410020

    hi – i added the template to css but am a little confused on removing the index file. when i remove the child index, the website is just a blank white screen. the content is there when i use the enfold theme but none of the customizations are there? thanks

    in reply to: update caused critical error for child #1409912

    Hi – I tried to remove the index and set a blank index file and currently there is just a blank page showing on the site. it seems that the code i added back when i built the site (below) is important but maybe needs an update somehow?

    these are the sections i tried removing (both separately and together) but i was either getting the blank page or a broken site. thanks!
    if(!empty($blogpage_id) && get_post_meta($blogpage_id, ‘header’, true) != ‘no’)
    {
    echo avia_title(array(‘heading’=>’strong’, ‘title’ => $title, ‘link’ => $t_link, ‘subtitle’ => $t_sub));
    }

    do_action( ‘ava_after_main_title’ );
    ?>

    <div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?> <?php echo avia_blog_class_string(); ?>’>

    <div class=’container template-blog ‘>

    <main class=’content <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ => ‘content’));?>>

    <?php

    $avia_config[‘blog_style’] = apply_filters(‘avf_blog_style’, avia_get_option(‘blog_style’,’multi-big’), ‘blog’);
    if($avia_config[‘blog_style’] == ‘blog-grid’)
    {
    $atts = array(‘type’ => ‘grid’, ‘items’ => get_option(‘posts_per_page’), ‘columns’=> 3, ‘class’=>’avia-builder-el-no-sibling’, ‘paginate’=>’yes’);
    $blog = new avia_post_slider($atts);
    $blog->query_entries();
    echo “<div class=’entry-content-wrapper’>”.$blog->html().”</div>”;
    }
    else
    {
    /* Run the loop to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-index.php and that will be used instead.
    */

    $more = 0;
    get_template_part( ‘includes/loop’, ‘index’ );
    }
    ?>

    <!–end content–>
    </main>

    in reply to: update caused critical error for child #1409803

    HI – Thanks for your response! I don’t need to override that file, that’s the error message that comes up on the website. with child theme…. Could I just make a new index in the child theme?

Viewing 3 posts - 1 through 3 (of 3 total)