Questions tagged [child-theming]
80 questions
1
vote
1 answer
Advanced Vue.js Dynamic Functional Component using `:is` syntax and render function
Background: I've built a standard single file component that takes a name prop and looks in different places my app's directory structure and provides the first matched component with that name. It was created to allow for "child theming" in my…

slowFooMovement
- 498
- 5
- 14
1
vote
2 answers
Get download count of downloadable product to display in Woocommerce
I am hoping to display how many ppl hv downloaded the product,
notice, not the number of sales.
Because sometimes I will offer the product free,
and I was hoping to manipulate this number with each click.
The first part I tried to display the number…

adrian li
- 457
- 8
- 19
1
vote
1 answer
Custom Field created in add_meta_boxes reappearing itself again in the default Custom Metabox
I succeed in creating a metabox with custom field inside, and I restrict it to appear in a custom post type.
//define metabox
function product_info_en() {
add_meta_box( 'english_info', 'English Info', 'english_product_name_callback',…

adrian li
- 457
- 8
- 19
1
vote
1 answer
WordPress twentytwenty theme child css not effective
I followed all the instructions to create my child theme. In functions.php, I have:

Sheen
- 3,333
- 5
- 26
- 46
1
vote
0 answers
Wordpress - Woocmmerce - Custom Theme - How to proper manage responsive images and aspect-ratio?
I need technical/conceptual advice on responsive images and aspect ratio.
I'm making an ecommerce, and I need that in the shop pages - all the pages that show product grids but not the individual product page - the images are displayed with an…

Jacopo Marrone
- 77
- 1
- 10
1
vote
1 answer
How to add a page_id in a php, when using childthemes?
I need to add various content, including paragraphs to a wordpress-page, for a client. I am working through Wordpress/childthemes. For some wierd reason, the page I've been handed has no entry through the page-panel in Wordpress, nor does it have a…

Carina Thornval
- 81
- 8
1
vote
4 answers
Icons not showing properly in Divi Child Theme
I'm working on a website (using Divi) and the icons don't show up correctly when I activate the child theme.
I've attached a picture to show the problem I am having:
This only happens when I activate the child theme, when I go back to the Divi…

maxiixam
- 65
- 1
- 7
1
vote
2 answers
Override !important In WordPress Parent Theme
I have the following CSS code in a custom.css style sheet which is part of the Main theme
.thm-unit-test h3 {
font-size: 28px !important;
}
I have added the following code to my child theme CSS
.thm-unit-test h3 {
font-size: 18px…

user2661092
- 19
- 1
- 6
1
vote
1 answer
Child theme wordpress icon path
I need to replace the below path to the icons with the new path to the child theme I have created.
The current path is:


dorota
- 51
- 3
1
vote
1 answer
Wordpress Newspaper child theme loads CSS twice
I am using Wordpress with Newspaper theme (as a child theme). I've noticed that my custom CSS from the child theme is loaded twice.
I checked function.php, and I am wondering if the second function is the root of my problem?
if ( !function_exists(…

p31r
- 23
- 8
1
vote
1 answer
Child theme in Wordpress not loading using functions.php instead of @import
I've searched through several questions and still having trouble. I'd really appreciate some expertise from y'all. =)
The child theme created and activated on my WordPress site seems to be enacting no changes.
I know essentially zero PHP but trying…

Jason
- 11
- 5
1
vote
1 answer
How to edit a variable value of parent theme in child theme in wordpress
I want to change a variable value of the theme Writee (Wordpress). There is variable in "content-post-header.php' called "$date_format" which its value is hardcoded as "l, F j, Y" (this variable is not in a function). It is the content:

Amir Sh.
- 13
- 4
1
vote
2 answers
jQuery datepicker localization not working
To use the jQuery datepicker I have these scripts loaded for my Wordpress blog site: