All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

What is an alternative to not using child theme to customize a WordPress theme?

I'm using a premium parent theme and I've been trying to create a child theme from it and found that some "templates" are not just as simple as overidding them. Read this So, that is the other best ...
0
votes
0answers
16 views

Block validation failed for `core/pullquote` after adding theme support for editor-color-palette

I added this function to my child theme's functions.php: /** * Adds support for custom editor color palette. * https://developer.wordpress.org/block-editor/developers/themes/theme-support/ */ ...
-1
votes
1answer
13 views

Global Navigation menu in diiferrent wordpress setups

I have 2 different wordpress sites but I have deployed it like www.xyz.com and www.xyz.com/news Now I am trying to get main menu from www.xyz.com and it should work with www.xyz.com/news main purpose ...
0
votes
2answers
27 views

Where i must put hooks in overridable functions?

Where i must put hooks in overridable functions for better child themes? Inside if statement or outside? if( !function_exists( ovveridable_function() ) { function overridable_function() { ...
0
votes
0answers
39 views

Wordpress files break if I edit them, but adding a closing PHP tag fixes it

So, I'm kind of stumped by this one, and I'm unable to find many other folks experiencing it. I'm extending the "largo" theme for a site we're getting ready to launch, and am working within the child ...
0
votes
1answer
14 views

How to show metabox on page if it is using a template

I was creating metaboxes for a special kind of pages. But i got stuck when showing metaboxes to the pages only who currently have the template 'Sky'. my template file name is sky-template.php and ...
0
votes
1answer
41 views

Is_single not working properly in genesis

I am currently creating a child theme for my website which uses Genesis as a parent theme. Now I am making single pages as per my choosing. So, I am removing the entry header from within HTML main and ...
0
votes
0answers
19 views

(Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme

I'm a WordPress developer but this one has left me scratching my head... I've got a parent theme and a child theme. Works great on my local machine, and was working great on my live server. However ...
0
votes
1answer
24 views

Wordpress child theme, creating a custom php template page

I am currently working on a project that uses a child theme (storefront is the parent theme). I need to be able to code using pure php / javascript (outside wordpress admin). Other custom template ...
0
votes
0answers
58 views

Child theme menu not appearing in Twenty Seventeen

I am trying to add two menus to the same location on a wordpress site. Which menu is displayed will be based on which page is being viewed and can be handled easily with CSS. I created a child theme ...
0
votes
1answer
47 views

Hestia Child theme creation

I'm working on creating a child theme of Hestia for my own website but I'm just not getting where the code is supposed to go in my child theme coding. I know how to design websites and I'm familiar ...
0
votes
0answers
35 views

Edit Product Archive design for Woo theme

Hello, I am very inexperienced in code and WooCommerce themes. I didn't even get a working child theme out of my Upstart parent theme. It would be nice if someone could give me some help because I ...
0
votes
0answers
14 views

Child theme isn't appearing on the menu

I'm a beginner to Wordpress in general, and i'm practicing on local. So far i simply installed WAMP and put my blank site on it. I want now to pick my theme and start tweaking it a little. I looked ...
0
votes
1answer
38 views

How can I fix my theme header for my CSS stylesheet?

/*  Theme Name:     Its Bullish  Theme URI:      https://www.itsbullish.com  Description:    Its Bullish  Author:         Bullish Advertising  Author URI:     https://itsbullish.com  Template:       ...
0
votes
0answers
13 views

How to get a canvas element above the footer?

I'm struggling to get the canvas to be above the footer while using a three.js script. I pass my canvas in to webglrenderer, but then it pops the canvas to the bottom and puts the footer above it. ...
1
vote
1answer
39 views

Child theme enqueue scripts using new functions

To enqueue I have used get_theme_file_uri('/style.css'). Now I have created a child theme using a generator and it created a code like the following; but it throws a php error with parent-style. Is ...
1
vote
1answer
51 views

Loading files for theme and child theme (Require)

There seems to be so many options which one should i go for..it's really confusing? I have used get_template_directory(). What i want is to use a function that works best with child theme and that ...
0
votes
1answer
137 views

How to test another theme in a live WordPress website instead of live preview?

I want to implement a new theme called Hepta on my current website, but when I test it using the live preview, it shows me limited content and features as it imports most of the contents from the ...
3
votes
3answers
379 views

add_image_size is scaling, even though crop is set to true

I am trying to crop a 1000 x 648 image to 400 x 400. I use this code in functions.php add_theme_support( 'post-thumbnails' ); add_image_size('shop-size', 400, 400, array(center,center) ); ...
3
votes
1answer
116 views

Overriding core functions in child theme

Is it good practice to use children functions.php to override parent core functions? Example in Storefront theme : Core function if ( ! function_exists( 'storefront_primary_navigation_wrapper' ) ) {...
0
votes
1answer
22 views

Duplicate child theme incl. design changes

My goal is to be able to have two identical child themes except one thing (e.g. the color of a button) for the purpose of A/B testing using the Nelio AB Testing plugin. However, if I upload another ...
0
votes
1answer
56 views

Move the social media icons to the left of a Wordpress nav menu for Soledad child Theme

I've been trying to move some social media icons (class="penci-topbar-social") to the left of a wp_nav_menu element for a bit and am stumped. I tried moving the social media code above the wp_nav_menu ...
3
votes
2answers
47 views

Function to activate WordPress theme inside a plugin

I am creating a plugin that generates a theme, and so I want to have a checkbox at the end of the theme generation process that gives the possibility to activate the freshly created theme without ...
2
votes
1answer
464 views

Should I update my _s theme?

I know about using child themes and the reason behind using them. But how is it really different from building you theme on _s? Automattic update _s too, don't they? Obviously if I download the ...
1
vote
2answers
40 views

Why is it needed to enqueue parent stylesheet in child theme?

WordPress documentation says to enqueue parent stylesheet in child theme: add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { $parent_style = '...
0
votes
1answer
1k views

Can't remove DIV from hooks in Storefront child theme [closed]

I am creating a child theme using WooCommerce Storefront. I am trying to use hooks as much as possible as I understand this is best practice. However, even after I have removed all of the actions ...
1
vote
1answer
85 views

Inheritance of parent theme plugin files in a child theme

I have parent theme that has some plugins in it, those plugins are added as a dependency. In the child theme, I want to override some of the files that belong to those plugins, but it looks like ...
0
votes
2answers
178 views

Managing wordpress Themes & plugins for multisite

I have a multisite with subdirectory setup. mainsite.com will have a woocommerce shop and a blog. mainsite.com/support is intended as a separate blog site for faq or other support articles that are ...
0
votes
1answer
233 views

How to Edit the style of header title of Twenty Eleven Theme?

I would like to change the style of Twenty Eleven theme's site title and site description. I tried with style.css file but nothing happens when I refresh the website in a browser. Then I found the ...
1
vote
2answers
254 views

add_filter to parent theme helper class function from child theme

I want to change heading tags from child theme but i can't figure out how to add filter to parent theme function. Parent theme function that i want to change: if(! class_exists('WpkPageHelper')) { ...
0
votes
1answer
19 views

How to connect two child themes on different sub domains to the same base theme

I have my front end site, and a members area located on different sub-domains. I created my own 'base' theme, and also created a child theme which is now running the front end of the site. Everything ...
0
votes
1answer
22 views

Alignment Problem [closed]

I have an alignment problem with datetime of the comment "not post". The main problem is that I'm on RTL mode and the theme doesn't fully support such environment. So basically, the datetime of the ...
1
vote
2answers
24 views

changing blog title to an image using filter function in child theme

Hey guys i'm trying to change the blog title to an image. This is what I'm trying to achieve I tried adding this code to the css and it's working. .rh-content { text-indent: -9999px; background: ...
0
votes
1answer
130 views

Why is switching between themes breaking my child theme?

I am working on a child theme that I am building on top of twentyseventeen. Everything was displaying as intended within my page templates. However, if I switch between my theme to another and then ...
0
votes
0answers
43 views

Add Text Area To Child Theme's Home Page

I'd like to add a text area to my child theme's Home page. The text area will go below the slider and above the three thumbnail section. (See image) I've created a child theme and I was instructed to ...
0
votes
1answer
303 views

Avada Child Theme Development

I'm a newcomer to Avada theme customization. I want to create a new header for my theme. Now I create a new child theme, then create a new header.php and want to add my code on this. So, is it a good ...
0
votes
0answers
671 views

Modifying JS files in Child-theme

I am using tyche-child theme to modify some files. I Am copying the file from Parent to child like: Parent theme: wp-content/themes/tyche/assets/js/functions.js child theme: wp-content/themes/tyche-...
0
votes
1answer
34 views

Questions from a new WP Dev [closed]

New WordPress Dev here, got my first job creating websites. This was very exciting at first, very new to WP, learn something new, create websites for a living, etc. Now almost two weeks in, I ...
2
votes
2answers
1k views

Change parent theme file function in child themes functions.php

im trying to understand how Action Hooks and Filters work and have this example i want to edit This function is in a parent theme framework php file: public function formatArticleCat01( $...
0
votes
1answer
253 views

Debugging slow Wordpress Theme Customizer (Any option similar to Query Monitor)?

Just wondering what people use for debugging in the customizer? I use BugFu, Debug Bar and Query Monitor along with Simply Hooks for theme development, but only Bugfu works in customizer and that is ...
1
vote
1answer
437 views

Divi Child Theme not appearing in “Themes” [closed]

I've created a "divi-child" folder within the "/themes" directory of my site with the appropriate "style.css" and "functions.php" files within. Code for those files is below. Even with all of this in ...
0
votes
1answer
791 views

What $handle does Wordpress use for a theme's implicit style.css?

Assume that we have a theme named parent_theme. This theme's style.css will be automatically included in the styles we deliver to the client. My question is - when Wordpress "includes" style.css, ...
0
votes
2answers
183 views

Using a starter theme vs starter theme with child theme

I have been using quark a lot which is a starter theme. I have been using a child theme with quark for a few reasons: Clear separation of code Ability to easily update quark on theme updates As I ...
0
votes
1answer
177 views

Where to edit the template that is generating the code for dynamic_sidebar left-sidebar in the Understrap theme? [closed]

Question where can I edit the template for the sidebar? My question is if the dynamic_sidebar pulls in from another template that I can find either in the main wordpress files, the theme, or if it ...
0
votes
1answer
235 views

How to override template files in parent theme?

My parent theme has most of it's codes are divided into pieces and in different folders with different files. for example, menu's are in one file, search is in another file, etc. and all these files ...
0
votes
1answer
31 views

Editing Them with Child Theme Basics [closed]

I've spent the past 3 hours attempting to edit my theme with little results and would greatly benefit from a few basics. I'm trying to edit my site, www.yodega.com/sell. I have a child theme created ...
0
votes
1answer
80 views

Set up functions to be overridden without using function_exists() by short-circuiting them?

A few years ago I read an article about short-circuiting functions with apply_filters() rather than using pluggable functions via function_exists(). I love the idea because of how flexible it is- I'm ...
0
votes
2answers
29 views

How to customize the colors within a stylesheet using a WordPress setting

So, we are building an internal WordPress theme for our company that will be used for a few dozen of our websites. The only thing that will differ between the sites is the color scheme. We're trying ...
1
vote
1answer
481 views

Override template file i subfolders

What is the correct way to override theme template files in subfolders with a child theme? I wan't to override a theme template file with the following path: /components/theme-header/ Do I have to ...
1
vote
2answers
72 views

Can´t access child theme´s scripts dependencies found in parent

I´ve been struggling with this for nearly a month now and still couldn´t find anything at all on how to do this! Not here, not in Quora, not through many different advanced Google search queries... ...