Empty Page after Register widget area

Community Forums Forums General Discussion Empty Page after Register widget area

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  rollo3000 1 year, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14792

    rollo3000
    Participant
    Post count: 3

    Hello.

    After adding this code to function.php of my child them i have a TOTALLY blank page (empty code in body tag)
    /** Register widget area */
    genesis_register_sidebar( array(
    ‘id’ => ‘home-slider’,
    ‘name’ => __( ‘Home Slider’, ‘my-theme’ ),
    ‘description’ => __( ‘This is the home slider’, ‘my-theme’ ),
    ) );

    What’s wrong?

    #14815

    SoZo
    Moderator
    Post count: 1573

    Did you copy/past that from somewhere? It’s got fancy quotes. Write it out from scratch.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #14976

    rollo3000
    Participant
    Post count: 3

    I tried, same result.

    You can download file by this link.

    https://dl.dropbox.com/u/108633970/functions.php

    #15020

    rollo3000
    Participant
    Post count: 3

    PHP log says

    [26-Jan-2013 16:29:51 UTC] PHP Fatal error:  Call to undefined function genesis_register_sidebar() in /Users/jamnut/Sites/wordpress/wp-content/themes/dvarim/functions.php on line 53

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

You must be logged in to reply to this topic.