✨ 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
    • Adding AJAX To Plugins on the Front-End
    • Close
  • Mark Miller
    Mark Miller
    45,831 Points

    Unexpected End of File in Wordpress plugin.php

    Posted on Jul 17, 2018 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 on Jun 14, 2018 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 on Jun 2, 2016 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 on May 9, 2016 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 on Jun 13, 2015 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 on May 22, 2015 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 on Apr 19, 2015 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 on Mar 29, 2015 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 on Mar 7, 2015 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 on Aug 26, 2014 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 on Aug 26, 2014 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 on May 28, 2014 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 on Apr 23, 2014 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 on Mar 24, 2014 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 on Mar 12, 2014 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 on Mar 2, 2014 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.

    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.