Use child theme on certain pages and not others?

you can use page templates for that if you have a page template within your them, and if its a different theme all together then you can use Page Theme which is a plugin that can be used to display a different theme (not template) for each page/post of your blog.

Linking to Child Theme PHP Files

Theme/Parent Theme/Child Theme usage is irrelevant here. Content is not added via Theme template file, no matter what Theme you use. Go to Dashboard -> Pages, and add new static Pages for each of your site’s pages. WordPress will generate them, and the Theme will display them. Edit ok so I figured out that I … Read more

Select full Image Size on widget “Genesis – Featured Posts”

If you replace genesis_get_additional_image_sizes(); with genesis_get_image_sizes() you can choose any size image for the widget thumbnail. Replacement featured-post-widget.php is available on GitHub. And here is the replacement code: $sizes = genesis_get_image_sizes(); foreach( (array) $sizes as $name => $size ) echo ‘<option value=”‘.esc_attr( $name ).'” ‘.selected( $name, $instance[‘image_size’], FALSE ).’>’.esc_html( $name ).’ ( ‘.$size[‘width’].’x’.$size[‘height’].’ )</option>’;

Rewrite post type slug only for child theme

Make the slug translatable when you register the custom post type: register_post_type( ‘post_type_name’, array ( ‘rewrite’ => array ( ‘slug’ => _x( ‘post_type_name’, ‘URL slug’, ‘your_text_domain’ ) ) ) ); Then create a small plugin for the site where you want to change the slug: add_filter( ‘gettext_with_context’, ‘change_my_slug’, 10, 4 ); function change_my_slug( $translation, $text, … Read more

Importing changes to Child Theme

Many good text editors have a “Compare Files” funciton, so use that to compare an unedited copy of the css file and your edited copy and save the differences for your child theme.

How can I change a function in a parent theme via a child themes functions.php

On the init action, remove the action calling their function and enqueue an action calling your (differently named) function, like this: add_action(‘init’, ‘wpse_80107_init’); function wpse_80107_init() { // remove parent theme’s header content action remove_action(‘cyberchimps_header_content’, ‘cyberchimps_logo_icons’); // add child theme’s header content action add_action(‘cyberchimps_header_content’, ‘wpse_80107_logo_icons’); } function wpse_80107_logo_icons() { // your custom code here }

Child Theme activates, but nothing from parent theme displays (MAMP, Multisite)

Basically I am using a child theme as the default theme every time a new blog is created. In the wp-config.php file – I was calling define(‘WP_DEFAULT_THEME’, ‘confit-childtheme’); define( ‘TEMPLATEPATH’, ‘/public_html/wp-content/themes/confit’); I read that when you are using a child theme as the default install theme, you have to reference the parent theme folder. This … Read more