da
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changing PHP pages in Child ThemeOr maybe I just copy the original latest.php file to my child theme, make the line change in it, and then add a function to my child functions.php file instructing to use the child latest.php file?
Forum: Fixing WordPress
In reply to: Changing PHP pages in Child ThemeOk! I read that before but I think since I’m so new to this I wasn’t conceptualizing how adding code in one file could in effect change the outcomes of other files.
Seeing as I just have this one line to change, can you give me an example of how I write the code to specify where I want it changed. I don’t know how to call the original to remove it and add the replacement. The only title I can see for it in one example is it falls within a div class for “latest”. I don’t see a function title per se that I can reference it by?
Forum: Fixing WordPress
In reply to: Changing PHP pages in Child ThemeAlso I’ve noticed that these files have the code I want to change in several places for different functions, and yet I am only changing one instance for one function in each file if that helps. In other words I don’t want to replace every instance of the original
<?php if($isreview && $rating_hide!="true") { ?>code.Forum: Fixing WordPress
In reply to: Changing PHP pages in Child ThemeIn response, the files I have to alter are all for various sliders on the homepage. They are all (/inc)
dont-miss.php, featured.php, spotlight.php, latest.php, trending.php, front-latest-posts.php, and maybe tabs.php and frontpage-widgets.php (haven’t gotten that far yet).Perhaps you are saying that I can just add one functions.php file to the child theme, which will be loaded in addition to the functions.php of the parent, but then I can somehow write codes in the child functions.php file to redo these original code snippets in their respective files in the parent which will produce the changes I want?