• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Parse error on line 15 of customized archive php

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Parse error on line 15 of customized archive php

This topic is: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 10 years, 1 month ago by Tom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 31, 2015 at 12:28 pm #175288
    firstbessy
    Member

    Hi,

    I am working on a personal blog in Hebrew. The archive page displays everything in Hebrew, however, titles (author, categories, pages, latests post are displayed in English. When trying to modify this, and exclude titles I don't want - I receive a parse error on line 15 which is empty....

    <?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    http://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();
    
    January 1, 2016 at 10:51 am #175326
    Tom
    Participant

    What did you actually do "When trying to modify this, and exclude titles"? What code, plugin, etc. ?

    Did you modify Genesis theme files, as it appears here?


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble