Entries Tagged 'Wordpress' ↓

WordPress image upload not working, “Unable to create directory…”

Recently I upgraded my wordpress installation to version 3.4.2. I wanted to upload a picture for my post so I tried the media upload but it didn’t work. I got an error message saying “Unable to create directory uploads/2012/09. Is its parent directory writable by the server?”  Continue reading →

How to display the author name and link on the post page in wordpress

The theme on one of my other blogs did not display the author name and link on the post page. It would only display it on the main blog page. To fix this I edited the single post php file (single.php) and added the following piece of code. Continue reading →

How to change “Blogroll” to “Links” in WordPress

I don’t like the term “Blogroll” for my links in wordpress. I would rather call it “Links”.

To change the name of the category “Blogroll” in the wordpress admin, go to Blogroll -> Categories and click Edit for the Blogroll category. In the next screen you can change the name and the slug from Blogroll to whatever name you like.

P.S. I have done this on WordPress 2.3.2

How to enable comments on WordPress Pages?

You can use wordpress as a simple Content Management System for a non-blog website. That’s what I am doing on one of my other websites. But I wanted to enable comments on my static pages. I figured just by enabling “Allow comments” under “Discussion” did not work. Then I found this wordpress.org thread

All you need to do is edit the “Page Template” and insert the following code

<?php if (('open' == $post-> comment_status)) { comments_template(); } ?>

somewhere in between the following two lines.

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php endwhile; endif; ?>

HTML sitemap WordPress plugin

Ever wondered how easy it is to create the “Site Map” page on your website? Well, if you are using wordpress, you are in luck. This wordpress sitemap plugin creates a sitemap for your WordPress powered site. It is an HTML sitemap generator (unlike the XML ones) which is highly customizable from the WordPress admin panel.