How to use slug within a plugin?
-
Hi,
I need to create a products plugin that will show products based on a slug. The database will be something like this:0
Products
——-
id, INT
title, varchar(200)
description, TEXT
slug, varchar(200)
…A slug will have the form product-name (eg small-box-of-chocolates).
When someone clicks the product it will load the page /small-box-of-chocolates which will load the content from the product with slug small-box-of-chocolates
Can someone give me a few pointers please
Thanks
[No bumping. If it’s that urgent, consider hiring someone.]
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘How to use slug within a plugin?’ is closed to new replies.