Len
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Making “hidden” posts to put in specific pagesYou could simply create a category called Album of the Week and file those particular posts in it. When a visitor clicks that category name those posts will come up. They can then select individual posts to read and/or comment on.
With respect to excluding those posts from the front page you can do it with the query_posts function. Look in index.php for…
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>…and modify it as such…
<?php query_posts('cat=-ID'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>…where ID is the numerical ID of the category you want to exclude.
More reading on query_posts.
Forum: Fixing WordPress
In reply to: Show authorThe Codex is on the internet. Have a look at…
Forum: Fixing WordPress
In reply to: Several questionsWith respect to the first question, under the “write post” block is another block called “Excerpt”. Put whatever you want in there. See this link http://codex.wordpress.org/Template_Tags/the_excerpt paying close attention to the very first paragraph.
Forum: Themes and Templates
In reply to: changing the header graphicHi jenszing,
It’s difficult to troubleshoot from here especially without a link to your site. If you want you can zip your theme and send it to me –>
len [AT] riteturnonly [DOT] comInclude the appropriate images in the images folder and a brief explanation of what you want.
Forum: Themes and Templates
In reply to: Adding About text on home page of “Elements of SEO” templateOpen r_sidebar.php and look for …
<h2>About</h2> This is an area on your website where you can add text. This will serve as an informative location on your website, where you can talk about your site.On another note, you have an incorrect link on your personal website. The home link in the top nav points to a file on your hard drive. 😉
Forum: Fixing WordPress
In reply to: How to get Sidebar on all pages?That’s because the content area on single post pages has been increased to fill up the space previously occupied by the sidebar on the home page. Look at the difference between index.php and single.php
1. index.php –>
<div id="content" class="narrowcolumn">
2. single.php –><div id="content" class="widecolumn">Take a look at the style sheet to see how these 2 DIVs are defined.
Forum: Fixing WordPress
In reply to: blog is generating comments when I edit an articleYour blog is pinging itself when you link to internal posts. This results in pingbacks appearing in the comments section – a normal WordPress behaviour. If you don’t want that you can search for a “no self ping” plugin.
Forum: Themes and Templates
In reply to: I need help uploading theme!if we transfer the .zip file with a FTP client into the themes directory, it will not work.
That’s what I’m thinking the OP did which is why I wanted the URL so I could take a peek.
Forum: Themes and Templates
In reply to: I need help uploading theme!What is your site’s URL?
Forum: Themes and Templates
In reply to: I need help uploading theme!I downloaded it..now what?
Now, using a good FTP client like FileZilla you upload it to wp-content/themes and activate it through the WordPress interface. Take care to avoid the “folder nesting” problem. See this post,
http://www.village-idiot.org/archives/2008/06/13/how-to-upload-a-wordpress-theme/Also, as a newcomer you should familiarize yourself with the Codex. It is packed with info covering all aspects of WordPress. A good place to start is here –> http://codex.wordpress.org/New_To_WordPress_-_Where_to_Start
Forum: Themes and Templates
In reply to: changing the header graphicOkay, you’ve swapped this for that but I’m a little confused as to what you exactly did.
This is an interesting theme in that it utilizes 3 different header graphics – one for index.php, another for archive.php and yet another for page.php
If you open up page.php (which is the template your theme uses for displaying Pages) you will see this at the top –>
<?php include (TEMPLATEPATH . '/myheader1.php'); ?>Instead of calling header.php it is calling myheader1.php So let’s take a look at myheader1.php. If we open up THAT file we see this –>
<div id="banner2" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;"></div>It is using the DIV –> banner2
So we now go to the style sheet where we see this…
#banner2 { background: url("images/banner2.jpg") no-repeat; height:134px; }The DIV banner2 uses this graphic –>
images/banner2.jpgPutting this together, let’s assume you want to change the graphic displayed on Pages. (page.php) You don’t have to be renaming DIVs. All you need to do is change the call to the image in the style sheet.
1. Upload you new image to the theme’s image folder – let’s call it newbanner.jpg for simplicity
2. I already explained how page.php calls myheader1.php
3. myheader1.php contains the DIV “banner2”
4. In the style sheet look for…#banner2 { background: url("images/banner2.jpg") no-repeat; height:134px; }…and change it to…
#banner2 { background: url("images/newbanner.jpg") no-repeat; height:134px; }Forum: Fixing WordPress
In reply to: localhost takes me to remote siteWhen you installed it locally I’m assuming you imported the SQL file? Did you alter the instances of the URL in the SQL file?
Forum: Themes and Templates
In reply to: Author tagsTry this…
<?php wp_list_authors ('exclude_admin=0&show_fullname=1&hide_empty=1'); ?>Forum: Fixing WordPress
In reply to: Have reset password, but no emails so can’t log in?You can change it via phpMyAdmin. Easy instructions here,
http://www.tamba2.org.uk/wordpress/phpmyadmin/Forum: Fixing WordPress
In reply to: WordPress updated, now database errorsHave you run the upgrade script?
yoursite.com/wp-admin/upgrade.phpWhile in phpMyAdmin can you see
wp_terms?