[Resolved] WordPress : Custom Fields not working and not getting updated issue

By |2010-11-08T20:56:19+01:00November 8th, 2010|Technology, Web Development, Wordpress|

Time solves your problems

I’ve had a problem with WordPress last 3 months, and at last, I found the solution. Here is the story:


WordPress Custom Fields

WordPress posts have meta data (Custom Fields) where additional information on the post are stored. For example the featured image, number of views, comments count, keywords, SEO description and so on…

When posting new posts, the Custom fields where not getting stored on WordPress, so basically nothing was “tracked” and optimized. I looked everywhere on forums and internet resources for a solution to this issue, no luck!

Today I was rechecking Gibni’s data base and in the “post_meta” table, I found that “meta_id” was not set to “auto_increment”. You can see this in the “extras” column in phpMyAdmin while you see the “post_meta” table’s structure. Once setting this […]

Comments Off on [Resolved] WordPress : Custom Fields not working and not getting updated issue

Emergency code

By |2009-08-28T15:44:26+01:00August 28th, 2009|Blogging, Security, Technology, Web Development, Wordpress|

Who to call in case of website emergency?

Due to some yet unknown issue, WordPress version 2.8.2 might be causing server errors.

Lunarpages, my “current” and might become “ex” webhosting company, shut down Gibni.com yesterday without any prior notice, saying they’ve taken an emergency action, as the “index.php” script in my wordpress root was using huge server resources, and could cause a server crash.

First problem is, not only they changed the “index.php” permissions to “000”  (no read permissions) but they took ownership of the file, so neither I could make any changes to the file, nor analyze it for troubleshooting.


Secondly, they made the domain return an “internal server error” to all visitors.


Third, they did not manage to put an “under maintenance” page at the […]

Comments Off on Emergency code

Making money online, avoiding the scams

By |2009-05-05T21:10:05+01:00May 5th, 2009|Blogging, Security, Technology, Web Development, Wordpress|

Making money online…

Making money online is one of the most researched topics for many of web developpers, bloggers and website owners. It takes a lot of efforts to produce quality content and get enough traffic, to be able to rank better in search results and improve your different ranking factors. After a while of being online, website owners will get advertising offers from different companies, which might be interesting at first.

Well, this is a good sign, as it means that your site is getting some interest and attention; but it’s also an alert, warning you to be cautious.


There are lots of scams out there, which try to fool you by offering great business opportunities and make you run some ads or malicious scripts on your website. They […]

Posts and comments in “any” language in WordPress!

By |2009-04-13T02:52:50+01:00April 13th, 2009|Technology, Web Development, Wordpress|

Have you ever thought of writing your blog posts in a language other than English? or even let your visitors leave comments in another language!?


Well, some may answer with “Yes! in French!” (or Portuguese, or Italian…), but, what I mean is in other languages like Arabic, Farsi (Persian), Urdu, Chinese…, languages which have characters other than the basic “A,B,C…”

Basically, when you write a blog post on your blog, it is stored in a database, and what characters that database supports, defines the characters you can use for writting your post.


Well discuss about the two general types of WordPress, the WordPress.com blogs and self-hosted WordPress installations.


WordPress.com blogs:


Typing other languages such as Farsi or Russian or Arabic should be supported by default and […]

Make money online with your mobile website

By |2009-01-07T18:46:50+01:00January 7th, 2009|Mobile, Money Talks, Web Development, Wordpress|

I wish you a happy new year 2009!
This year’s first post is about the mobile version of your website/blog. As some of you might know already, Gibni.com has a mobile version which shows up when you access the site (https://www.gibni.com) from a mobile device like your phone.
Gibni detects and recognizes automatically the device you’re using, and serves appropiate content for your screen and device or browser capabilities.
Gibni currently runs on WordPress 2.7, and the mobile version of the site is provided by Mobile Press.
Thanks to this wonderful plugin, Gibni is running very well on mobile devices, and from an admin point of view, there’s no conflict with caching plugins.Gibni Mobile Screenshot
Previously I used […]

WordPress 2.7 (still in beta!)

By |2008-12-11T01:09:51+01:00December 11th, 2008|Web Development, Wordpress|

WordPress is one of the best blogging platforms available today. Gibni as well as a lot of other big blogs are based on WordPress.

Most of you should already have heard of WordPress, and for some of you who didn’t yet, go to www.Wordpress.org to find out what it is!

Developers are currently testing and improving the latest version of WordPress, that is the 2.7.

It was supposed to be release the last month (in November) but some some reasons, nothing happened back in November! But fortunately, beta versions of 2.7 got out and today, Gibni is running on an Optimized version of WordPress 2.7 RC2. The optimization mainly consists of adding a new feature to the “big query” of wordpress, adding the ability to sort and output posts based on their […]

Comments Off on WordPress 2.7 (still in beta!)

MyBlogLog Widget is SLOW!

By |2008-12-10T18:24:30+01:00December 10th, 2008|Web Development, Wordpress|

I’ve been using MyBlogLog widget from Yahoo, from the beginning, and I was really happy with it at first. I used to find out who visited my site and if they’ve had a blog or website, it helped me to find and visit it easily.
Now that Gibni is expanding and I get more and more visitors per day, I am worried about the speed and loading times, so I am trying to make pages load faster and faster.
I’ve been using caching techniques, CSS sprites and other optimization techniques some developed by myself and some mostly inspired from AskApache ; and managed to get the best possible loading speed.
Today, I feel it’s going to be the last day for MyBlogLog widget on Gibni. And within the next 12 hours, […]

Global Translator 1.0.9.1, Optimized Version 0.2.2 released! (Updated)

By |2008-11-28T19:57:23+01:00November 28th, 2008|Technology, Web Development, Wordpress|

UPDATE: Translation bar not appearing in pages or sub directories; FIXED.

One of my goals is to attain maximum speed and shorter loading times.
So of you might already be familiar to my Optimized version of Global Translator which is initially made by www.Nothing2Hide.net, which provides translated version of your blog to visitors. Latest version till now is 1.0.9.1, which is a stable and improved version.

As I said it in my previous post on this topic, this plugin basically consumes a of bandwidth and keeps pages in a loading state for a long period of time, as it keeps many connections busy between the client and the server to download all independent flag pictures to the client’s computer. This slows […]

3D Tag Cloud For WordPress

By |2008-10-24T20:01:09+01:00October 24th, 2008|Blogging, Reviews, Web Development, Wordpress|

I’ve recently installed a new Tag Cloud on Gibni.com, If you look well, you should already have noticed it.
It’s a 3D Sphere tag cloud! it’s based on a flash file but the real knowledge behind makes it completely search engine friendly.  This is basically a plugin called WP-CUMULUS made by Roy Tanck. The Plugin is hosted now on WordPress.org -> Plugin’s page.
I found this very exciting and as it does not interfere with search engine friendliness factors, I decided to add it to my new theme. I would recommend it as a good plugin as you can really customize it.
The theme that Roy has got on his blog is really well designed and is easy to navigate too! Good job Roy, Keep […]

Dropcap First Letter, Universal Version

By |2008-10-19T01:30:34+01:00October 19th, 2008|Blogging, Web Development, Wordpress|

As you can see on Gibni.com, articles’ title have got a drop capped first letter.
I’m making this technique available to the public so that you can “Drop cap” any text you wish.
You can drop cap in WordPress or on any other platform where you can run PHP functions.
I’ll explain on how to Drop cap in WordPress without installing any plugin.
I’ll keep it simple; just open the “functions.php” file in your theme directory, and add this function to it:
—Code—Functions.php—
function dropcap_first($content) {
$pos = strpos($content, ‘<a>’);
/* stripos is only available in new PHP versions we’ll  */
/* live with using the case sensitive version so it won’t match <A> */
/*     $pos = stripos($content, ‘<a>’); */
if (($pos !== 0) || ($pos === false)) {
echo ‘<p class=”dropcap-first”><a href=”‘.get_permalink().'” rel=”bookmark” title=”Permanent Link to ‘.the_title_attribute(‘echo=0’).'”‘. $content […]

Comments Off on Dropcap First Letter, Universal Version