Avenir
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Always display SidebarYou might try to All Sidebar Edition of the default theme.
The code needed to insert the sidebar into a page is
<?php get_sidebar(); ?>
. You should place that in the template file that controls the page you want the sidebar to be on.Forum: Your WordPress
In reply to: My new blog & QuestionUmm, I’m not entirely sure I understand your question, but I’ll attempt to give some insight. Your posts will never really become available in archives only. They will also be browsable in chronological order by going back in the pages on the main post listing. All posts are added to the archives the moment they are published, so they are also always accessible there too.
Forum: Installing WordPress
In reply to: PROBLEM : My Sidebar Gone to the Bottom !Try reducing margins, and widths on the sidebar or main content divs. That might work.
Forum: Themes and Templates
In reply to: Plugin advice needed please1. Include the following line at the top of the page with the news column:
<?php
require('./wp-blog-header.php');
?>Change the path so that it points to the wp-blog-header.php file in your WordPress install directory.
2. Add the following line in the place where you want to show the headlines:
<?php wp_get_archives('type=postbypost&limit=5'); ?>
Change the number after limit to however many headlines you wish to include.
3. Be sure to change the extension of the page with the news column to .php so that the server knows it needs to parse some PHP.
Forum: Installing WordPress
In reply to: multiple sites? or multiple installations?The MU version allows multiple blogs, but is only experimental. So, you shouldn’t use it for your main blog.
Multiple installs aren’t that bad. WordPress is a small program, comparatively, so multiple installs aren’t bad. And yea, you can use one database as long as the table prefixes are different.
Forum: Fixing WordPress
In reply to: Moving my blog to a new serverYes, and yes. Short and sweet. ^_^
Forum: Fixing WordPress
In reply to: Confused about WP RSS Handling.The default header includes
<link>
elements that point to all of the different feed URI’s to help feed readers with auto-discovery. If you clicked on that link in particular though, I think that it would just give you the RSS and an Atom reader would be out of luck.Forum: Fixing WordPress
In reply to: How do I list the 5 most recent posts?Wouldn’t
<?php wp_get_archives('type=postbypost&limit=5'); ?>
list the five most recent posts?Forum: Fixing WordPress
In reply to: RSS Link QuestionI think people are supposed to copy the URI’s of the links from page with all the XML buttons. When you view the source on one of those pages with all the URI’s displayed as text, you can see the XML and RSS code, so that tells you that those pages are the feeds themselves.
I hope that made sense.
Forum: Themes and Templates
In reply to: Template Tag LocationIn the /wp-includes folder there are a bunch of files named things like template-function.php, etc., etc. Look in these and you should be able to find all the source code for the template functions. You could also just look at the Codex for descriptions of how they operate:
https://codex.www.ads-software.com/Template_TagsForum: Fixing WordPress
In reply to: Removing DateLook in index.php and single.php. Edit out all references to
<?php the_date(); ?>
. You may also have to change references to<?php the_time(); ?>
so that they don’t have any date formatting strings inside the parentheses.Forum: Installing WordPress
In reply to: Titles for last 6 articles on another non-WP pageYou’ll also need to include this line at the top of the file:
<?php
require('./sub/wp-blog-header.php');
?>Then you can include the function call. Remember to change the extension of the file to .php so the server knows that it’s going to have to parse some PHP!
Forum: Fixing WordPress
In reply to: Upgrade ProblemsTry running upgrade.php if you haven’t already. Your old 1.2.2 database is probably incompatible with 1.5.
Forum: Themes and Templates
In reply to: Header clickable with Kubrick and 1.5It’s in the header.php file. Look in there and follow his instructions.
Forum: Everything else WordPress
In reply to: WP versus MTCurrently, the only way to have multiple blogs is to have multiple installs. You could check out the MU version for a multi-blog effort.
It is very easy to have more than one WP. You can even have them use the same database with a simple extra step during configuration.
Some would say transferring layouts is easy. Others would say it’s hard. It all depends on how much you know about your layout and the way it works, HTML, CSS, and how easily you can learn WP’s theme system.