Rahul Sonar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changing image on header and sidebar#header {height:250px;background:url(‘https://aircraftprofiles.dk/wp-content/uploads/header.jpg’) no-repeat;}
#footer {clear:both;width:100%; text-align: center; height:250px;background:url(‘https://aircraftprofiles.dk/wp-content/uploads/footer.jpg’) no-repeat;}
These images are in uploads folder.. I think sandbox theme provide option for custom header and footer imaages..Forum: Fixing WordPress
In reply to: Important changes from 3.0.5 to 3.1.1?Nothing major that can break your site, but important updates..
Forum: Fixing WordPress
In reply to: wp_list_pagesif($page_id == “8” || $page_id == “10” )
when you click on child menu, this condition is not met. So you also need to check for child menu ids..
Forum: Fixing WordPress
In reply to: how to modify feed templatesthis is a good start for that:
https://yoast.com/custom-rss-feeds-wordpress/Forum: Fixing WordPress
In reply to: Centre align in Firefox – Left align in IE!add in content
#content{margin-left : expression(this.offsetWidth < this.parentNode.offsetWidth ? parseInt((this.parentNode.offsetWidth – this.offsetWidth)/2)+”px”:”0″);
}
Forum: Fixing WordPress
In reply to: Centre align in Firefox – Left align in IE!after your body tag ( in header.php), start a div, assign some id to id (example id=”maincontainer”)
in your footer.php, end that div.
Now, in your css file:
#maincontainer { margin:0px auto; width:1000px; }
Forum: Fixing WordPress
In reply to: Permalinks & posts not workingjust place that .htaccess file in your wordpress folder ( in your case, it is /blog ), and the url’s should work
Forum: Fixing WordPress
In reply to: Centre align in Firefox – Left align in IE!apply margin:0px auto; width:1000px; to your main container
Forum: Fixing WordPress
In reply to: No help drop down menucan you show a screen shot?
Forum: Fixing WordPress
In reply to: Permalinks & posts not workingtry regenerating your htaccess file ( save the permalink structure in admin), and make sure htaccess file has write permissions..
Forum: Fixing WordPress
In reply to: read more function works in archive but not home pageon home page, use the_excerpt instead
Forum: Fixing WordPress
In reply to: CMS Customization: Need the correct user_id for elseif statementuser this
<?php global $current_user; get_currentuserinfo(); echo 'Username: ' . $current_user->user_login . "\n"; echo 'User email: ' . $current_user->user_email . "\n"; echo 'User first name: ' . $current_user->user_firstname . "\n"; echo 'User last name: ' . $current_user->user_lastname . "\n"; echo 'User display name: ' . $current_user->display_name . "\n"; echo 'User ID: ' . $current_user->ID . "\n"; ?>
Forum: Fixing WordPress
In reply to: Problems adding .htaccess filefollow these steps:
1) set the permission of the file to 755
2) Go to settings ->permalink and save the structure again (make sure it is not warning you about file permissions)3) Check if your URL’s work
4) Change the permissions back to 644
Forum: Fixing WordPress
In reply to: 500 internal server errorcheck your htaccess file, try changing permalink structure..
Forum: Fixing WordPress
In reply to: Error: 'cannot modify header information' after updating via Editortry disabling twitter tweet button plugin