Skip to main content

Home/ Wordpress/ Group items tagged wp-child-themes

Rss Feed Group items tagged

Vernon Fowler

Child Themes « WordPress Codex - 0 views

  • A child theme resides in its own directory in wp-content/themes. The scheme below shows the location of a child theme along with its parent theme (Twenty Twelve) in a typical WordPress directory structure:
  • This directory can contain as little as a style.css file, and as much as any full-fledged WordPress theme contains: style.css (required) functions.php (optional) Template files (optional) Other files (optional)
  • @import url("../twentytwelve/style.css");
  • ...4 more annotations...
  • Note on the @import rule There must be no other CSS rules above the @import rule. If you put other rules above it, it will be invalidated and the stylesheet of the parent will not be imported.
  • Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent. Instead, it is loaded in addition to the parent’s functions.php. (Specifically, it is loaded right before the parent’s file.)
  • But, when creating child themes, be aware that using add_theme_support('post-formats') will override the formats as defined by the parent theme, not add to it.
  • A child theme can override any parental template by simply using a file with the same name.
kie guy

Hybrid WordPress Theme Framework - 1 views

  •  
    "Hybrid is more than just a WordPress theme. It's about pushing the limits with what WordPress can do. It's a framework. Something you can use to build anything from the smallest family blog to a powerful site that handles thousands of visitors a day." BENEFITS - THE SHORT LIST: * Developed with child themes in mind, so you'll never lose your customizations. * SEO optimized. No need for plugins to handle this anymore. * Theme options that are about content/information. * Templates for everything. * 13 page templates. * Actively developed for WP 2.7 but backward compatible down to 2.5. * 15+ plugins supported within the theme. * Attachment handling like you've never experienced. * Advanced breadcrumbs beyond any other theme. * Ability to run just about any type of site. * And over 20 tutorials to start.
Anna Johansson

Overriding WordPress Functions | venutip.com - 0 views

Vernon Fowler

How to Include JavaScript and CSS in Your WordPress Themes and Plugins | Wptuts+ - 0 views

  • a selection of common JavaScript libraries are already included that you can use for your JavaScript development
  • be selective about which pages you load your scripts on. If your plugin or theme has a script that only does something on one front-end or admin page, such as the theme’s options page, or maybe a page with a specific widget, you only need to load your script on that page. No point clogging things up and loading scripts on pages where they’re not being used!
  • it’s perfectly possible to prioritise scripts and styles and nominate whether they load in the header or footer from the comfort and safety of your functions.php. The benefit being that your theme / framework will work with a wider range of other plugins / child themes.
  • ...2 more annotations...
  • get_template_directory_uri()
  • get_stylesheet_directory_uri()
1 - 4 of 4
Showing 20 items per page