WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Missing $before_widget and $after_widget (2 posts)

  1. erayalakese
    Member
    Posted 2 years ago #

    Hello,
    After 5-6 hours nonstop coding, i have a problem. Checked my syntax a few times, but still i couldn't find my mistake.

    (this codes from my themes functions.php file)
    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    This is my sidebar and widget codes. I'm putting LastPosts widget to Top Widget Area . But there isn't <div class="top-header-widget-box"><div class="top-header-widget-inner-box"> before widget. $before_widget $after_widget, $before_title, $after_title variables are null.

    Can you see any problem?

  2. erayalakese
    Member
    Posted 2 years ago #

    SOLVED . I forget to extract( $args ); on widget()

Topic Closed

This topic has been closed to new replies.

About this Topic