Avenir
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to replace “<” and “>” to “<” and “>”You need to use HTML entities to output those two symbols. < is & lt ; and > is & gt ;
Remove the spaces between the amperstand, the letters, and the semicolon.
Forum: Themes and Templates
In reply to: Reverting Back to the Default TemplateWell it doesn’t look like you uploaded all the files included in the WP 1.5 distribution. I don’t see any of the
wp-
files in that index. Make sure that everything is uploaded.Forum: Themes and Templates
In reply to: moving/adapting theme from antville to wpHave a look around this for information on how the theme system works in WP 1.5. You’ll need to know a bit about CSS and things like that to convert your layout, but that shouldn’t be too hard and people on this board can help you out if you get stuck.
Forum: Themes and Templates
In reply to: Reverting Back to the Default TemplateYup. Delete everything related to WordPress except the wp-config.php file. New versions of these files are included with the 1.5 distribution. Upload all these and then follow the rest of the instructions.
Forum: Fixing WordPress
In reply to: How do I make wp-rss2.php a registered protocol?It’s not a problem with the file. Go into the appropriate template file (probably footer.php or sidebar.php), find the links to the feeds and remove the feed: that they’re prefixed with.
Forum: Everything else WordPress
In reply to: Permalink problemJust from the names of the functions, it looks like they call a link to the previous and next posts in the current category, repsectively. I guess they’d be commented out to accomodate those who don’t have the plugin for those functions?
Forum: Themes and Templates
In reply to: Comment number…Well, you can do that easily. Just change the
<ul>
element wrapping the comments list code to an<ol>
element and all the comments should now have numbers. Make sure, of course, that the comment body is wrapped in<li></li>
of course. That’s just HTML.Forum: Everything else WordPress
In reply to: Archives pageYou’ll need to change the
<?php
require('./wp-blog-header.php');
?>line so that it points to the directory where you’ve installed WordPress.
Forum: Themes and Templates
In reply to: Matt’s Random Image ScriptOK. You should copy the code that’s on the page into a new PHP file. Place it anywhere you like; it doesn’t need to be in the plugins directory because it’s not a plugin. I suggest placing it wherever you plan on uploading the images that it will rotate through.
Then, where you want the rotating images to be displayed, call an image tag like Matt demonstrates on his site:
<img src="/path/to/directory/rotate.php" alt="Random Image" />
Make sure that the path goes to the directory you have the rotate.php file in. After that, you just need to load an image into the same directory as rotate.php and that should be that.
Forum: Themes and Templates
In reply to: Matt’s Random Image ScriptWhere specifically are you having problems?
Forum: Everything else WordPress
In reply to: Archives pageOn 1.2, you’ll just need to create a new PHP file with all the header information and footer information and other whatnot from your site layout. Then remove what’s in the content area and add:
<h2>By Date</h2>
<ul>
<?php wp_get_archives('type=monthly&show_post_count=1'); ?>
</ul><h2>By Category</h2>
<ul>
<?php wp_list_cats('optioncount=1'); ?>
</ul>You’ll have to ask someone else on here about the rewrite rules necessary to get a link to the /archives directory redirected to this file. I don’t know anything about mod_rewrite, so I’m sorry I’m not more help.
Forum: Fixing WordPress
In reply to: RSS: .php -> .xml?I’m not familiar with WS_FTP, so I can’t really help you there. I’ve used SmartFTP and FileZilla only, so my apologies. Try looking around in the options or preferences for something like ‘Show hidden files.’ If you can’t find it, then WS_FTP might show hidden files automatically and you might not need to do anything. If you still can’t find the option to enable and still can’t see the .htaccess, then I suggest changing FTP clients. FileZilla is open-source and free, so I recommend it.
Forum: Fixing WordPress
In reply to: RSS: .php -> .xml?You don’t need to access the admin. Start up your FTP client, enable hidden file-viewing if it isn’t already, find the .htaccess file on your server, and then either delete it or rename it to a .txt file or something like that. That’ll stop the error. I’ve had this problem before, and this is how I solved it.
Once you’ve done that, follow the rest of my steps. You should be able to once the faulty .htaccess is removed.
Forum: Fixing WordPress
In reply to: RSS: .php -> .xml?So you didn’t even update the .htaccess file when you put that rewrite rule into the Permalinks box? Well then, that is another reason why your site isn’t working at the moment.
To access your .htaccess, you’ll need to access your server with an FTP client first, and make sure that the FTP client is configured to show hidden files. This can usually be set in the preferences or options of the client, so look around. Once you do that, the .htaccess you want to look for is in the root of your WordPress install, or in the root of your server (if you’re using the index-in-different-directory trick). If there’s nothing there even though you’ve enabled hidden files with your FTP client, then your server doesn’t have a .htaccess yet, so you can just create one.
Either way, you’ll want to either open up the .htaccess from your server or a new file in a plain text editor. Then enter in a Permalink structure following the rules on the Permalinks options page. Click the ‘Update’ button and then a bunch of text is generated in a box. Copy that to the file in your text editor and save it. If you’re using a new file, save the file as
.htaccess
, that is, a file with no name, but an extension of .htaccess. Then upload that to your server. CHMOD it to something writeable by the server using your FTP client so that when you make further changes to the Permalinks or when you write new Pages, the structure will update itself automatically.Forum: Fixing WordPress
In reply to: Getting the news post into my formatted pagePlease search the forums before you ask a question. This particular question has been asked multitudes of times already and there are many, many, many solutions already posted on the boards. Furthermore, the Codex has solutions for this as well, so please search there before you post on the boards as well.
That said, look here:
https://codex.www.ads-software.com/the_loop