Easy enough, just had to adjust the sidebar array..
functions.php at the top, replace it with…
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '',
'after_widget' => '</div>',
'before_title' => '<div class="archives">',
'after_title' => '</div><div class="archivesborderline">',
));
So find this..
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
));
and replace it with the first piece of code (making sure not to delete the <?php bit that is before the code)
Is that better?
Beautiful! I just realized that the devotion is not correct. I realized when the devotion for today was the same as yesterday, even though the date is correct. The title, “Life Is Like a Vapor” is the first devotion in the database. It was working, so I did not notice when it stopped working so we could know exactly what change caused it to stop pulling from the correct entry in the database.
Check this line in the devotions file.
WHERE RecordNum != '.$n.' LIMIT 1
I use the ! for testing, i’ve been careful to change this before providing any code but it may have slipped through…
If it matches above, change to..
WHERE RecordNum = '.$n.' LIMIT 1
..basically just removing the !
That was it! I guess I am not going to be able to stump you. Can I keep you on speed dial?? 🙂
I had a sneeking feeling i’d make that mistake at one point or another, i’m just thankful it was that simple… 🙂
Feel free to mark the topic resolved if you’re satisfied… 🙂
If you get stuck with a future problem and you don’t get any responses, you’re welcome to give me a shout on my site, just click on my name for the link.
😉
It is bookmarked! Thank you so much for all of your help! You are a very patient person! I really appreciate it!
No worries, you’re welcome.. 🙂