Doodlebee
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Broken dashboard and theme not workingWhen you say “backup” do you mean backup of the files only, or the database too? You upgraded it when the original wasn’t working? Is the database backup a backup of the old version? What version of WP was it? Why didn’t the old one work? What happened/
Forum: Fixing WordPress
In reply to: WordPress and relative URLsFor the record, I’ve developed WordPress sites that have been moved and changed not only servers, but domain names as well – there’s no need to hard-code anything.
If you use the uploader for you images within posts, then their URL is coded in the database. When the site is moved and the settings are changed, the URL will change along with them.
if you’re talking about theme files, all you have o do is use
<?php bloginfo('template_directory');?>to provide a path to the theme files (if the image are housed in the theme files), or use<?php bloginfo('home'); ?>to pull in the main URL (you can add to that manually if the images aren’t in the theme files.)This is what I do every time, and I’ve never had an issue with moving anything.
Have one category for Video, one for Articles. Use a query (query_posts()) to pull in the content into whatever sections you want. No need for .htaccess rewrites. If you just want the /category/ part remove from the URL, there’s already a plugin that does that.
Forum: Installing WordPress
In reply to: Broken dashboard and theme not workingDoes it work if you remove the theme?
Forum: Fixing WordPress
In reply to: Major Hacks Into WordPress [HELP?]>>which makes me think there must be some sort of vulnerability somewhere. <<
yes, probably one of the sites on your shared server is the vulnerability. Someone probably has a poor password, didn’t upgrade their WP version (IF it is indeed, WordPress and not some self-built thing) or left their file permissions wide-open. Just because you (and some other people on your server) are running WordPress doesn’t necessarily mean it’s WordPress. Obviously *someone* hasn’t been paying attention to their security, and has compromised everyone.
Contact your host. If it’s across multiple sites, the *server* has been compromised, and they will want to know. They will also track down the source of the problem, and take the necessary steps to fix it.
Forum: Installing WordPress
In reply to: Installation>>I also let WordPress create my wp-config.php file<<
?
WordPress MU can do this, but the regular installation of WordPress does *not* do this.
Are you using WPMU? If so, you’re asking questions on the wrong forum. This is for a single, self-hosted installation of WordPress. We don’t do MU here. You want to be over here.
Forum: Everything else WordPress
In reply to: NEED HELPSearching the forums is a good thing.
Forum: Requests and Feedback
In reply to: Correct procedure to relocate a blogYour posts and comments are located within your database – not your filesystem.
>>i was just wondering if there was anyway of changing this?<<
That’s what the stylesheet is for. style.css in your theme files.
>>does anyone know how to customise the look of your side bar?<<
If you’re using widgets, then you should be able to edit the settings in your widget preferences. If you’re not using widgets, then you need to edit the tag in your sidebar.php file.
Forum: Fixing WordPress
In reply to: IIS7 permalinks and imagespermalinks… on a IIS server? You must have .htaccess to use “pretty permalinks”. .htaccess is Apache-based. Meaning it’s not going to work on IIS. i.e. you cannot use the regular pretty permalinks when you’re running WP on a IIS server. You might want to read this alternative (which, by the way, is in the Codex.)
Forum: Fixing WordPress
In reply to: Server change – website gone?I’d agree with numeeja. If you had permalinks set, an .htaccess file done, etc. then the move could have messed this up. You might also try deactivating plugins that were activated and moved, and see if that helps.
Forum: Fixing WordPress
In reply to: Author Page for a Special Authorif you’re going to create an author.php file, then the above code you posted doesn’t really do anything. You’re looking for something more like:
<?php
if(is_author(‘104’)) { ?>
blah blah blah
<?php } else if(is_author(‘105’)) { ?>
snickerdoodle
<?php } ?>Here’s a couple of examples for you to look at for other methods.
Forum: Plugins
In reply to: Weird Request: Get bookmarks under categories displaying notesAh – I see. Well, looking at the bookmark.php file (in includes) there’s a function you might be able to use:
get_bookmark_field( $field, $bookmark, $context = 'display' );Nothing in the codex on it that I can find. But there’s also
get_bookmark( $bookmark, $output, $filter );, and that might be more helpful. I’d say you could write a function that creates its own loop, and uses the above to output the bookmarks in array format, and pull the contents of the link_notes field.So, for example (and this is totally untested and off the top of my head, but it might be a start):
function custom_bookmarks() { global $wpdb; $bookmarks = get_bookmarks(); if($bookmarks) { foreach($bookmarks as $bm) { $id = $bm->link_id; $add = get_bookmark($id); $notes = $add->link_notes; $link .= '<li><a href="' . $bm->link_url . '">' . $bm->link_name . '</a><br />' . $notes . '</li>'; } } echo $links; }Maybe that would do it?
Forum: Fixing WordPress
In reply to: Cetagory Base Next and Previous postDid you read further down the page? There’s examples (and parameters) right there that tell you how to achieve that. Directly below the example you just posted, actually.
Forum: Fixing WordPress
In reply to: Embedded Flash Object not working in IE browserNo offense, but this isn’t a WordPress issue. Google is your friend. 🙂