✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets
    • Close
  • Ashley Shaw
    PLUS
    Ashley Shaw
    Courses Plus Student 15,793 Points

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP

    Posted on Nov 28, 2017 by Ashley Shaw
    Ashley Shaw
    Courses Plus Student 15,793 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    3 Answers

  • Cristian-Adrian Frasineanu
    Cristian-Adrian Frasineanu
    5,101 Points

    Is PHP passing by reference?

    Posted on May 12, 2016 by Cristian-Adrian Frasineanu
    Cristian-Adrian Frasineanu
    5,101 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    1 Answer

  • Cristi Roberts
    Cristi Roberts
    5,905 Points

    When trying to register my widget, it doesn't show up in the widget area.

    Posted on Mar 26, 2016 by Cristi Roberts
    Cristi Roberts
    5,905 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    2 Answers

  • Juliette Tworsey
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,625 Points

    How to create Wordpress Widgets

    Posted on Jan 20, 2016 by Juliette Tworsey
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,625 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    1 Answer

  • Ulises Calvo
    Ulises Calvo
    2,233 Points

    Can anyone explain this Widget code for me please?

    Posted on Jan 11, 2016 by Ulises Calvo
    Ulises Calvo
    2,233 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    0 Answers

  • Ulises Calvo
    Ulises Calvo
    2,233 Points

    Can I echo the label and input fields from the Functions Form function?

    Posted on Jan 10, 2016 by Ulises Calvo
    Ulises Calvo
    2,233 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    0 Answers

  • Patrizia Lutz
    Patrizia Lutz
    1,449 Points

    Saving widget produces error Warning: Illegal string offset 'title' on on line 152

    Posted on Jul 2, 2015 by Patrizia Lutz
    Patrizia Lutz
    1,449 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    1 Answer

  • Caroline Forslund
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Caroline Forslund
    Front End Web Development Techdegree Graduate 36,096 Points

    Widget won't appear on my site

    Posted on Apr 16, 2015 by Caroline Forslund
    .a{fill-rule:evenodd;}techdegree seal-36
    Caroline Forslund
    Front End Web Development Techdegree Graduate 36,096 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    2 Answers

  • Luke Travis
    Luke Travis
    2,887 Points

    $instance variable never declared

    Posted on Oct 25, 2014 by Luke Travis
    Luke Travis
    2,887 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    1 Answer

  • valeriuv
    valeriuv
    20,999 Points

    Why does The Official Treehouse Badges Widget not work? (solved)

    Posted on Oct 18, 2014 by valeriuv
    valeriuv
    20,999 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • How to Create WordPress Widgets

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.