Questions tagged [child-theming]

80 questions
12
votes
1 answer

Wordpress child theme of a child theme

I'm using a theme what already is a child-theme of it's parent theme. Since I would like to make some changes, I want to make a child-theme. How to make a child theme for a child theme?
Max
  • 803
  • 3
  • 10
  • 24
3
votes
0 answers

WooCommerce not recognizing child theme files

I am trying to modify the single-product.php template in WooCommerce. I follow the following steps: 1) Declare WooCommerce theme support by adding this to child theme functions.php: add_theme_support( 'woocommerce' ); } add_action(…
2
votes
0 answers

Override a WordPress plugin function or constant via a child theme's functions.php

I am wondering if it's possible to override either a function or a constant of a plugin via a child theme's functions.php. The issue I'm having is I have a plugin which refers to some custom template files for said plugin in a folder in the current…
2
votes
1 answer

Custom Admin Email Subject for Woocommerce

I would like the Email Subject line for the admin email to change based on the product category. I've looked at ALL similar stack overflow questions and NONE of them work for WooCommerece 3.8.0 (see this and this). What I have is this function…
David Lee
  • 571
  • 6
  • 20
2
votes
1 answer

Make Woocommerce (3.8.0) admin email include my custom field data from the checkout page

I have created some custom fields on the woocommerce checkout page. My code is correct and the fields display properly I have saved the field data and displayed them in the admin panel. My code is correct and the fields display properly. I have…
David Lee
  • 571
  • 6
  • 20
2
votes
2 answers

How do I check for child theme files first using include, before going to parent theme?

I'm creating a WordPress child theme based on an existing parent theme, and I'd like to have any same-named file I put in my child theme directory take priority over the file in the parent theme directory. I thought this was how parent/child theming…
Mike B.
  • 773
  • 3
  • 12
  • 26
2
votes
1 answer

Translatable strings from child theme not included in translation files

So I think that I have all the configuration for translation set, but my translatable strings are not loaded to .po or .pot. In functions.php: function opportune_child_setup() { load_child_theme_textdomain( 'opportune',…
2
votes
2 answers

Wordpress Child Theme CSS not updating

css is not working. It's weird because I see it in the head of my html when I view it with my browser inspector... but its not picking up the new css I add to it. I tried clearing my catch. this is my child theme style.css /* Theme Name: Venedor…
Dan Baker
  • 21
  • 1
  • 2
2
votes
1 answer

load_theme_textdomain using wordpress theme child not working with me

I have problem that I want to load textdomain using child theme.. the function page in the child theme contains only the following code.
2
votes
2 answers

Extend CSS of Wordpress-Theme

Since 3 days I'm trying to add my custom CSS to an existing Wordpress-Theme. I do that by creating a child-theme with Child-Theme-Configurator (http://www.childthemeconfigurator.com/). Basically, it works ok. But there are still some…
rob_87
  • 45
  • 1
  • 1
  • 8
2
votes
1 answer

Child Theme CSS not being applied

I have a Child theme for twentytwelve I am using. It has been checked to be CSS level 3 valid free of errors. /* Minimum width of 600 pixels. */ @media screen and (min-width: 600px) { .site { margin: 0 auto; max-width: 960px; max-width:…
l33tcodes
  • 21
  • 3
1
vote
0 answers

How do I set Elementor header and footer templates as global using OCDI in WordPress child themes?

Good day I have built a child theme with demo pages. I want to be able to import my demo pages built with Elementor. The issue I am encountering is that it is not setting the Elementor header and footer automatically. Does anyone have a fix for…
1
vote
1 answer

wordpress child theme does not automatically load single-post_type.php from parent

For the first time I am trying to setup a wordpress child theme. The parent has a complicated templates for custom post types and header.php and footer besides stylesheets and javascript files etc. The child theme only needs to change the css (for…
thevikas
  • 1,618
  • 1
  • 14
  • 31
1
vote
1 answer

Modifying single.php on child theme "Mikado Newsflash"

I have a website with "Mikado Newsflash" theme and a custom child theme. I can add functions on child theme and that, but if I modify single.php I get no results. Even if I delete the code on main theme it still works. Is it being called somewhere…
Juárez
  • 121
  • 1
  • 1
  • 10
1
vote
1 answer

How can I alter the final result in a breadcrumb so it shows as an H2 when using a childtheme on the Storefront WooCommerce theme?

I'm using WooCommerce, I have Storefront theme applied and I have then created a childtheme of that which I can use to alter my site. What I am trying to do is alter the final result in the breadcrumb shown on all pages to display the result in an…
1
2 3 4 5 6