pala55
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Child Theme Confusion – Bluehost, WordPressHi Eric –
Well, I thought I had everything figured out re my child theme and the site looked absolutely wonderful, but I’ve just noticed that the “adsense ads” (3 random ads that would match the theme of the site – ‘health and wellness’) – that were placed in the left hand sidebar, about half way down – after the current news articles, are all missing. Would you please be kind enough to look at my site once again … HelluvaHealthSite.com and see what you think.
I do have some sort of “script” there that I can’t fully see … it almost looks like … “this webpage can’t be displayed” … but I’m not 100% sure because I can’t see it in its entirety.
Did I need to add something else in my child theme style.css file that would encompass these ads or has something else changed that I’m not aware of? Is there code that would help solve this problem. Any assistance you could give would be greatly appreciated.
Also, I do need “step by step” instructions. 😀
Sincerely, Fran
Forum: Fixing WordPress
In reply to: Child Theme Confusion – Bluehost, WordPressHi Eric –
OMG … Wow! … and from the bottom of my heart, thank you! You’re the best!
I know that for those of you who work around a computer, “code” and “wordpress” much of the time and have the expertise to make changes easily, this may seem “over the top”, but I was literally in tears after loading my child theme. It was ABSOLUTELY,POSITIVELY PERFECT!
I had been going in circles on the internet, day after day, trying to piece together enough information to successfully make the necessary changes I wanted to the site and was overwhelmed by the plethora of information out there. However, despite my great passion for continued education, it also became very frustrating, confusing and stressful not only to comprehend and understand the various directions given, but scary to dabble in an area that I was so under-qualified and unsure about.
Trust me, I also know that the majority of you have put in enormous amounts of time, while continually building your skill sets … and believe me, someone at my level of learning is so grateful for your time and patience – your expertise is invaluable to those who are just beginning!
And yes, I had approached others, but was basically told that they didn’t have time … or given another link to check out (as in “duh”), which to some degree I respect as well – everyone is busy and I totally understand and get that.
I’ve also been to sites where a question by a relative “newbie” is answered with disrespect and a stance of “superiority”, so I was cautious about joining this or any other forum to ask my questions. I couldn’t have been more wrong! This is exactly where I needed to be and I am so grateful!
I now understand a little bit more about the process – okay not 100% there yet :-), but very happy to have learned from such a gracious and wonderful person … someone who has made me want to continue my quest to learn “code” and how it works on my blog/site. Some of us really do need the “step by step” directions to get there!
Eric, you couldn’t have been more kind or more patient and as I said … and again, from the bottom of my heart, thank you, thank you and thank you. Did I say THANK YOU! Kindness is always the way forward and you have been so much more than kind!
With a grateful heart,
Sincerely, FranForum: Fixing WordPress
In reply to: Child Theme Confusion – Bluehost, WordPressHi Eric –
Thank you so much for your quick reply and for your assistance! I can’t even begin to tell you how much I appreciate it.
I did go back over everything this morning and you’re absolutely right, I had the code correct, but I had made an error in editing. I had done the functions.php file and the style.css file, but when I edited, I opened the file and just deleted what I didn’t want, INSTEAD of using the ‘edit’ button and saving – so of course the changes I made didn’t stick. Duh! Sometime I think you work on something so long, that you can’t even “see it” anymore.
So, now I’ve got everything I need in the child folder (crossing fingers), EXCEPT for removing the date and time from my posts, which is originally why I started this whole “child theme” thing in the first place. I wonder if you could tell me how I could accomplish this.
Would I simply edit the style.css file in the child to include the code for the date and time deletion … or would it be put in the functions.php file (child) that would actually load first. For example … my style.css file is shown below – would I simply add to the bottom of it:
/*
Theme Name: twentyeleven-child
Theme URI: http://helluvahealthsite.com/
Description: Twenty Eleven Child Theme
Author: my name appears here
Author URI: http://helluvahealthsite.com/
Template: twentyeleven
Version: 0.1.0
*/.entry-date { display: none; }
OR would it be put in the functions.php file – example
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );}
?>.entry-date { display: none; }
Maybe I’m completely too simplistic in my thinking … perhaps, it’s neither. I got this code online – .entry-date { display: none; }, where it also says that after you remove the date, you still have to remove the extra words “posted on”: (and I’m presuming they’re talking about the parent here – quote:
“To remove the extra words for Twenty Eleven, click on Editor in the admin sidebar and open functions.php. Search the text for “Posted on” and you’ll find this code:
Twenty Eleven code
Remove the associated text in your functions.php file to completely remove the date from your posts.Delete “Posted on.” You may also want to capitalize “By” so it looks correct on the front-end.”
In any case, I’m sorry to be so long-winded, but trust me when I say, I do appreciate your patience and help … I really want to do this right.
I’m also scared to death to press the ‘activate’ button for the child … what if it doesn’t work – will all my sidebars etc. etc. show up when I activate the child?; will everything look the same or will I have a mess on my hands that I don’t know how to fix? … if so, can I just go back to the original parent twentyeleven theme and activate it again?
Any extra information you could give me would be greatly appreciated. Also, thanks so much for the link to Notepad++.
Sincerely,
Fran