neonWired
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: problem with get_posts() effecting the loopThanks for your suggestion, i found the bug in my code, it’s actually the use of the variable $posts in $posts = get_posts().
I assume that this means $posts is used by the loop but unless i declare it as a global shouldn’t it be local and not effect the loop? and shouldn’t wp_reset_query() reset it anyway?
Forum: Fixing WordPress
In reply to: trailing slash problemIs there any edits that can be made to allow a page other than index to be the base.
Forum: Fixing WordPress
In reply to: trailing slash problemIf i set the Blog address to the wordpress directory all the RSS links go there which isn’t what i want. They need to link to https://example.com/discussions.php
Forum: Fixing WordPress
In reply to: trailing slash problemThanks, that’s what i followed to set it up. I think the problem is with step 4 “In the box for Blog address (URL): change the address to the root directory’s URL. Example: https://example.com”
This appears to require that the root be a directory (hence the trailing slash). However the site i’m developing requires that the root is a page which is to have the filename discussions.php (the index page being used for other something else). If i put https://example.com/discussions.php as the blog address setting it seems to take discussions.php as a directory name.
Is there a way round this other than URL rewriting?
Forum: Fixing WordPress
In reply to: trailing slash problemits not live
Forum: Fixing WordPress
In reply to: can’t get wp_list_comments() to list anythingI included the comments.php from the default theme but it still doesn’t display any comments only the “Leave a ReplyYou must be logged in to post a comment.”
Forum: Fixing WordPress
In reply to: redirect to wp-admin/install.phpOk, the issue seems to be that it’s still looking for files in the root even though it’s set up in a directory and should be looking there. Is this a bug?
Forum: Fixing WordPress
In reply to: redirect to wp-admin/install.phpI have used the exact same method for another site and have checked setting, permissions and code, everything is identical yet one works and the other doesn’t
Forum: Fixing WordPress
In reply to: redirect to wp-admin/install.phpthanks but it’s not an error with the path or nothing would happen with wordpress at all, you’d get a php error.
Forum: Fixing WordPress
In reply to: redirect to wp-admin/install.phpActually it’s not the database, its the setup i have. I installed wordpress to it’s own directory and am accessing it from outside the directory. The problems happen as soon as i include the wordpress header.
require('blog/wp-blog-header.php');
Forum: Fixing WordPress
In reply to: Media Library won’t recognize ftp uploadsThere’s always a way to work the FTP angle.
Upload a dummy file (open notepad, type a few characters, save with a .mov extension – or whatever the extension of the file you are trying to get into the Media Library). Upload that through the uploader.
Then use an FTP client to upload the real file, and once it’s uploaded, simply rename to match the dummy that was uploaded, and delete the dummy (not necessarily in that order).
Worked for me.
Doesn’t it defeat the object of quick mass uploading if you have to upload double the amount of files in two different places and then rename them all?
Forum: Fixing WordPress
In reply to: problem with theme redirecting to wp-admin/install.phpisn’t config independent of the theme? so that can’t be the problem