Edward Caissie
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to use pre-set ad boxes in themeI would suspect you would use the ads.php file … try using Google to find more details about “adsense 125×125”
Forum: Themes and Templates
In reply to: How to use pre-set ad boxes in themeIf you look in the files included with this theme you will find the ads have their own file:
ads.phpThis file is called on line 10 of the
sidebar.phptemplate file.Adjust one or the other, or both, to your own needs.
Forum: Plugins
In reply to: Add my Plugin to the list?Start reading here: http://wordpress.org/extend/plugins/about/
So you will end up here: http://wordpress.org/extend/plugins/add/
Forum: Fixing WordPress
In reply to: Is there a way to have more posts per page on certain pages?Here is a line of code from one of my plugins (BNS Featured Category), I believe it does in a widget what you are describing you want for a template page:
query_posts( "cat=$cat_choice&posts_per_page=$show_count" );How you write your custom template page may also define the variables.
Essentially $cat_choice in the sample is for the category; and ‘posts_per_page’ is the variable to set the amount of posts to show.
NB: Don’t forget to reset the query afterward.
Forum: Fixing WordPress
In reply to: Styling the First / Latest post…?I would expect there to be a theme component to any recommendation on how to add this idea to your site.
Depending on the theme, you can add a counter inside the loop then add a conditional if … else that adds a wrapper to the post display function being used, such as:
$count = 0; /* before the_Loop starts */ ... $count++ /* inside the_loop */ ... <?php if ( ( $count <= 1 ) && ( $paged < 2 ) ) : ?> <div class="first-post"> <?php the_content(); ?> </div> <?php else : ?> <?php the_content(); ?> <?php endif; ?>Not tested (obviously) … just a starting point for possible edits.
Forum: Themes and Templates
In reply to: Sidebar top marginTry changing to this (from above):
.leftsidebar { margin-top:-25px; padding:0 20px; }… and, around line 254 in style.css:
.middle_content { margin:-25px 0 0; padding:20px 30px 20px 20px; }See how that looks … the controlling property is ‘margin’ for this example.
Forum: Fixing WordPress
In reply to: Unable to drag widgetTry this post for help: http://wordpress.org/support/topic/299164
Forum: Everything else WordPress
In reply to: Downloading the Codex / Viewing it offlineMaybe use this link: http://phpdoc.wordpress.org/trunk/
Then review the code locally from a complete download. Although it may not have the same layout, search, and sample documentation found in the codex it has a great deal of potential.
Forum: Fixing WordPress
In reply to: google chrome windows display problemI quickly checked with FF, IE, and Chrome …
Forum: Fixing WordPress
In reply to: google chrome windows display problemI am not seeing a difference in any major browser on a PC … what are you expecting to see?
I see a dark brown background with a static image centered at the top of the screen. The rest of the theme scrolls on top of that while the image remains in place.
Forum: Themes and Templates
In reply to: Sidebar top marginOpen you style.css file and look around line 308 for the following:
.leftsidebar { margin-top:10px; padding:20px; }Try changing it to this:
.leftsidebar { /* margin-top:10px; */ padding:0 20px; }See how that looks …
Forum: Fixing WordPress
In reply to: WidgetsHave you tried using the default Text widget with <IMG> tags?
Forum: Themes and Templates
In reply to: Single.php errorIf you changed to the default theme and are still experiencing the same issue then there must be an underlying issue beyond what the plugin was doing.
Forum: Themes and Templates
In reply to: Single.php errorTry re-uploading the entire theme. You may only be dealing with the single.php template file but uploading that alone did not fix your issue.
Try this:
- Change to the default theme.
- Delete the theme that contains the bad single.php
- Upload the entire theme
- Re-activate it.
Forum: Fixing WordPress
In reply to: Align search bar to the right.Look in your style.css file around line 192:
#topbar { background:url("images/topbar.png") repeat-x scroll 0 0 #78A1AF; font-family:Tahoma,Century gothic,Arial,Tahoma,sans-serif; height:36px; margin-bottom:0; padding:0; width:1000px; }… now edit to add
text-align:right;just before the}and you should see what you are looking for.