Peter Boosten
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Fatal Error when upgrade version 3What theme are the both of you using? I suspect this function is being registered in functions.php
Peter
Forum: Themes and Templates
In reply to: Problems with theme in Internet ExplorerNo, OP should fix the validation errors. Firefox, and possibly Chrome, is much more forgiving on xhtml coding errors, but will force other browsers, like IE, into quirks mode.
I think the main problem is an unclosed hr tag.
So instead of
<hr>
OP should write
<hr />
Peter
Forum: Themes and Templates
In reply to: Problems with theme in Internet ExplorerThe site has some validation errors, correct these, an you’re probably fine.
Peter
Forum: Themes and Templates
In reply to: Warning?Probably 80%+ of the time, a failed mysql_query() is caused by a syntax error in the query itself.
I think you should contact the theme builder for this, it’s not a WP thing.
Peter
Forum: Themes and Templates
In reply to: coding errorsOke I admit that was kinda cryptic ??
your site (in the header of your php files) declares itself as ‘xhtml transitional’, but for it to be, the coding has to follow certain rules, has to be ‘valid’.
The errors emerge from either your template files (the php’s in your theme directory) or, as RVoodoo suggests, from your plugins.
Peter
Forum: Themes and Templates
In reply to: coding errorsForum: Themes and Templates
In reply to: Display Content Only to Non-Logged in UsersMaybe this one?
<?php if ( is_user_logged_in() ) { echo '<div class="ad" style="display:none;">'; } else { echo '<div class="ad">'; }; ?> <!-- your ad code here --> </div>
Peter
Forum: Themes and Templates
In reply to: Get footer to stay downLook here for an instruction on how to create a sticky footer.
Peter
Forum: Themes and Templates
In reply to: weird alignmentTo be specific: the navigation menu is unbalanced:
<ul id="page-list" class="clearfix"> <li class="page_item page-item-4"> <a href="https://theclubpenguincheats.com/forums-d/" title="<a href="https://forum.theclubpenguincheats.com/">Forums</a>"> <a href="https://forum.theclubpenguincheats.com/">Forums </a> </a> </li> <li class="page_item page-item-2926"> <a href="https://theclubpenguincheats.com/trackers/" title="Trackers">Trackers </a> <li class="page_item page-item-3025"> <a href="https://theclubpenguincheats.com/codes/" title="<a href="https://theclubpenguincheats.com/club-penguin-coin-codes/">Codes</a>"> <a href="https://theclubpenguincheats.com/club-penguin-coin-codes/">Codes </a> </a> </li>
Peter
Forum: Themes and Templates
In reply to: Different siderbars for different pagesThere are several options for doing so:
make 6 different page templates, or call them by using custom fields.
Peter
Forum: Themes and Templates
In reply to: weird alignmentPlease start by validating the source, you have some errors (23). If I counted correctly you have some unbalanced elements (opening tags <> closing tags).
https://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Ftheclubpenguincheats.com%2Fchatroom%2F
Peter
Forum: Themes and Templates
In reply to: weird alignmentThat particular phrase indeed is a bit too much to the left in safari en ff (mac).
Will have a look at it in a jif.Peter
Forum: Themes and Templates
In reply to: How do I just text margin?Now, how do I go about creating the text in its own class
Assuming you edit your posts/pages in html mode, just add this in front of the text of the specific post/page (but after the image):
<div class="myuniqueclass">
and this after the text:
</div>
Now open your style.css and add the following (to the end is fine):
.myuniqueclass { float: left; width: 500px; }
(you can fiddle around with the width-part, but making it too wide will push the text down.
I believe this might be enough.
Peter
Forum: Themes and Templates
In reply to: How to add feedburner link?Forum: Themes and Templates
In reply to: Sidebar too wide in Firefox 3.5.6When you use percentages, then all is referenced to the internal stylesheet of the browser itself (which might and will be different for each and every browser in the world, since this can be customized).
If you want to have your site look the same on every browser, you’re better off using fixed widths.
Also: box models are different for IE, so if you used margins/paddings this could effect the look as well.
Could you post a link to your site?
Peter