PHP Basics Lesson 1B – Variables

For this lesson, you will need: Access to an online PHP interpreter. I’ll be using OneCompiler for this example. View my quick overview of OneCompiler A basic primer on math in PHP – These articles should do the trick Tutorials point – Working with PHP...

Routing url parameters to a custom page

First add the query param : In your functions.php file add the line function heavy_article_query_vars($query_vars) { $query_vars[] = “kbid”; // the name of the custom query param we want to add return $query_vars; } Next, add the filter function to query...