Friday, October 26, 2012

Good ideas I thought for web themes

If you use different width sizes for mobile, create a new folder that contains some of the similar content that is the same across different themes (at the place where your themes are). For each theme, where you would usually include the content separately because of different style sheets included, just use a include function that refers to the block of text you want, which should now be in the other folder.

If you have separate pages for each product and would like to use only one for viewing each product, try.
1. Where the products are showed, make the link go to a page with ?body="youridforproduct" after.
2. On this page that it goes to, create the footer and header includes.
3. At the place where the content shows, create a switch function for $_GET['body'] to decide which block to use. The blocks should then be in the new folder under themes.
4. The function should get the certain value that determines which block to include.

 A good idea is to use a switcher to get specific day posts or to change themes for specific days, any special ones.

No comments:

Post a Comment