97 posts
  • Exclusive Author
  • Elite Author
  • Finland
  • 6 Years of Membership
+6 more
Smuliii
says

This is my second week in developing my first Wordpress theme and experiencing with it so my skills and knowledge are still very limited. Here is the theme I’m converting: http://demo.knarsku.com/insidesign/

Right now I’m creating those “headers” just above box rows but because I haven’t before even used Wordpress so I don’t know is this good way to handle it:

[header] [info] [headline]Why hire us[/headline] [subtitle]This is subtitle[/subtitle] [/info] [links] [button color="orange"]Get in touch[/button] [button color="blue"]Read More[/button] [/links] [/header]

Am I even on the right track?

1037 posts
  • Affiliate Level 6
  • Author Level 10
  • Collector Level 4
  • Top Monthly Author
+8 more
ThemeBlvd
says

Sorry if this is obvious and maybe I’m misunderstanding what you’re asking here… but shortcodes are something that you need to create in order to use them in pages and posts. So if you’re using a shortcode [header], for example, that means you that you created it somewhere in your theme in order to use it.

http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/

Most likely you wouldn’t want to use shortcodes there because then you’re going to have to tell your user to (1) create a page, (2) put in all these shortcodes exactly how you have them and then (3) set that static page as their frontpage. I think this is kind of weird way to handle your theme’s homepage.

It might make more sense to make it a little more dynamic….

You could create a page template and have them set it as their homepage. You could create an options panel to edit different items on that page template.

Or you could could just have your default homepage (index.php) have HTML code structure of all those elements. And configure your theme options to allow them to dymanically put in the different elements.

You could take it a step further and make a couple of the areas “widgetized areas” or “sidebars”. For example, the row of boxes you’re referring to above could be a widgetized area of boxes that the user could drag any WordPress widget into from Appearance > Widgets.

FirestormGraphics
FirestormGraphics Recent Posts Threads Started
38 posts
  • Collector Level 1
  • United Kingdom
  • 4 Years of Membership
  • Exclusive Author
FirestormGraphics
says

is this a theme your coding from scratch or are you modding a purchased theme?

RocketshipThemes
RocketshipThemes Recent Posts Threads Started
360 posts
  • Author Level 5
  • Featured Item
  • 5 Years of Membership
  • United Kingdom
+3 more
RocketshipThemes
says

is this a theme your coding from scratch or are you modding a purchased theme?

Thread is 5 months old, check out his portfolio he’s already converted it and has it up for sale :D

by
by
by
by
by
by