Wordpress Tricks

WordPress 2.6 Released!

Great News, WP 2.5 got even better in 2.6! I am having problem with “press this” feature only. Upgrade was smooth for all of my blogs. Great job WP TEAM.

Read News

WordPress

WordPress

Be the first to comment - What do you think?  Posted by admin - July 15, 2008 at 10:17 am

Categories: Wordpress Tricks   Tags:

WordPress 2.6 Beta 3 released

Soon We will have the next stable version of the BEST free blogging software WORDPRESS 2.6. Beta version 3 has been released. Test it if you like.

WordPress

WordPress

http://boren.nu/archives/2008/07/08/wordpress-26-beta-3/

Be the first to comment - What do you think?  Posted by admin - July 11, 2008 at 8:36 pm

Categories: Wordpress Tricks   Tags: ,

Blank Page in WordPress 2.5.1 while trying to view individual posts!

Blank Page in WordPress 2.5.1 while trying to view individual posts!

It seems that I am running into various wordpress problems these days! Thank god that I am able to find somehow too! All of my sites use wordpress and I try to keep all sites upto date. The most recent problem I faced is having a “Blank Page” while trying to view the individual posts. I am using the xplosive theme , which is really nice and clean theme and I have been using this for a long time. Recently for last two days I noticed that nobody left any comments in my blog. Also I further noticed that my adsense revenue dropped almost 50% than usual. However it took me for a while to understand that I was having a problem. Simply because when I try to open the home page at http://calcuttaglobalchat.net everything is loading fine. Just by accident I tried to check one of my post today and found a Blank page!! I tried to open other posts and had the same problem! I searched in google, wordpress forum but could not find the answer. So, I asked for help from my server providers. They replied this:

============
Thank you for your email.

Please get back to us with the exact steps to recreate the issue from our end so that we can assist you further.

If you have any other problems or questions, please don’t hesitate to contact us.
============

I had no idea how to “recreate” the issue! I thought what to do next. Then for whatever reason I changed the theme. Now I see that the posts were loading fine. So, I went one step further, downloaded the theme again and re-uploaded the “single.php” file that controls the display of your single post content. Guess what? It solved my problem. Now all of my posts are loading fine. I am hoping to see some comments tomorrow!

Though I am not exactly sure the source of the problem, but I am guessing it was due to some “code” modifications that I made to the “single.php” file for some plugin use.

I don’t know if my little story might help, but it is worth trying the same if you face the problem.

Good luck!

Be the first to comment - What do you think?  Posted by admin - May 19, 2008 at 10:39 pm

Categories: Wordpress Tricks   Tags: , , , ,

Comments disappeared from WordPress? Solution

I don’t know how did that happen, but yesterday I noticed all of the comments were vanished from one of my wordpress blog : Calcutta Tube.
I Panicked, as I should, and then tried to search Google to see if anybody else had the same trouble. I found few cases for older version of WordPress. Such as for wordpress 2.3, the solution for “disappeared comments” are given by Steve Ferson. I found that David Perkinson had the same problem but he mentioned that it was related to some plugin issue. He thought “google analytics” was the problem plugin for “disappearing comments”. Well I do not have “Google Analytics” installed in my blog, so what is the solution? I checked all plugins to make sure they are “up to date”. Updated few plugins that were not up to date. But still the problem remained. So, I did the most useful thing that I should have done in the first place.

I have Cpanel installed in my server. So, my trick is useful if you have Cpanel or you know how to repair your database!

Log on to your cpanel and you should see something like the image below. Click on the “MySQL Databases”. It will list all the databases you are using in your site.

MYSQL database

Browse to the database that you are using for your wordpress. Then click on repair. There are three buttons next to each databases – Delete, Check and Repair. Do not click on “delete” even by mistake!

Hopefully it will solve your problem. It did for my blog!

Repair Database

Enjoy Blogging now!

20 comments - What do you think?  Posted by admin - May 16, 2008 at 11:40 am

Categories: Wordpress Tricks   Tags: , , , ,

An appropriate representation of the requested resource /wp-admin/widgets.php could not be found on this server.

Weired Error in WordPress 2.5.1 just after upgrading.

An appropriate representation of the requested resource /wp-admin/widgets.php could not be found on this server.

Why weired?

I am using a two column theme in one of my site : http://calcuttatube.com.

I can add remove wigets from sidebar 1 or sidebar 2.

After upgrading to wordpress 2.5.1, I have no problem editing sidebar 1 (left) while I can not do anything  with sidebar 2! I don’t know what is the issue. I don’t know if it has something to do with the theme.

I have tried deleting the old “widgets.php” file from server and then re-uploaded that one again. Still, it did not solve the problem!

Dennis at Semilogic.com wrote that this might be due to server issue that may arise due to:

  1. mod_security
  2. safe_mode

Dennis mentioned that the safe_mode should be “OFF”. Well my safe mode is “OFF” and I am having the issue for ONE site only.

He also suggested to try to delete/rename .htaccess_sample file under wp-admin folder. Well I don’t see any such there too.

So, I am still having the issue with one site only. I have not changed the theme yet as I have too many additional work in the theme and it is painful to change a theme and redecorate the new theme again.

If you have an answer to this issue, please let us know.

Thank You.

Be the first to comment - What do you think?  Posted by admin - April 28, 2008 at 9:35 am

Categories: Wordpress Tricks   Tags: , ,

WordPress 2.5.1 released

I have been very busy with other sites and could not work on calcutta seo for long. Well just to let you all know that wordpress 2.5.1 has been released and you can get it from here: http://wordpress.org/download/

I have updated the site site to the latest 2.5.1 version and everything is working just great. Thanks to WordPress team for great job!

Be the first to comment - What do you think?  Posted by admin - April 27, 2008 at 10:05 pm

Categories: Wordpress Tricks   Tags: ,

WordPress 2.3 Plugin compatibility

WordPress 2.3 has been released. If you are upgrading from 2.2, please follow their “extended” upgrading documents and make sure to delete the old folders that are no longer required.

Also, check out the :Theme Compatibility List for wordpress 2.3 and Plugin compatibility for wordpress 2.3

Be the first to comment - What do you think?  Posted by admin - September 30, 2007 at 1:04 pm

Categories: Wordpress Tricks   Tags:

WordPress 2.3 Released.

Well, WP 2.3 released yesterday and we have successfully upgraded our blog.

Be the first to comment - What do you think?  Posted by admin - September 25, 2007 at 11:33 pm

Categories: SEO Guide, Wordpress Tricks   Tags:

Subpages not on Index page of WordPress blogs (simmilar to WP-Andreas 1.7)

Subpages not on Index page of WordPress blogs. 

Background:

I am using wordpress in multiple of my websites. Though wordpress is a “blogging” software, you can easily create static pages and give it a look like a complete “html” sites. If you have only few pages, you should not have any problem and you can use any available wordpress themes. But, if you have numerous pages and sub pages under them, you are in trouble. The question is “Why are you in trouble?”!!

 Trouble with multiple pages and sub pages for a wordpress blog:

Two major problem using wordpress pagination!

1. By Default in most of the themes all the pages and subpages are lited in the index page. Usually all the subpages are treated as pages and there is no wat to tell which one os the main page and which one a subpage.

2. If you have numerous pages, by default it will display all of them making the site menu awfully long!

Solution:

Option 1. Use a theme that has in built subpages command. So that in the index page only the top level pages are displayed and when you click on a top level page, subpages under this appear. But there is only only ONE wordpress theme that has this neat feature. (if you know any other theme with similar feature, please let us know). The theme is: WP-ANDREAS 1.7 which you can or . I use this theme in one my website:

By default, the usage shows:

  • All Pages and sub-pages are displayed (no depth restriction)
  • Date created is not displayed
  • Is not restricted to the child_of any Page
  • No pages are excluded
  • The title of the pages listed is “Pages”
  • Results are echoed (displayed)
  • Is not restricted to any specific author
  • Sorted by Page Order then Page Title.
  • Sorted in ascending order (not shown in defaults above)
  • Pages displayed in a hierarchical indented fashion (not shown in defaults above)
  • Includes all Pages (not shown in defaults above)
  • Not restricted to Pages with specific meta key/meta value (not shown in defaults above)

Now, if you use this whereever you wish to display subpages, it will work fine:

If you have two column, one will still display all the pages and another colum will show the subpages under it.

But you propably need to show ONLY the Root pages to use this command properly. To do this, change “Depth” of wp_pages command.

depth (integer): from wordpress.org
This parameter controls how many levels in the hierarchy of pages are to be included in the list generated by wp_list_pages. The default value is 0 (display all pages, including all sub-pages).

  • 0 – Pages and sub-pages displayed in hierarchical (indented) form (Default).
  • -1 – Pages in sub-pages displayed in flat (no indent) form.
  • 1 – Show only top level Pages
  • 2 – Value of 2 (or greater) specifies the depth (or level) to descend in displaying Pages.

So change this
to <?php wp_list_pages(‘title_li&depth=1=<h2>Pages</h2>’ ); ?>

basically you are asking to display only the top level pages.

Option 3: Use WIDGETS!!

a) WenderHost Subpage Widget: A widget for displaying a list of subpage links. The list remains consistent regardless of where you are in the hierarchy.

Simply install the plugin and put it in your sidebar, Subpages will apper if the Top level page has any subpages in it.

b) Subpages Plugin: The Sidebar Widget Plugin is easy to integrate and maintainable content provider for your page, but one aspect was missing from my side. The pages widget displays all pages, but I liked only to display the pages which are children from the current root page. For this reason I wrote the SubPages widget for the Sidebar Widget.

c) Transmenu: Creates a nice looking animated drop down menu for listing your pages and subpages (and more in the future):

d) Subpage listing: Subpage Listing allows you to take full advantage of WordPress Pages’ hierarchy by generating a navigational tree of the pages below them (subpages).

e)SPS-Suite: SPS-Suite is the successor of “SPS -Sidebar Page Switcher”. It enhances your page-list and your archive-list in the sidebar as well as your search function. This plugin is useful for blogs with many static subpages and the wish of a small sidebar. There are several options implemented in the plugin: 1. You can have the sidebar-page-list be more smart, e.g. only pages of the top level and all useful level are displayed, additionally you can hide pages from being displayed in the sidebar. 2. You can extend your search function with a fulltext index, this search uses articles and pages and is restricted to MySQL 4.0 or higher. 3. Addionally to the sidebar function this plugins allows you to display a navigation bar, which can help your users to maneuver through many sub- and subsubpages. 4. Last not least this plugin shortens your archive list to a maximum of month displaying also all years.

Just try these plugins and I see whichone suits your site the best,
Hope this post has been useful to you.

4 comments - What do you think?  Posted by admin - August 22, 2007 at 4:54 pm

Categories: Wordpress Tricks   Tags:

« Previous Page