Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Mark Miller
    Mark Miller
    45,831 Points

    Unexpected End of File in Wordpress plugin.php

    Posted July 17, 2018 4:12pm by Mark Miller
    Mark Miller
    45,831 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    2 Answers

  • Timothy Grindall
    Timothy Grindall
    7,843 Points

    Not seeing variable

    Posted June 14, 2018 10:40pm by Timothy Grindall
    Timothy Grindall
    7,843 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    1 Answer

  • srikiran
    PLUS
    srikiran
    Courses Plus Student 592 Points

    Create an empty function named my_plugin_frontend_scripts.

    Posted June 2, 2016 10:46am by srikiran
    srikiran
    Courses Plus Student 592 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    3 Answers

  • Deborah Speken
    Deborah Speken
    4,050 Points

    Hook in the my_plugin_frontend_scripts so CSS and JS display on the front end of the site. Error in add_action?

    Posted May 9, 2016 12:39am by Deborah Speken
    Deborah Speken
    4,050 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    1 Answer

  • Renee Wilson
    Renee Wilson
    9,820 Points

    Having an issue with the Code Challenge 2 in Adding Ajax to plugins on the frontend

    Posted June 13, 2015 6:40pm by Renee Wilson
    Renee Wilson
    9,820 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    1 Answer

  • Brad Griffin
    Brad Griffin
    7,003 Points

    How is this file name and path incorrect?

    Posted May 22, 2015 4:54am by Brad Griffin
    Brad Griffin
    7,003 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    1 Answer

  • Habtemariam Kidane
    Habtemariam Kidane
    2,887 Points

    Can any one help what is wrong with my question number 5 of 6

    Posted April 19, 2015 7:19pm by Habtemariam Kidane
    Habtemariam Kidane
    2,887 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    0 Answers

  • MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points

    stage 4 challenge 3

    Posted March 29, 2015 10:39am by MUZ140045 Tafadzwa Gumunyu
    MUZ140045 Tafadzwa Gumunyu
    13,202 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    1 Answer

  • Spencer Johnson
    Spencer Johnson
    19,708 Points

    This is broken, please help...

    Posted March 7, 2015 12:34am by Spencer Johnson
    Spencer Johnson
    19,708 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    0 Answers

  • lyonel scapino
    lyonel scapino
    14,191 Points

    Adding Ajax to Plugins on the Front End, Code Challenge Task 5

    Posted August 26, 2014 12:16pm by lyonel scapino
    lyonel scapino
    14,191 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    1 Answer

  • lyonel scapino
    lyonel scapino
    14,191 Points

    wp_enqueue_script( 'my_plugin_frontend_js', plugins_url( 'my-plugin/js/front-end.js' ), array('jquery'), '', true );

    Posted August 26, 2014 10:38am by lyonel scapino
    lyonel scapino
    14,191 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    1 Answer

  • Travis Thompson
    Travis Thompson
    12,976 Points

    Adding AJAX to a Plugin - Challenge Task 5 of 6

    Posted May 28, 2014 2:33am by Travis Thompson
    Travis Thompson
    12,976 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    2 Answers

  • John Nixon
    John Nixon
    4,380 Points

    Challenge 5

    Posted April 23, 2014 2:58pm by John Nixon
    John Nixon
    4,380 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    0 Answers

  • Kendra Robinson
    Kendra Robinson
    10,043 Points

    WordPress Development - Building a WordPress Plugin

    Posted March 24, 2014 6:14am by Kendra Robinson
    Kendra Robinson
    10,043 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    1 Answer

  • Robert Gauthier
    Robert Gauthier
    23,549 Points

    Now enqueue a JS file named front-end.js within the js folder. Give it a handle of my_plugin_frontend_js, make it depend

    Posted March 12, 2014 7:17pm by Robert Gauthier
    Robert Gauthier
    23,549 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    2 Answers

  • Hope Connell
    Hope Connell
    20,461 Points

    Adding Ajax to Plugins on the Front End, Code Challenge Task 3

    Posted March 2, 2014 2:08pm by Hope Connell
    Hope Connell
    20,461 Points
    • WordPress
    • How to Build a WordPress Plugin
    • Building WordPress Widgets, and Shortcodes
    • Adding AJAX To Plugins on the Front-End

    4 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord