Ravi-wpuser
Forum Replies Created
-
Forum: Themes and Templates
In reply to: custom css conflicting between parent and child themethx @esmi to validate things. I was working on the right theme and still the page template was not listing under the templates.
However, its happening now, don’t know what was wrong there. Also I would have been further digging into ‘custom page templates’ link 🙂
Forum: Localhost Installs
In reply to: wordpress installation issue using xamppthx Tara & 2ninerniner2 for your guidance…I think I messed up somewhere putting my own pwd instead leaving it blank…and instead doing further troubleshooting, I went ahead with wamp this time and done successfully.
@2ninerniner2, yes you are right in saying “why complicate things :)”
Forum: Themes and Templates
In reply to: custom css conflicting between parent and child themeAha…Thanks @esmi, to take me in right direction. I just gone through with child themes page detail and did following after what I understood:
– removed exiting WordPress setup from my ‘wamp > www’ folder (just for my convenience, I wanted to make a fresh start after understanding it better)
– created an empty child theme folder with name as ‘pinboard-child’ in ‘wp-content\themes’ folder.
– added a blank ‘style.css’ to child theme folder, and then added theme name and template name detail alongwith calling parent theme css as explained in child themes page. So this is how these look now:
/*
Theme Name: Pinboard Child
Description: Pinboard Child Theme
Author: Timeless Watch
Template: pinboard
Version: 1.0.0
*//* =Imports styles from the parent theme
————————————————————– */
@import url(‘../pinboard/style.css’);– I also copied and pasted index and header php pages from parent theme into my child theme folder, as I want to customize header appearance as per my design like logo instead of text and in center and few more addition content.
– After this, I went on to themes section at wp-admin and found my newly created child theme listed there.
1. Can you please validate if I did correctly this time?
2. Also can you please let me know when I later copied page.php file in my child theme folder from parent theme folder (as I want to customize page look to match my design), the page.php is not coming into the list of templates which appears onto the right in editor section under appearance in wp-admin.
The same thing also happened with header.php file code, where I had added some html/php code, but when I replaced its code again with original header.php file code (inside dreamweaver) and saved the file, the editor was still showing header.php with same html/php code which I added earlier.
I even turned off wamp server and came back but things were still the same. Can you please let me know whats gone wrong here.
Many Thanks for all the support!!!
Forum: Themes and Templates
In reply to: custom css conflicting between parent and child themeWhat I understood with you comments, has my child theme folder all the same files/folders as were in parent theme folder. If that’s the question,
Yes, my child theme folder has all the same files. Since I just copied and pasted the parent theme folder and renamed the (copy version) as child theme folder.
Thanks to ask me this. Hope it clarifies your query.