finkyfeke
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to get whether comments are enabled or notI want to be able to get whether comments are disabled or not as a true/false variable to use in php. So I can do something like this:
<?php if(comments_enabled()) { ?> <small class="comments"> <?php comments_number('No comments','1 comment','% comments'); ?> </small> <?php } ?>
…where ‘comments_enabled()’ returns a boolean value based on whether this particular post has comments enabled.
But ‘comments_enabled’ isn’t a function. I need something to replace it with that will return the value I’m looking for.Thanks.
Forum: Fixing WordPress
In reply to: How to get whether comments are enabled or not…anybody…?
Forum: Fixing WordPress
In reply to: Pretty Permalink troubleMy .htaccess looks pretty much the same:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /enl/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /enl/index.php [L] </IfModule> # END WordPress
Forum: Fixing WordPress
In reply to: Domain PointingI’m not sure I understand the problem, but you should be able to set the home directory for a domain in your host’s control panel.
Forum: Fixing WordPress
In reply to: Permalink Problem Still Exists Upon 2.6.1 UpgradeJesse,
I solved my problem, which seemed to be similar to yours. I explained how here.
I really hope it’ll help you out too.
Good luck,
-RichardForum: Fixing WordPress
In reply to: Pretty Permalink troubleSolved.
The problem was in the apache2.conf file.
All my directories were set to AllowOverride None.
After changing them to AllowOverride All, I got a 500 Internal Server Error. So I messed around with the .conf files, and I finally discovered that it was the .htaccess files causing the error, not the .conf files.
Deleting the .htaccess files removed the 500 Error. Then I went back to wp-admin and had WordPress generate a fresh .htaccess, and everything now works perfectly.# Edit #
iridiax – I had the browser window open for a while, and I didn’t refresh before posting this reply. It’s a shame I didn’t see your link, it lists AllowOverride All in the requirements. Still, thanks a lot for trying to help.Forum: Fixing WordPress
In reply to: Blog Link BadHave you tried changing the permissions of /blog/ or /blog/index.php ?
A 403 error suggests it’s that sort of problem.Forum: Fixing WordPress
In reply to: Permalink Problem Still Exists Upon 2.6.1 UpgradeARRRGGHH
I tried 2.6 and 2.5.1, both with no luck.
Another thing I noticed (not sure if it makes a difference…) was that the wordpress-generated .htaccess files seem to have weird characters in them when viewed with Windows Notepad. I sorted it out and saved it as utf-8 and it seems the same. Just something I noticed and thought I might as well mention.Forum: Fixing WordPress
In reply to: Permalink Problem Still Exists Upon 2.6.1 UpgradeThat sounds like my problem. I’m using 2.6.1, and all my permalinks don’t work. I’ve never used an earlier version. Maybe I should downgrade and see if that helps.
Forum: Fixing WordPress
In reply to: Error: Expected ‘;’You’ll need to post the php, or we can’t help you.
Forum: Fixing WordPress
In reply to: Pretty Permalink trouble/%category%/%postname%/ is the exact permalink structure I’m using. I really can’t think what I’m doing wrong.
I installed the AskApache RewriteRules Viewer, and it tells me the following…
> Permalink: /%category%/%postname%/ > Writable .htaccess file found > mod_rewrite found > Not using pathinfo style index permalinks > Using mod_rewrite permalinks
…which all sounds fine to me, but it still doesn’t work.
Does anybody have any ideas? I feel like I’ve tried everything, and I don’t want to have to settle for /?p=123
Thanks
–RichardForum: Fixing WordPress
In reply to: downloadsIf you mean links to the files you want to share, it’s a normal A tag hyperlink.
e.g.<a href="/path/to/file.pdf">Click here to download</a>
Forum: Fixing WordPress
In reply to: Need Help with changing pictures namesYou’ll need to edit the URLs that point to the images. In all your html/css/whatever-else files.
Forum: Fixing WordPress
In reply to: Want to redesign blog but not destroy oldThis is what themes and templates are for.
You can create your new theme in wp-content/themes/ then when you’ve checked it all, enable it in the admin page.Forum: Fixing WordPress
In reply to: problem with div / css in header.phpI’d love to help you, but your blog link is broken.
Post the HTML & CSS and I’ll take a look.