Say you’re writing some code and you need to declare the page id #
is_page()
or you need to declare the post id #
is_single()
so you can put it in the brackets, you can find the id pretty easily. Simply go to the page or post that you want to use and look in the address bar of your browser. At the end of the URL you’ll find something like this…
?p=100
?c=100
The number is the id #. Whatever number it is will be the number you use to write your code.











If you would like to leave a comment and you have examples of code you want to show, you must "escape the code". This allows the entire code to show correctly by inserting certain variable around certain tags to make them show. If you don't "escape the code" your code will show up broken, mangled, and it won't be able to be seen correctly. "Escaping the code" is very simple...
Go ahead, leave a comment...