Virtual pages for my plugin

Posted by Fini on Stack Overflow See other posts from Stack Overflow or by Fini
Published on 2010-05-20T08:57:09Z Indexed on 2010/05/20 9:00 UTC
Read the original article Hit count: 304

Hi, I am currently in the process of making a WordPress Plugin which is going to parse some external data (products) from various web services and present them as normal pages in WordPress.

I would like to avoid actually creating the pages programatically and instead just generate them on the fly to avoid any synchronization issues if a product is deleted and so forth.

My plugin is going to have a base url in which it will hook on to, for example /products/, and then I would generate each product page by calling /products/some-product-name/. I also anticipate the need for uri's like /products/category/some-category-name/ which I will use to list all items in that category.

Since I am new to WordPress plugin development, I am looking for some tips and advice to get me started on the right foot. Any help is highly appreciated ;)

© Stack Overflow or respective owner

Related posts about wordpress-plugin-dev

Related posts about wordpress-plugin