• Hi,

    After trying to customize Genesis lifestyle Pro child theme archive page, I receive following error. Page of course is down.

    <?php
    /**
    ?* Genesis Framework.
    ?*
    ?* WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
    ?* Please do all modifications in the form of a child theme.
    ?*
    ?* @package Genesis\Templates
    ?* @author? StudioPress
    ?* @license GPL-2.0+
    ?* @link??? https://my.studiopress.com/themes/genesis/
    ?*/
    ?
    //* Template Name: Archive2
    ?
    //* Remove standard post content output
    remove_action( 'genesis_post_content', 'genesis_do_post_content' );
    remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
    ?
    add_action( 'genesis_entry_content', 'genesis_page_archive_content' );
    add_action( 'genesis_post_content', 'genesis_page_archive_content' );
    /**
    ?* This function outputs sitemap-esque columns displaying all pages,
    ?* categories, authors, monthly archives, and recent posts.
    ?*
    ?* @since 1.6
    ?*/
    function genesis_page_archive_content() { ?>
    ?
    ????<h4><?php _e( '??????', 'genesis' ); ?></h4>
    ????<ul>
    ????????<?php wp_list_pages( 'exclude=271,334,298,278,300, '); ?>
    ????</ul>
    ?
    ????<h4><?php _e( '????????', 'genesis' ); ?></h4>
    ????<ul>
    ????????<?php wp_list_categories( 'sort_column=name&title_li=' ); ?>
    ????</ul>
    ?
    ?????
    ????<h4><?php _e( '?????? ??? ????', 'genesis' ); ?></h4>
    ????<ul>
    ????????<?php wp_get_archives( 'type=monthly' ); ?>
    ????</ul>
    ?
    ????<h4><?php _e( '?????? ???????', 'genesis' ); ?></h4>
    ????<ul>
    ????????<?php wp_get_archives( 'type=postbypost&limit=100' ); ?>
    ????</ul>
    ?
    <?php
    }
    ?
    genesis();

    Any help would be very much appreciated.

  • The topic ‘Parse error on line 15 of customized php file’ is closed to new replies.