There is a simple fix for this annoying prompt and I will cut to the short of it. FTP to your WordPress installation directory and copy the wp-config.php to your local machine. Open the file in your favorite editor and paste the following code right into the file near the top or bottom it doesn’t matter which.
So I was banging my head against the wall with this error and have upgraded my site manually the last couple times but this time I decided to dig a little into the error and see if I could finally resolve this. I found the normal articles about increasing the PHP memory in various places but like most of us I don’t host my website, 1and1 hosting is my preferred host so there isn’t much I could do about the php.ini file now is there? Well actually with 1and1 they give you control over your .htaccess file and you can create additional
I have been trying to learn how to make my own custom WordPress sidebar widgets because every theme uses their own custom layout and I prefer a specific layout which I can only acomplish by manually editing the WordPress theme sidebar PHP file. In this post I will show you how to make your own custom sidebar widget style entry with my “Recent Updates” widget as an example. First you need to navigate to your themes sidebar.php file which is located in the admin section under Appearance/Editor. Find the sidebar.php file and select it for editing. In the main window
This article will show you a couple methods for showing excerpts from posts on the homepage, for searches and for archives. First I will show you the manual method of editing the WordPress theme code to accomplish this but I urge you to read on as their is a much more simple way of doing this. First up the manual method using the WordPress the_excerpt() function. I will break this down into a few simple steps and show you how to modify what the function returns. The the_excerpt() function will replace the the_content() function which will be located in a
I searched for a while on how to do this and finally think I figured it out but it still needs to be tweaked. First you need to create your custom queries, I have created 2 here which pull from different categories. I searched for a while on how to do this and finally think I figured it out but it still needs to be tweaked. First you need to create your custom queries, I have created 2 here which pull from different categories. Replace With After the loop is finished (somewhere around the endif / or equivalent) Add Then
While trying to figure out how I could show posts from two categories but always keep one category on top I finally gave up. The best I could find was to run multiple custom queries using rewind_posts() but even this was difficult to carry from theme to theme as I changed my mind quite often. What I finally decided on was to exclude specific posts on the home page while keeping my sticky at the top and in the side bar I would query post from a specific category. First I began searching how to use wp_get_archives to show posts
I will explain how to keep a post on the top of your homepage for those of you who want to keep a welcome to my blog style post first on your home page. It’s extremely easy and your going to kick yourself after I tell you how to do it. 1- Download and install WP-Sticky. 2- Log into your WordPress site administration panel. 3- Edit your post or create a new post that you want to be first on your homepage. 4- To the right of your admin panel under “Post Sticky Status” select “Announcement”. 5- That’s it, Enjoy
This post will explain the proceedure to show posts only from specifc or multiple categories on your WordPress home page. Enter the Admin section of your WordPress site then go to the Appearance => Editor =>. From the right select home.php (if it exists) or index.php (if home.php does not exist). You will want to add code directly above “The Loop” I have found several ways to do this but only a few have worked for me. I will list them below. I have found this to be the most reliable way of doing this. I have revised this post