I’m halfway through knocking up a theme for Wordpress, and I was just wondering if anyone had any tips for someone about to sell for the first time?
I normally develop custom post types, field types etc. by hand, but do people here normally use plugins for things like this?
What about ensuring that the user can customise the style of the site themselves? Do people rely on creating custom “css.php” files, or do they use something like option tree instead?
Thanks in advance for your advice!
Buy a few themes and study them (just don’t “borrow” anything). You’ll be able to learn a huge amount about what makes themes good and usable for end-users. It’ll absolutely be worth a hundred bucks in the time you’ll save thinking of everything the hard way.
Thanks for the response! Sounds like a good idea.
Do you have any suggestions for how to handle things like custom fields, etc?
Custom fields: https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress
Oh brill, thanks for these!
Is it good practice to put things like the ability to change global fonts / layout changes into this menu as well, or should things like that be held in a custom options menu within the admin menu?
If so, any tips or best practices for implementing something like this, from a code perspective?
In my opinion all global settings should be added to the Theme Customizer rather than a separate options panel / page. why? Well then you’ll never have to update your theme because a WordPress update broke your options panel!
Any post specific settings should be added as post meta (custom fields) where appropriate, but try to be sparing here.
As for font choices, this plugin integrates with the Theme Customizer:https://wordpress.org/plugins/easy-google-fonts/
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.