New answers tagged

0

I strongly suggest that clear cache first. If it still doesn't work, check the permission of wp-content directory.


2

Nothing would happen, everything would remain the same. Child themes inherit the functionality of the parent theme. Just a few notes All posts regardless of post type is stored in db, so they never "disappear" even when the post type does not exist anymore. Custom post types and custom taxonomies should be registered in a plugin to keep them available ...


1

Your question is totally misdirected and should be directed at core developers on wordpress.org. You are also totally missing the whole point of the core bundled themes. The main purpose of bundled themes are to showcase new developments in core and what the core developers find interesting. They are not there to please the masses with pedantic link colours ...


0

As stated in my comment, your question in off-topic, however as for my opinion (and I do emphasize that it is just that, I haven't conducted any research into the matter)... I find washed-out visited links distasteful - a pragmatic necessity that's lost it's merit in the two decades since the research you cite. I have no need for a website to tell me where ...


0

Hmmm, your rant is 99% off-topic, but to give some context, the default themes are meant to be technological show case, and not "the best" (for any definition of "best") for any specific use case. There are actually very few* people involved with wordpress development so it is very understandable if no aspect of wordpress out of the box will get a 5 stars. ...


0

I haven't used Genesis myself, but is there upgrade documentation? Similar to when Bootstrap gets updated between major releases, they change the class names but with some work you can re-connect them. http://getbootstrap.com/migration/ Also, how extensive is the child theme? Can you remake it without driving yourself crazy?


0

If you want to remove the entire twentytwelve_scripts_styles function, you have to remove the action hook : remove_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' ); However, this code have to execute after the function is being hooked by Twenty Twelve code, and before the action is fired (because after it's too late). The child theme ...


0

You can use get_stylesheet_directory() to refer to your child theme, then you can point to your file. require_once( get_stylesheet_directory() . '/includes/theme-styles.php' ); It will load your file and replace the parent theme file.


0

Our problem was that our style.css file was in a css folder inside the child theme directory, not at the root of the child theme. When we placed a style.css file at the root and included the comment block with theme name and template it picked up the functions.php file as expected.


0

Filter template_include, use output buffering to catch the rendered file content and DOMDocument to change it. Untested example: add_filter( 'template_include', function( $template ) { // Bail out early. if ( 'the-file-you-want-to-filter' !== $template ) return $template; get_header(); ob_start(); include $template; ...


0

I'm not sure you can - if you can't make a child of a child theme ( which I'm fairly certain you can't ) and the main theme doesn't supply any hooks - the only real thing you could do is hook into get_footer(); but that may be too late.


2

It really just depends on what you need to do here. The general method is to hook all your theme support features to after_setup_theme for some obvious reasons. after_setup_theme is the first action hook available to themes to add any type of support the theme. Certain features has to be registered here and cannot be registered later. One feature that ...


0

There's not a universal standard for this. The precedents that the core Themes are setting are incidental to rebuilding and innovating. They are not by design. They define font families for the Editor in the back end to establish a consistent feeling for content. Source: https://github.com/WordPress/twentysixteen/blob/master/css/editor-style.css Within ...


0

It is basically because TwentySixteen uses two different fonts Merriweather as a general site font and body text and Montserrat for specific parts like logo, title, etc... Merriweather for fallback general and body text: /** * 3.0 - Typography */ body, button, input, select, textarea { color: #1a1a1a; font-family: Merriweather, Georgia, ...


0

I know this is old but I've been thinking about it lately. I have the same issue, if I find myself very extensively modifying the parent stylesheet, it can get to the point where I am loading an enormous number of styles, simply to override them in the child theme. When I am dealing with this kind of project, it is usually the case that I'm doing much more ...



Top 50 recent answers are included