nebulousity
Forum Replies Created
-
Forum: Plugins
In reply to: [TinyMCEComments] Doesn’t show up in Plugins Control PanelNever mind. I’m a bonehead. I had multiple installatiomns of WordPress and wasn’t uploading to the correct set of directories. Sheesh!
Forum: Fixing WordPress
In reply to: How to force “index.php” in a URL with no filenameMy site is hosted on an Apache server, and I’m told this change needs to be made in the .htaccess file. I’ve edited that file before, so I do understand how, but I’m not knowledgeable enough to know exactly what change I need to make there. Not that I haven’t tried to look it up online, I have. But what I find is above my head. I try not to do that sort of thing except when I need to.
Any .htaccess experts out there that can instruct me?
Forum: Plugins
In reply to: WP-dTree 3.3.2 not displaying content (WP 2.5.1)Surprised no one replied, but I’ve gotten a little further on this now. It works if I add “index.php” to the end of my URL, but not if I leave it off.
In other words, this works:
http://www.jbryant.org/library/index.phpBut this doesn’t:
http://www.jbryant.org/library/See my discussion at http://wordpress.org/support/topic/185766?replies=3 for more on this (still unresolved at this moment).
Forum: Fixing WordPress
In reply to: How to force “index.php” in a URL with no filenameI’ll try that and report back.
Regarding the different experiences, I’m not sure it matters but do you use WP 2.5.1?
Forum: Fixing WordPress
In reply to: How to enable comments for non-registered usersHandySolo, thank you. And a great big “duh!” to me!
Why in the world wouldn’t these settings be the same place where other comment-related settings are — under Setiings | Discussion?
Thanks again,
Nebulousity
Well that’s strange — I posted a follow-up reply saying I figured it out, then I marked this thread as resolved. Not sure why it got reversed?
The answer was that I had a brain fart. I was temporarily confusing the effects of editing category.php with the effects of using your CQS plugin. I made the “the_excerpt” change to category.php tweaked the is_category setting in your plugin and I’m sailing smooth.
Thank you again. You’re a sheep in a wolf’s clothing!
BTW, I tried to answer my own question by consulting the Template Hierarchy article. From there I gleaned that it looks for several possible files, one of which is category.php. I didn’t have any of the files it named, so I figured I could duplicate archive.php and call it category.php and it would work.
I was wrong — no effect.
It worked! Thank you!
You know, Moshu, behind that caustic exterior you’re really a nice guy! 🙂
One additional related question and I’ll mark this whole thread as “resolved.”
I’m sure I just need to change the_content to the_excerpt somewhere else so that the same thing happens when I click on a category. Can you tell me where I’ll find that?
Nebulous
OK. Somewhere I had gotten the idea that the files in /default were applicable to every template that didn’t provide its own version of a file.
Yes, I’m using the Thirteen theme. Here are the only files contained in that theme’s root directory:
/images
404.php
comments.php
footer.php
functions.php
gpl.txt
header.php
index.php
page.php
screenshot.png
searchform.php
sidebar.php
single.php
style.css
themetoolkit.phpSince it doesn’t contain its own archive.php, would copying the one out of /default help? That doesn’t sound quite right to me, but I’m curious.
Incidentally, I have other themes available in my “wp-content” directory. Some have their own archive.php, others don’t.
Moshu:
Great plugin, by the way! I have incorporated it on my site for “is_month.”
I think the plugin has also highlited that I have some other problem that is related to the issue you’ve been helping me with.
As I said, I did add…
<?php query_posts($query_string . "&order=ASC"); ?>… to my archive.php. But it didn’t make a difference in the order posts were displayed. However, using your Plugin I was able to reorder them.
What’s more, I made the change you suggested in your last reply (replace the_content with the_excerpt) in my archive.php and yet it still displays entire posts.
So what could be wrong here? I’m definitely editing “../wp-content/themes/default/archive.php” and am definitely saving my changes.
Those changes don’t seem to be making a difference, but your plugin did.
Any ideas?
I answered my own question on installing the plugin. I tried it and it is installed. I’ll toy with it.
Thanks Moshu. I’d like to try it. I downloaded the plugin. It contains only one php file. If I just drop that file into /wp-content/plugins/ will it be available?
[Sidenote]
FYI, Moshu, there seems to be a problem with your blog’s menus (at least on my end). All I see are “About,” “Contact,” and “Archives.” However, when my mouse passed by the menu area I noticed that “Home” and “Download” lit up on mouseover. They just aren’t visible without mouseover.I linked to my blog and gave an example in my original message. Here’s the link again:
http://www.jbryant.org/library/As an example, click on April 2008 in the Monthly Archives section of the sidebar. What it brings up is the latest post from April 2008 with a “<< Previous Entries” link at the bottom. What I want it to do is bring up the earliest post from April 2008 with a “Next Entries >>” link.
Actually, in my original message I said my preference would be for it to bring up a page with abbreviated posts belonging to that month (by which I meant that it would list all posts for that month with the title and the first x number of lines and a link to read more). But at this point I’d just be happy for it to do what I mentioned above.
I’m pretty sure I’m editing the right file:
../wp-content/themes/default/archive.php
Is the code snippet in my last post correct, and is that all I should have to do?
Moshu:
I’m obviously confused, and I obviously don’t understand what I’m reading.
I tried following the instructions from the other forum entry you linked to (thanks for that).
Based on the code and the follow-up commentfrom Otto42, I did this to me archive.php:
<?php get_header(); ?> <?php query_posts($query_string . "&order=ASC"); ?> <div id="content" class="narrowcolumn"> <?php if (have_posts()) : ?>… etc.
It still didn’t make a difference.