Jump to content

nathanmaxsonadil

Members
  • Posts

    305
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

nathanmaxsonadil's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. register sidebar is not the problem the question was how to make cor() appear in the array?
  2. this is in my functions file in wordpress http://automattic.com/code/widgets/themes/ here's the code for my function cor() $num = "category_"; $num1 = "category_"; $num2 = "category"; function cor() { if ($num == $num1){ $num = $num2; }ELSE{ $num = $num1; } echo $num; }
  3. Hi there, I was wondering what am I doing wrong here? when I go to my site the div is completely empty if ( function_exists('register_sidebar') ) register_sidebar(array( 'before_widget' => '<div id="'.cor().'"><ul><li>', 'after_widget' => '</ul></li></ul><br/></div>', 'before_title' => '<div class="submenu"><div class="submenu_line1">', 'after_title' => '</div></div><ul class="list-cat">', ));
  4. I think I can use that I have a 2 column wordpress theme that I want to make widget compatible into 1 sidebar, the two column 's are right next to each other so div1 would be telling it to go on the left and div1_ on the right.
  5. Hi all, I'm wondering how to make every other div have an _ at the end of it? like div1 and then div1_ and then div1 again so on Hope you guys can help Nathan
  6. Hi all, I was wondering how I would open and phrase a file in php? for instance I had a file like this <xml><title>not intersting</title><onething>I get this</onething><otherthing>I dont get this</otherthing><onething>I get this again</onething></xml> And I only wanted to get the things in side the onething tag's how would I do that?
  7. change $_SESSION['member_username'] = $loginrow['$member_username']; to $_SESSION['member_username'] = $loginrow['member_username'];
  8. I was wondering how to subtract a date(like I have 2007-10-05 and I want it to subtract 5 days)?
  9. not if you just post tons on code and ask for your problem to be fixed!!!
  10. I want to open somthing like this on the body load <a href="#TB_inline?height=155&width=300&inlineId=hiddenModalContent&modal=true" class="thickbox">Show hidden modal content.</a> is there a way to do that?
  11. make a new file called info.php and in it put <?php phpinfo(); ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.