ButlerBlog

chad butler's weblog

  • About
  • Blog
  • WordPress Plugins
  • Contact

Changing WordPress Posts to Pages

By Chad Butler Leave a Comment

During the time that I was having problems with the spam injection hijack, I upgraded through a couple of versions of WordPress.  During this process, I somehow “lost” all my pages.  They were still there as posts, but for some reason they were not being seen as pages.

I did some searching on the issue, but really came up empty on finding an existing discussion of what I was looking for.  So, I did what I usually do when confronted with a WordPress issue that I can’t find a ready fix for – lift the hood and get my hands dirty figuring it out.

It didn’t take long for me to figure out the quick solution.  In the WordPress database there is a table called _posts (it will look like wp_posts or whatever your table prefix is).  In _posts, there is a field called post_type.  This can be set to either “page” or “post”.

In my case, the pages had been changed to post.  So I merely had to change the value of this field.  To do this, you could use something like phpMyAdmin or some other tool.  It helps to know the ID number of the original, but if you don’t know this, you can find it by browsing through the content of wp_posts.

Once you have changed the value of the post_type field to “page”, that post will show up as a page on your blog.

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print
  • More
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest

Filed Under: WordPress Tagged With: tips, tutorials, WordPress

Site Update

By Chad Butler Leave a Comment

Once again, I thank everyone for their patience.  I believe that I have finally solved the problems with the site, but there is now much work to be done.

First, the issue I was having does not seem to be isolated.  It was a spam injection hijack of my blog, and to be honest, the only reason I noticed it was the content of the AdSense ads that were showing up.  It really was a bear to get rid of.  I will have a single post later that covers this because the problem appears to be effecting a lot of WP blogs.

That brings me to another important issue.  While I was infected via an exploit, some people that have gotten this hijack have actually installed it themselves.  They did this by downloading a theme or plugin from a site other than WP or the actual developer.  In the case of themes, they downloaded from a gallery where the download had actually been modified and contained javascript to run the hijack.  Lesson: only download from the original developer or where from a trusted source (i.e. WP). 

In the case of my plugins, I know that there are some sites that have downloaded from here and then helped themselves (w/o permission) to hosting it on their site.  I generally don’t waste my time going after these guys because the plugins are opensource and I have too much else to worry about.  But if you download from one of these, you could run into problems.  Here are some reasons to only download my plugins from “official” locations:

  • They are always going to be the latest version.
  • The code will not contain any hijacks. (Bugs maybe, exploits I hope not, but malicious hijacks? NEVER!)
  • You are supporting the author.

The only “official” location for my plugins are:

  • This Site
  • WordPress Plugin Database (http://wp-plugins.net/)
  • WordPress (soon.  They’ve been approved, just haven’t got them up there yet.)

My plan is eventually to have everything as part of the WP site using SVN.

Back to the greater point of my post.  From here, I need to get the forum fixed and restore some of my content that was messed up during the recovery from the hijack.  Then I will be systematically going through and addressing comments that were questions on support issues.  If relevant, these will be moved into the forum (where support questions should be addressed).

If I can make it through all of that maintenance, then maybe we will get back on track with development of the existing plugins and new ones that have been on the back burner.  Also, the existing work I have needs to be tested in WP 2.5, but I see no reason why it wouldn’t be compatible at this point.

That’s all for now.  Again, thanks for your patience and support.

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print
  • More
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest

Filed Under: WordPress Tagged With: plugins, WordPress

Maintenance, Updating, Support, and other Stuff

By Chad Butler 5 Comments

Well, I thought I had the theme hacks licked, but of course it was rehacked. I’ve been trying to track that down before I go back and fix the theme (and really the whole blog) again. To be honest, it’s rather depressing because it is a lot of work to keep this thing going. Sometimes I feel like I’m just spinning plates – about the time I get the last plate spinning, I have to go back to respin the first ones because they’ve come to a stop.

On top of the hacks to my theme, there has been a ton of spam comments. Unfortunately, when the theme got hacked it caused some problems with the WP-Members support forum so I’m getting support needs posted in comments because people are having problems with the forum. Since I very much want to help people that need help with the plugin, I’ve been carefully going through the comment moderation process so I don’t accidentally delete a legitimate comment with the spam. I want to come back and get those answered.

During this time, there have been some people that have used the PayPal donation for the plugin and of course, I give priority to their support needs. So if you are still waiting on free support, please understand that I have to give priorty to those folks. Of course, that was one of the purposes of the forum – to develop an area of common support issues so that people would be able to self-serve their needs, but with the hacks to the site, that hasn’t really worked out all that well.

So, to everyone, thanks for your patience! I do intend to work through these issues and get this blog back together. I put too much work into my plugins to just let them die. I just need some time to get this thing put back together.

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print
  • More
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest

Filed Under: WP-Members Tagged With: plugins, WordPress, WP-Members

  • « Previous Page
  • 1
  • …
  • 45
  • 46
  • 47
  • 48
  • 49
  • …
  • 62
  • Next Page »

Join Us!

I will never share your information. No spam. No junk. No kidding. Unsubscribe anytime.

Recent Posts:

  • The High Price of Free Plugins
  • YouTube Success: Key Tips for Enhancing Video Optimization and Visibility
  • Mobile App vs. Mobile Website Ideal Choice for your Business
  • Top Strategies to Boost Your Brand’s Visibility and Impact
  • Advanced Blogging Strategies: Using Analytics, A/B Testing, and Conversion Optimization Techniques to Grow Your Audience
  • Unlock Real-Time Process Insights to Save Time and Money
  • How Writers Can Attract More Audience Attention
  • Dress for Success – Even at Home
  • Mastering the Art of Crafting SMART Marketing Goals
  • Rediscover Your Brand Story: 7 Tips for Refreshing Your Company Identity

Archives

  • About
  • Blog
  • Archive
  • Contact

Site powered by WordPress, running on the Genesis Framework from StudioPress.

Unless otherwise noted, content on this site is © 2006-2026 ButlerBlog and may not be reproduced without express written permission from the author.

Some content may include affiliate links for which this site receives a small commission.