joshuag
-
Posts
7 -
Joined
-
Last visited
Never
Posts posted by joshuag
-
-
Hey guys,
I've got this website: http://twopersonhottubs.net/salt-water-hot-tubs
As you can see, on this page there is a google adsense ad.
I'd really like the top of this ad to be lined up with my content.
When I look at it in firebug, there are white gaps both in the div container holding the ad, and in the content box around it.
Does anyone know how to fix this?
-
Hi,
I own and operate a site using Wordpress CMS.
I have implemented a forum and profile pages.
The problem:
Currently when a user logs in they may visit their profile. But when they click the link inside their profile to edit/make changes they are instead redirected to the forum. I need some one with some php knowledge to redirect the link to it's proper destination. That is, the user 'edit profile' page.
Let me know if you are interested.
I'll pay you $30.
Cheers,
Joshua G.
-
That did it!
Thanks, you guys are saints!
PROBLEM SOLVED!
-
Still the same error.
I added the } as you can see in the code below.
<?php } else { ?> <a href="http://thefulltank.com/wp-admin/user.php">test</a> } <p></p> <br clear="all"> <?php wp_css_dropdownmenu(); ?>
-
I know I need to close something somewhere but I'm just a newb code monkey and can't figure it out!
Anyone with a keen eye for code that could offer a solution?
Heres my code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php wp_title(' '); ?> <?php if(wp_title(' ', false)) { echo ' : '; } ?><?php bloginfo('name'); ?></title> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <!--[if IE]> <style type="text/css">@import url('<?php bloginfo('template_directory'); ?>/ie.css');</style> <![endif]--> <?php wp_head(); ?> <meta name="google-site-verification" content="nktAdcdWBddL6dSTKuWFzHHCk6rIX1vpIg4W4Ok68bI" /> </head> <body> <div id="wrapper"> <div id="header"> <img align = "left" src="http://thefulltank.com/wp-content/themes/sandfish_v2/images/logo.gif"> <img align = "left" src ="http://thefulltank.com/images/spacer.jpg"> <?php if (!(current_user_can('level_0'))){ ?> <h4>Member Sign In</h4> <form action="<?php echo get_option('home'); ?>/wp-login.php" method="post"> <label for="log">User Name</label><input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="10" /> <label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label> <p><label for="pwd">Password </label><input type="password" name="pwd" id="pwd" size="10" /> <input type="submit" name="submit" value="Sign In!" class="button" /></p> <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>" /> </form> <a href="<?php echo get_option('home'); ?>/wp-register.php"><i>Register</i></a> <a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword"> Recover password</a> <?php } else { ?> <a href="http://thefulltank.com/wp-admin/user.php">test</a> <p></p> <br clear="all"> <?php wp_css_dropdownmenu(); ?>
[WordPress] Need Help With a Simple Loop!
in Applications
Posted
Hey guys,
My PHP skills are pretty much nil, but I'm a hardcore code monkey.
One of my clients wordpress websites has an image slider with thumbnail navigation underneath.
The navigation is only displaying 5 thumbnails even though I've fed the array 6 of them.
Can you help me solve to display all 6 thumbnails?
Here is where I've fed the array by post id :
Here is the loop that gets the data for the nav.
The data is then output with a simple :
Do you need more information?
Thank you for your help!