child-theming

Wordpress child theme of a child theme

纵然是瞬间 提交于 2020-05-29 07:44:21
问题 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? 回答1: You can't really create a "grandchild" theme in the normal sense - i.e make it the child theme of a child theme. It might technically be possible (Smashing Magazine said it was back in 2013) but it seems to be generally considered to be not "Wordpress legit". What you can do is create the grandchild theme

Switching logo for specific pages on WordPress site by editing Avada child theme logo.php

痞子三分冷 提交于 2019-12-24 19:42:47
问题 I'm trying to make it so that specific pages use a different logo in the header. I copied the logo.php file from the Avada theme into my child theme folder (Avada-Child-Theme/templates/logo.php). I added: if (is_page(array (194, 248))) { $standard_logo = 'http://nac.flywheelsites.com/wp-content/uploads/2018/05/broadway-binghamton-logo.png'; } if (is_page(array (194, 248))) { $retina_logo = 'http://nac.flywheelsites.com/wp-content/uploads/2018/05/broadway-binghamton-logo.png'; } So this is the

How can I unmute (and turn off autoplay) a YouTube video for twentyseventeen?

天大地大妈咪最大 提交于 2019-12-23 10:56:18
问题 I have a lecture on YouTube that I would like to use as the header movie for my twentyseventeen child themed website. I would like it with sound and without autoplay. (As viewed on Youtube, the video has sound intact.) Following [this question about autoplay], I seta a video URL of https://www.youtube.com/watch?v=1dYAYBNU6qM&autoplay=0. The behavior does not appear to have changed. It starts immediately, but sound is muted. How, with twentyseventeen, do I have an option of a media file that