Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

footer problem WordPress



The widgets for my footers are not in order; I have 3 and they used to be next to each other side by side in a line, but now one of them is appearing beneath another. I only have two footer tabs in my widgets, so I have two in one of them (one has the subscribe plugin and the other has the other two- these are the ones that are not in place)... is it posible to make another footer widget or do I keep using the two together (can I keep adding additional ones in)? If so, how do I align them?


Answers (2)


Dan | gteh answers:

Can you post a link to the site? The domain doesn't bring anything up, only a blank white page.

saint merc comments:

Dan | gteh comments:

If you can PM me your FTP details and your wordpress admin I can fix it and add a 3rd Footer widget.

The widgets are positioned using CSS float. The 3rd widget needs it's own div with float:left; on it.

I'll create a 3rd footer widget instead of having to put 2 in 1.

Dan | gteh comments:

If you'd prefer not to give me FTP/wordpress admin, can you post the contents of your functions.php file and I'll show you what to add?

saint merc comments:

* Do not modify unless you know what you're doing, SERIOUSLY!

/*load_textdomain( 'default', TEMPLATEPATH.'/' );*/

global $blog_id;
if(get_option('upload_path') && !strstr(get_option('upload_path'),'wp-content/uploads'))
$upload_folder_path = "wp-content/blogs.dir/$blog_id/files/";
$upload_folder_path = "wp-content/uploads/";
global $blog_id;
if($blog_id){ $thumb_url = "&amp;bid=$blog_id";}

if ( function_exists( 'add_theme_support' ) ){
add_theme_support( 'post-thumbnails' );

/* Admin framework version 2.0 by Zeljan Topic */

// Theme variables
require_once (TEMPLATEPATH . '/library/functions/theme_variables.php');


// Theme admin functions
require_once ($functions_path . 'admin_functions.php');

// Theme admin options
require_once ($functions_path . 'admin_options.php');

// Theme admin Settings
require_once ($functions_path . 'admin_settings.php');


// Widgets
require_once ($functions_path . 'widgets_functions.php');

// Custom
require_once ($functions_path . 'custom_functions.php');

// Comments
require_once ($functions_path . 'comments_functions.php');

// Yoast's plugins
//require_once ($functions_path . 'yoast-breadcrumbs.php');

//require_once ($functions_path . 'yoast-posts.php');

require_once ($functions_path . 'yoast-canonical.php');

require_once ($functions_path . 'yoast-breadcrumbs.php');

/////////shopping cart new function files
require($functions_path . "general_functions.php");
require($functions_path . "cart.php");
require($functions_path . "product.php");
require($functions_path . "custom.php");
require(TEMPLATEPATH . "/product_menu.php");

require(TEMPLATEPATH . "/message.php");
function autoinstall_admin_header()
global $wpdb;
if(strstr($_SERVER['REQUEST_URI'],'themes.php') && $_REQUEST['template']=='' && $_GET['page']=='')

$dummy_deleted = '<p>All Dummy data has been removed from your database successfully!</p>';
require_once (TEMPLATEPATH . '/auto_install.php');
$theme_actived_success = '<p class="message">Theme activated successfully.</p>';
$post_counts = $wpdb->get_var("select count(post_id) from $wpdb->postmeta where (meta_key='pt_dummy_content' || meta_key='tl_dummy_content') and meta_value=1");
$dummy_data_msg = '<p> Sample data has been populated on your site. Wish to delete sample data? <br /> <a class="button_delete" href="'.get_option('siteurl').'/wp-admin/themes.php?dummy=del">Yes Delete Please!</a><p>';
$dummy_data_msg = '<p> Would you like to auto install this theme and populate sample data on your site? <br /> <a class="button_insert" href="'.get_option('siteurl').'/wp-admin/themes.php?dummy_insert=1">Yes, insert sample data please</a></p>';

.highlight { width:60% !important; background:#FFFFE0 !important; overflow:hidden; display:table; border:2px solid #558e23 !important; padding:15px 20px 0px 20px !important; -moz-border-radius:11px !important; -webkit-border-radius:11px !important; }
.highlight p { color:#444 !important; font:15px Arial, Helvetica, sans-serif !important; text-align:center; }
.highlight p.message { font-size:13px !important; }
.highlight p a { color:#ff7e00; text-decoration:none !important; }
.highlight p a:hover { color:#000; }
.highlight p a.button_insert
{ display:block; width:230px; margin:10px auto 0 auto; background:#5aa145; padding:10px 15px; color:#fff; border:1px solid #4c9a35; -moz-border-radius:5px; -webkit-border-radius:5px; }
.highlight p a:hover.button_insert { background:#347c1e; color:#fff; border:1px solid #4c9a35; }
.highlight p a.button_delete
{ display:block; width:140px; margin:10px auto 0 auto; background:#dd4401; padding:10px 15px; color:#fff; border:1px solid #9e3000; -moz-border-radius:5px; -webkit-border-radius:5px; }
.highlight p a:hover.button_delete { background:#c43e03; color:#fff; border:1px solid #9e3000; }
#message0 { display:none !important; }

<div class="updated highlight fade"> '.$theme_actived_success.$dummy_deleted.$dummy_data_msg.'</div>');


add_action("admin_head", "autoinstall_admin_header"); // please comment this line if you wish to DEACTIVE SAMPLE DATA INSERT.

function delete_dummy_data()
global $wpdb;
delete_option('sidebars_widgets'); //delete widgets
$productArray = array();
$pids_sql = "select p.ID from $wpdb->posts p join $wpdb->postmeta pm on pm.post_id=p.ID where (meta_key='pt_dummy_content' || meta_key='tl_dummy_content') and meta_value=1";
$pids_info = $wpdb->get_results($pids_sql);
foreach($pids_info as $pids_info_obj)

function get_image_cutting_edge($args=array())
$cut_post =$args['image_cut'];
$cut_post = get_option('ptthemes_image_x_cut');
$thumb_url .= "&amp;a=t";
$thumb_url .= "&amp;a=b";
$thumb_url .= "&amp;a=l";
$thumb_url .= "&amp;a=r";
}elseif($cut_post=='top right')
$thumb_url .= "&amp;a=tr";
}elseif($cut_post=='top left')
$thumb_url .= "&amp;a=tl";
}elseif($cut_post=='bottom right')
$thumb_url .= "&amp;a=br";
}elseif($cut_post=='bottom left')
$thumb_url .= "&amp;a=bl";
return $thumb_url;
function check_image_load(){ ?>
<script type="text/javascript">
$('#page img').each(function(){
var img = $(this),
src = img.attr('src'),
timg= new Image();
add_action('wp_head', 'check_image_load');

Dan | gteh comments:

There seems to be some stuff missing from that file, specifically the code for generating widgets.

please post the contents of widgets_functions.php from this line of code:

require_once ($functions_path . 'widgets_functions.php');

saint merc comments:

check your pm

Dan | gteh comments:

Ok all fixed.

There is now a 3rd footer widget and I've set it up for you. the 3 widgets are now displayed 3 across instead of 1 x 2


Svilen Popov answers:

This "Connect with us" should be in <em><div class="<strong>connetwithus</strong>"></div></em>, not in <em><div class="<strong>livehelp</strong>"></div></em>.

<div class="connetwithus">
<h3>Connect with us </h3>
<li class="facebook"><a href=""> facebook </a> </li>
<li class="twitter"><a href="">twitter </a> </li>
<li class="youtube"><a href=""> youtube </a> </li>
<li class="rss"><a href="">update via rss </a> </li>

<div class="livehelp">
<h3>Live Help </h3>
<p class="callus">Call Us Toll Free</p>
<p class="phoneno">550-650-75085 </p>
<p class="time">Mon-Fri 10-am to 6 pm est <br /> Sat-Sub 10-am to 2 pm est </p>

Svilen Popov comments:

Fix your meta tags (keywords meta tag especially).