Subscribe to my RSS feed RSS

Archive for the Tag ‘wordpress’

April 3, 2012

Help! My WordPress site got hacked! What can I do?

I’ve just gone to my website and found that it’s showing links to an unsavory site. I didn’t put them there and they weren’t there last week. Can you give me some pointers as to what I should be looking at?

{Read More}

April 2, 2012

How to get primary key of last inserted row into database?

I’m writing a plugin for WordPress and I have a table with a AUTO_INCREMENT primary key field called ID. When a new row is inserted into the table, I’d like to get the ID value of the insertion. How do I do this?

I ran into this the other day and tried using is a method called mysql_insert_id which is the standard PHP way of doing this.It didn’t quite work though, as my queries were all going through the WordPress class $wpdb and I couldn’t guarantee that my query was the last thing that was being executed.

Well, it turns out that one can use the class varialbe $wpdb->insert_id which is updated with mysql_insert_id when your INSERT is completed. Now that’s easier than finding a Arai Signet-q when you’re really looking for one right?

March 26, 2009

Do I need to upgrade my blog?

I have read on a website that there’s an important security update for WordPress. My blog is bestlinen.wordpress.com. Do I need to upgrade it? If so, how do I go about it?

{Read More}

January 7, 2009

How do I get a word count on my WordPress post?

I hate not having word count with this new WordPress. Is there anything I can do?

{Read More}

October 31, 2008

How do I add my blog posts (WordPress) to my LinkedIn page?

I was looking at your profile on LinkedIn and noticed that you had your blog posts displayed there too. Can you tell me how you did that?

{Read More}

September 4, 2008

How do I add Google Video to my WordPress blog?

I have been trying to put Google video on on wordpress page with out success. Any ideas? Help?

{Read More}

September 3, 2008

How do I make WordPress permalinks work on nested domains?

GoDaddy’s Deluxe hosting allows for multiple websites all under one account. The way they do this is by pointing the domains to subfolders within the root. But, this poses a problem when trying to activate the permalink structures for these new sites since the 404 handling is pointing to the main root folder instead of your domain’s root folder. I’m searching for a way to rectify this issue since I have quite a few clients in this situation. Any ideas?

{Read More}

July 19, 2008

How do I upgrade my WordPress blog with Fantastico?

My WordPress blog has recently been telling me it’s outdated and there’s a new version of WordPress. I had installed it using Fantastico on my hosting panel, how do I go about upgrading it?

{Read More}