crowesnestcreative

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Issues placing widget PHP code on homepage #733142
    crowesnestcreative
    Participant

    I’m trying to build the sidebar, and here’s my code so far that I put in my widgets.php file:

    function theme_slug_widgets_init() {
    register_sidebar($upcomingevents = array(
    ‘name’ => __( ‘Upcoming-Events’, ‘upcoming-events’ ),
    ‘id’ => ‘upcoming-events-sidebar’,
    ‘description’ => __( ‘This is where all the upcoming events will be displayed.’),
    ‘before_title’ => ‘<h1>’,
    ‘after_title’ => ‘</h1>’,
    ) );
    }
    add_action( ‘widgets_init’, ‘theme_slug_widgets_init’ );

    I added the new sidebar to my homepage using this: <?php register_sidebar( $upcomingevents ); ?>

    Any idea as to what I’m doing wrong? Here’s my site: http://behmsauction.crowesnestcreative.com

    in reply to: Changing the Word, 'Events' On Pages #730524
    crowesnestcreative
    Participant

    Thanks Casey! You got it! All fixed! Really appreciate you assistance!

    in reply to: Changing the Word, 'Events' On Pages #730517
    crowesnestcreative
    Participant

    Sorry Casey! Guess I missed first response email! :/ My apologies. Let me plug that in, and see what I can do!

    Thanks,
    Crowe’s Nest Creative

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