Revion
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Header.php self deleting dailyWell, I forgot what I did exactly but I did go back and made a child theme to a T. That didn’t fix it but eventually it stopped doing it. I honestly have no idea where or how or why this was happening. The changes I had in place vs creating a child theme were exactly the same so I don’t see how something like this would happen. Sorry that I’m not much help. Let me know if there’s anything else I might be able to help with/ponder.
Forum: Fixing WordPress
In reply to: Header.php self deleting dailyI’ve also updated to WordPress 3.5, and did a fresh install of the twenty twelve theme….
Forum: Fixing WordPress
In reply to: Header.php self deleting dailyI’ve already created a child theme and had everything working, went in today and Boom….header-blog.php is deleted from the child theme’s folder….
Forum: Fixing WordPress
In reply to: Using the_date() in php if elseif else statementsWhen I was reviewing the codex none of that clicked for me thanks for everything guys!!!
Forum: Fixing WordPress
In reply to: Using the_date() in php if elseif else statementsIT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!! ?? ?? ?? Thank you so much!!!!
Forum: Fixing WordPress
In reply to: Using the_date() in php if elseif else statementsThis is why I posted this on here… The the_date(‘m’) echo is 11 (it prints it onto the post) but when I do if the_date(‘m’) == “11” it returns false…which makes no sense in my mind 11=/=11… I’ll look at what you just posted and see if that works…
Forum: Fixing WordPress
In reply to: Using the_date() in php if elseif else statementsUnfortunately (unless I’m just using the get_the_date method wrong) it will then not post any information and it won’t even enter into the if elseif statements, thus leaving the background color white.
Forum: Fixing WordPress
In reply to: Using the_date() in php if elseif else statementsOne more thing, This snippet of code is just checking to see if the value of the_date(‘m’) is equal to 11 and if so to echo the string value. What doesn’t make sense is that according to what is being outputted the_date(‘m’) will echo 11 BUT the_date(‘m’) does not equal 11. (11 is the month that my post was written)
if ($month == "11"){ echo "aklsjdflfjasdlkjflskjdflkasjdf"; }else{ echo "AKSJDLKJDFLKJSDLKFJLDS"; }