WordPress: Display content on specific page

I’m having some trouble understanding the most basic concept of WordPress plugin development: how functionality is added to specific pages and how content is displayed on specific pages.

For example, how do I display a list on a static page? I understand you do this with hooks, but is it the hook that determines what page and perhaps under what div id that the content is shown?

The same thing with functionality. Say that function test() is to appear on a certain page, but not on others. How is this done?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.