Tag Info

New answers tagged

0

Yes, symlinks also possible. But maybe you have a problem with the rights of the wp install. Often have the user of the install, like www, not enough rights for the path from your symlink. The user of the WP install must read inside the custom theme folder, important at first is the style.css, created with your user. Try this: chmod 777 ...


0

You can , strictly speaking, create a child theme with just a stylesheet. To achieve this, you will need to import the parent stylesheet into the child stylesheet using the @import method. This should however be avoided due to page load times for one. @import negatively impacts page load time. You should go and read this post on SO The correct way is to ...


0

Yes you will need to enqueue parent theme styles into child theme. Adding style.css in child theme will not automatically add parent theme's styles too. You can enqueue parent theme's styles like this. Create a new functions.php in child theme and paste this. function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', ...


0

It turns out all that is required is a .deployment file in the repository [config] DEPLOYMENT_TARGET = D:\home\site\wwwroot\path\to\theme


0

I fixed it by just removing the function that threw the error. I have not seen any implications yet. Image upload is working perfectly now.


0

You shouldn't have to reload anything you will need to hook this fucntion into a hook so it's actually run something like this should do it: do_action( 'init', 'toolbox_setup' ); http://codex.wordpress.org/Function_Reference/do_action


1

You can use the filter template_include. wp-includes/template-loader.php is where template is included.


1

The default behavior for box-sizing is content-box. This is applied when you deselect the rules in Chrome. Have you tried applying box-sizing: content-box in your own CSS file instead of inherit? .ct-black-square { background-color: #88a0a9; box-sizing: content-box; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; } ...


0

The featured content is part of the TwentyFourteen theme, and is not implemented as a plugin, but rather as an Appearance > Customize setting (via get_theme_mod()), which allows the use of a Grid or Slider layout, choosing posts base on the tag provided. BTW, I figured this out only after reading your post! So thanks for your question, it helped me a lot.


0

but still looking for some guidance / suggestions on moving the look & feel [theme] Content Management Systems like WordPress separate the content from the design. You have the content; you now need the design. So you need to look at the HTML and CSS at Hubspot and read http://codex.wordpress.org/Theme_Development to see how to convert the design ...


0

So far, I have found only several plugins, which allow to do this job: 1) "Theme Test Preview" 2) "Theme Test Drive" 3) "Theme Switch and Preview" 4) "User theme"


1

For anyone stumbling upon this question; there is an action you can hook into (added 3.3.0) which is fired only on activation of a new theme: after_switch_theme add_action('after_switch_theme', 'mytheme_setup_options'); function mytheme_setup_options () { //doing a thing... } http://codex.wordpress.org/Plugin_API/Action_Reference/after_switch_theme To ...


0

Then why don't you separate styles for both. So you can add styling for both differently. Like this. These are the styles for post/page title on inside pages #primaryContent h1 { margin: 10px 0 0; padding: 0; } #primaryContent h1.postTitle { font-size: 23px; margin: 0 0 20px; padding:10px 0; text-align:left; color: #b78a3c; ...


0

Setting display_errors to 1 has let me determine that for some reason wp-includes/pluggable.php was not included while running the plugin, so wp_get_current_user() function was missing. Although I didn't find the reason of malfunction, thanks to answer to this question I hardcoded plugin by setting following at the beginning: ...



Top 50 recent answers are included