Tag Info

Hot answers tagged

15

AFAIK, there's no framework official/standard framework, and there will be as many plugin development styles as there are shades of white in north pole. I'd say WordPress Coding Standards are a blueprint for a good style. You'll find lots of good examples and excellent coders here in WPSE. A nice starting point: questions/tagged/plugin-development. ...


13

Hybrid Theme Hybrid, developed by Justin Tadlock. Scope of code is primarily PHP internal functionality and front-end templates for themes. Interesting features: code aims to minimize template edits, most of functionality can be controlled via hooks; context-aware - extended body-class, dynamic context-aware hooks that allow to hook events that fire only ...


4

Canvas Purpose Advanced standalone/parent theme, uses WooFramework. For sketching out sites and concepts. Building a version 1 without having to do so from scratch. Strong features I find the theme code very easy to hack for my purposes. Canvas uses a lot of new HTML and CSS features in a smart way. Downsides Not free (but free software) ...


4

Takea look at framework for plugin/theme options panel? and WordPress frameworks and parent themes which both together list a very large number of frameworks and themes to use with there pros and cons.


3

Of the few I've seen, I think that most "premium" Themes way over-complicate Theme Settings pages. I generally prefer Theme Settings pages that maintain the style/layout of the rest of the WP-Admin UI. So, these would be my rules of thumb: Incorporate meaningful settings, and not necessarily every possible setting under the sun. Organize settings ...


3

Every good and solid piece of advice you will get about making wordpress themes or frameworks will likely come with a suggestion to make it "child theme ready". This is because many developers understand the massive inherent value in customizing a theme/base using a child theme, and they will want it. The primary reason IMHO is that it makes future updates ...


3

You can enable child themes for any theme: http://codex.wordpress.org/Child_Themes If you want your parent theme based off another parent theme, for example you want a theme based off of Twitter bootstrap and apply any changes they make to your framework, without over-riding your changes, use revision control. Git Mercurial etc.


2

However, in the event that it becomes appreciated to the public - does it necessarily HAVE to be inheritable (the ability to have Child Themes derive from it)? While you can certainly make life difficult on users who try to use your Theme as a template for a Child Theme, it is all but impossible to prevent your Theme from being used as such. Am I ...


2

SWIFT On my private blog i use : http://swiftthemes.com/ purpose: standalone theme but child themes are supported with demo childtheme Kill Bill theme included strong features: out of the box it includes a real handy template adjustable in the end user menu system nice friendly creater and user community its easy to understand and easy hackable which ...


2

An options framework is designed to make the creation of settings pages for plugins and themes easier. An options (or settings) page is a page in the WordPress Dashboard where the behavior of the theme or plugin can be controlled. For example, themes will often have a settings page to setup color schemes, logos, and other similar options. WordPress core ...


2

Most frameworks are specifically designed to easily handle a large range of applications, while WordPress is quite limited when it comes to using its API to create applications like the one you mentioned. If you want to compare WordPress as a PHP framework with existing popular frameworks, think of it as one of the worst options. It's not that you can't ...


2

One area where a framework (CakePHP, CodeIgniter etc.) may be more beneficial than Wordpress is in the way they represent the relationships between data. Most frameworks will give you the ability to easily define lots of independent "data types", and - importantly - define how these data types are connected to each other. This is something that you'd have to ...


2

as for your first answer , Like always, you can do that in many ways.. you can use a local folder synch write a function to allow wp to use a themefrom other install (3 filters to check : template_directory_uri // theme_root //theme_root_uri ) install a multiblog network mode and use the same theme for all. IMHO the best would be to to use local ...


2

From http://headjs.com/ : There is a common misbelief that a single combined script performs best. Wrong: latest browsers and Head JS can load scripts in parallel. loading 3 parts in parallel instead of as a single chunk is usually faster. iPhone 3.x cannot cache files larger than 15kb and in iPhone 4 the limit is 25kb. And this is the size before ...


2

I would assume that the vast majority of theme developers that sell their work on market places use their own custom frame work. I most certainly do. By using my own frame work, I'm able to know absolutely every little corner of it. And every time I build a new theme, whether for a marketplace or for a client, I always spend a little bit of time improving ...


2

I have had great success with Lee Mason's NHP Theme Options Framework . It is super easy to get up and running, but very powerful at the same time. It is setup as a default in my stock base theme that I start projects with now. HTH


1

You could just create different style sheets for each color profile, and load those depending on which month it is. Here's a basic example showing how you could load a halloween.css file for october, and an xmas.css file for december. The code below would go in your themes functions.php file: add_action('wp_enqueue_scripts', 'seasonalCSS'); function ...


1

The only directory a theme or a plugin should write to is the uploads directory. That is the only directory with guaranteed write access (besides the server’s temporary directory). Anything else is wrong and might not work. There is no practical difference between both, except one: the upload directory may be on another (sub) domain to save HTTP data. ...


1

What kind of updates are you talking about? Your understanding is basically correct: if you make a theme from a starter theme, that theme won't be automatically updated. But depending on what kind of updates you're talking about, your themes shouldn't need to be updated every time a new version of WordPress is released. New versions of WP don't make old ...


1

While I believe that @Pippin is absolutely correct regarding how most premium theme developers work, you should know that you can grab any open source starter theme or framework, and - as long as you respect the various component licenses - use it as a base upon which to develop a premium theme. This can be seen in the comment stream in the handcrafted-wp ...


1

I think you could do that by creating a plugin that you can integrate into a page. E.g. mingleforum uses a shortcode, which you can use to create the forums. You create a page, with the URL you want, e.g. "CUSTOMAPP" page with URL "example.com/customapp", and then within that page use the shortcode to instantiate your app.


1

The advantage of using a framework is two-fold: If using a theme framework to build a regular theme, it can give you a head start by giving you mature code (in most major frameworks, anyway) that you can use as a base for your customizations. This gives you more control of the theme framework code but also creates a bit of a problem: you now have a forked ...


1

As far as I am aware and based on interpretation of your heavily indecipherable question (no disrespect intended) you are asking for a plugin or framework that you can install in Wordpress that will allow you to visually convert a PSD into a Wordpress theme. As far as I know there isn't such a thing in any form of Wordpress plugin or framework that will do ...


1

WP doesn't provide any helper methods for creating and processing forms in the front-end. To process your front-end form simply check for $_POST-ed data. I suggest you do this from within an action, and only if the widget is active. In your constructor - the someWidget() method (which you should rename to __construct, and call parent::__construct instead ...


1

Okay, I've looked at the function description for get_field_name() and it says that this function is specifically designed to be used in the form method of the Widget class. I found no uses in the Wordpress code outside of the form() method. /** * Constructs name attributes for use in form() fields * * This function should be used in form() methods to ...


1

You might want to look into creating a MU (Must Use) plugin, see Wordpress Codex. Within this file, you can include your library (using require) or you could just tweak your library file a bit and use it directly as the MU plugin. The session_start() and ob_start() functions worked for me with ever-so-brief testing, but your mileage may vary so test test ...


1

You can add a new 'main' page to the admin menu using add_menu_page (see Codex). The solution @Kaiser linked to provides sufficient detail on how to create a settings page. The only difference is that rather than adding a page under 'Appearance' (with add_options_page) you'll want to use add_menu_page If this is for distribution I suggest and ask that you ...


1

Founder here. Most people use the framework to see how we've solved certain challenges, so they'll re-use individual code blocks. It's not plug and play as is noted at the very top of the github readme: Warning: At this point & without our full infrastructure, you will be missing certain functions (primarily in the food area). We hope to ...


1

The readme in the theme repository answers your questions already: replace what you don’t need, and add your own code to the theme’s style.css and functions.php. The theme isn’t meant to be complete, it is really just a start. You can do whatever you want, and it will be fine. Examples I would change the font size handling. In _s it is set in px. This ...


1

This looks wrong: if ($query->have_posts()) { $count = 0; while ($query->have_posts()) { the_post(); $count++; Use this: if ($query->have_posts()) { $count = 0; while ($query->have_posts()) { $query->the_post(); $count++;



Only top voted, non community-wiki answers of a minimum length are eligible