Headlines

Other Big Stories

How to install ioncube in your server

Some scripts are encoded with ioncube. So to run the script, you need ioncube installed at your server. To install ioncube at your server, use the following instructions: Go to this page http://www.ioncube.com/loaders.php and download the package suitable for your operating system Unpack it and upload it to your server in the directory ioncube. The [...]

Full Story

Unable to update some wordpress users

One of my clients had this issue – unable to update some of the wordpress users. When trying to update some of the user, he was getting this error Catchable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in C:\web\wp28\wp\wp-includes\functions.php on line 1463 I went through many fixes, suggested in different [...]

Full Story

Changing layout of products page in Zencart

To change the layout of products page in zencart edit the following  file: /includes/templates/template_default/templates/tpl_product_info_display.php, and moving blocks of code to where you want them. Each block is identified by and comments to make it easy to keep track of them.

Full Story

Inserting data into access database using Asp.Net

I was trying to insert data into access database from an asp.net page. I could not find any samples in tutorials. So I thought to put the code (that worked for me) here. If anyone is looking for a sample I hope it would be helpful. <%@ Import Namespace=”System.Data.OleDb” %> <script runat=”server”> Sub submit(sender As [...]

Full Story

Compare title and category name in wordpress

I had come through a situation to compare the category name and post title for a wordpress post. The following functions and code helped me to do this. $category = get_the_category(); $cat = $category[0]->cat_name; $post_no = get_post($post); $title = $post_no->post_title; $match=strcmp($cat,$title); if($match==0){ echo “match”; } else { echo “no match”; } The problem here is [...]

Full Story

Blank page for wp-admin

Just now, I had been in a horrible situation that I can see all my blog pages but when I go to http://worth2read.org/blog/wp-admin/ it appears as blank. That is I am completly locked out of the admin area. I made a Google search for the solution and confused with lots of solutions that appeared. However [...]

Full Story

Adding new widgets in wordpress themes

We can add new widgets by using functions.php in the theme folder. For example I can add “Services I offer and Google Adsense in 2 ways to the sidebars. 1. Code both to the page sidebar.php 3. Create widgets using functions.php file in the theme folder Following code shows how I added a simple Adsense [...]

Full Story

Adding Separate boxes for wordpress excerpts

In most of the themes the post container lists all the excerpts of the most recent posts in the home page. The following code will help you to break up each post into separate boxes. Example: Theme Home page Preview Using css we can make a 10px gap in-between each post, where the background of [...]

Full Story
© 2010 Some PHP | Wordpress Tips Suffusion WordPress theme by Sayontan Sinha