Support » Fixing WordPress » Front end plugin…How…?

  • Hi all…. I would like to write a front end plugin. The function of he pluing it has to fetch the products list from the database and to show on the main site with menu item in the top menu. How can i acheive this…I have developed the back end plugin to enter the products data into the data base and now i stuck up with the front end plugin….Please help me in doing this….are there any tutorials for developing the front end plugin…..Thanks in Advance…..

Viewing 1 replies (of 1 total)
  • Have you read the Plugin_API?

    Pay particular attention to the bit about hooks. If you want your plugin to display content as the body of a page or post (which is what it sounds like), you’ll probably want to hook into the the_content filter.

    A standard way of doing something like that is to create a new post or page, write something like [my_awesome_plugin] in it, publish it, then write your plugin so that it replaces [my_awesome_plugin] with whatever you want.

Viewing 1 replies (of 1 total)
  • The topic ‘Front end plugin…How…?’ is closed to new replies.