Hiranthi
Forum Replies Created
-
Well, apparently it tries to upload an image to the /wp-content/uploads/2008/12 folder (default structure for uploads in WP) but the folder uploads isn’t writable (or doesn’t exist in wp-content), so it can’t write the image to it.
You can change the folder-structure for uploads under Settings -> Miscellaneous (folder must have write permissions | CHMOD 0777).
Forum: Fixing WordPress
In reply to: How to Return Latests Posts by Tag?$orderby
(string) (optional) Sort posts by one of various values (separated by space), including:* ‘author’ – Sort by the numeric author IDs.
* ‘category’ – Sort by the numeric category IDs.
* ‘content’ – Sort by content.
* ‘date’ – Sort by creation date.
* ‘ID’ – Sort by numeric post ID.
* ‘menu_order’ – Sort by the menu order. Only useful with pages.
* ‘mime_type’ – Sort by MIME type. Only useful with attachments.
* ‘modified’ – Sort by last modified date.
* ‘name’ – Sort by stub.
* ‘parent’ – Sort by parent ID.
* ‘password’ – Sort by password.
* ‘rand’ – Randomly sort results.
* ‘status’ – Sort by status.
* ‘title’ – Sort by title.
* ‘type’ – Sort by typeTags is not in the list, so you can’t order by tags with this function.
Forum: Fixing WordPress
In reply to: query_posts (category_name)Well, to be honest: it is working for me.. I’m using it like this:
query_posts('cat=11,-7&showposts=5&orderby=rand');
Forum: Fixing WordPress
In reply to: list bookmarksFirst of all: ubb-code doesn’t work here, you should use normal HTML (as stated below the textarea), or use the buttons above the textarea.
——————–
global $wp_query;
$cat_obj = $wp_query->get_queried_object();if ( is_category() ) // opgevraagde pagina is een categorie
{
echo wp_list_bookmarks('include='.$cat_obj->cat_ID.'&before=<li class="link_total">&after=&title_after=</h3>&title_before=<h3>&show_description=1&between=');
}
else // opgevraagde pagina is geen categorie
{
}Something like that should work ??
Forum: Fixing WordPress
In reply to: Organizing posts.Well, by default the home-page is listing an X number of posts (latest posts). The other pages are just pages and are not related to posts.
If you would like to add some navigation in form of your current categories, I suggest you add the Categories widget to your sidebar ??
My guess is that the pages on top are normal pages, and not the current categories (therefor you won’t see any posts in them, they’re just pages). If you want to add your categories in that part of your theme, you should edit the theme itself.
Forum: Fixing WordPress
In reply to: Image enlargementWell, that depends on your own taste ??
My personal favorite (haven’t tried it as a WP plugin yet, though) is Shadowbox.
Forum: Fixing WordPress
In reply to: IE conditional stylesheet not workingIf it needs to be < IE7, use:
<!--[if lt IE 7]>
if it should be IE only, use:<!--[if IE]>
If that doesn’t work, the css classes aren’t overwritten (could be a CSS issue, but could also be a CSS issue).
@sparkletack: using
<!--[if IE 7]>
won’t work in IE6. That’s because the statements says ‘if it is Internet Explorer, and the version is 7’. So, v6 will be left out.MS has a virtual machine (for free) and you can download a winxp image with IE6 (also for free) at the Microsoft website. Using it myself for testing purposes like this (only annyoing point – besides the fact is MS, ofcourse – is that the image will expire.. the current one in January 2009).
Forum: Fixing WordPress
In reply to: Appearance/Layout Questionno problem ??
Forum: Fixing WordPress
In reply to: Appearance/Layout QuestionYup, you can change the order when you’re editing a page (or making a new one). And via Quick edit (v2.7).
With Quick it’s the second row in the right column (named Order).
With the normal Edit it’s (by default) in the right column, below Parent and Template (again named Order).By default the value of the (page)order of a page is 0
Forum: Alpha/Beta/RC
In reply to: 2.7 New admin interfaceJust installed 2.7b3 to see it for real and although I did like the design in screenshots, I dislike it IRL..
Why must the interface always be 100% wide?? I have a 24″ widescreen and I always have my windows maximized, which makes the admin interface look terrible, and the navigation is just way too narrow compared to the rest of the interface.
Will it be ‘easy’ to change the interface its design (like now with plugins)?Forum: Plugins
In reply to: [Plugin: User Permissions]: Fatal error user rolesAt first I thought it was the headspace2 plugin (the block on the edit page has the title set to ‘Headspace meta data’), but it’s the user-permissions plugin.
Upgrading to the latest version solved the problem.
Forum: Plugins
In reply to: Hopefully A Simple QuestionCouldn’t you add normal text-widgets and paste the html in it? (I don’t use any youtube – alike – plugins, so I’m not familiar with them).
Forum: Your WordPress
In reply to: Can’t Access WordPress FullStop.Seeing the emailaddress you tried to register with hotmail already exists, means that someone else now has your password..!!
I’d recommend to login to phpmyadmin and open the wp_users table. Then open your account and delete the password (user_pass field). Go to https://calc.wpmudev.org/md5.php and insert a new password, then click submit. Copy the outcome and paste that into the user_pass field of wp_users and save.
You should now be able to login with your new password (and editing your email address would be a good idea ?? ).
Forum: Fixing WordPress
In reply to: WP Super Cache super caching index.phpIt’s caching my index-page too. I’ve added index.php and home.php (that’s the template file I’m using for my index-page) to the rejected files but it’s still caching them..
Seeing I have a random image-header and a RSS-feed on that page it’s kinda annoying (url is https://www.illutic.nl btw, the site is in Dutch).Forum: Plugins
In reply to: Add noindex tag to pagesA while ago I implemented some code in the theme of a client of mine who wanted exactly the same thing.
I used a custom field for it (if the custom field was activated the page-link should have a no-follow) and used a custom query to display the page-navigation (and use an if statement to see if the custom-field was activated or not (true or false input btw)).Here’s the code:
<?php $query = "SELECT * FROM $wpdb->posts WHERE $wpdb->posts.post_status = 'publish' AND $wpdb->posts.post_type = 'page' ORDER BY $wpdb->posts.menu_order ASC"; $pageposts = $wpdb->get_results($query, OBJECT); if ($pageposts): foreach ($pageposts as $post): setup_postdata($post); $value = get_post_custom_values('p_nofollow'); if ( $value[0] == 'true' ) { $nofollow = ' rel="nofollow"'; } else { $nofollow = ''; } if ( is_page( $post->ID ) ) { ?><li class="page_item page-item-<?php echo $post->ID; ?> current_page_item"><a<?php echo $nofollow ?> href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li><?php } else { ?><li class="page_item page-item-<?php echo $post->ID; ?>"><a<?php echo $nofollow ?> href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li><?php } endforeach; endif; ?>
If it’s not (just) the links you want to add a nofollow rel to, I can recommend the robots meta plugin moronicbajebus is pointing to.