WordPress: Quick Cache Plugin – Setting up a Custom ‘Empty Cache’ Script

WordpressThis entry is based on a need that I came across using the great WordPress “Quick Cache” plug in. While I found the plug in to be perfect for my needs (and much more compatible than “W3 Total Cache” or “WP Super Cache“) I was running into daily ISP requests from my service provider that the “cache” folder was filling up rapidly with 1000’s of files causing what they call “Maxdir size limit alert

The official memo was:

wp-content/cache/ are exceeding the maxdir size limit. This directory is filling up with thousands of files rapidly, causing issues for the server.

To be honest I didn’t see a working section in the “Quick Cache” plugin to deal with this issue
(which is to empty the cache folder daily or more)

So I came up with a solution: Continue reading WordPress: Quick Cache Plugin – Setting up a Custom ‘Empty Cache’ Script

PHP Script to Delete Files on Server (from a folder)

PHP SCRIPT TO DELETE FILES ON SERVER?
(OR how to set up a script that ONLY deletes the contents of a folder and NOT the folder itself)

Objective: You need to create a PHP script and place it in your ROOT directory

Disclaimer: Read directions and MAKE SURE your path is correct or you could end up deleting stuff you didn’t want to
(in other words run a test after you’ve backed up your site)

———————————-
You need to create a PHP script and place it in your ROOT directory

1- to do this, create a text document and paste in the following code: Continue reading PHP Script to Delete Files on Server (from a folder)

WordPress: How to Add Descriptions to your TAGS (on your Tag Pages)

Wordpress– WordPress – getting TAG descriptions to show up at the top of the page
– TAG descriptions in WordPress – Adding to your TAG pages
– HTML descriptions on TAG pages

Did you know that you can have your TAG descriptions visible on your WordPress pages? So you want TAG “descriptions” to show at the top of the page as well? Maybe you want to delete that ugly default that says

Example:  “Tag Archives: Custom Font”

Why would you need this? Maybe you don’t want to have a category for everything in your blog. Maybe you have a special need to tag a few articles that have common categories but a specific tag (and you want that TAG to have a description showing that helps in SEO!!!) For instance, your articles might be categorized under “News”, but you want your tag page for tag “2012” to have “it’s own header description. Continue reading WordPress: How to Add Descriptions to your TAGS (on your Tag Pages)

Facebook Posts are Posting Twice (or more) Issue?

This was a recent issue I dealt with that one hand might seem obvious, but actually took a big of digging to trouble shoot.

If you have set up your blog or RSS feed to funnel into Facebook, you may have run into this once or twice. What we’re talking about is your RSS feed posts showing up in Facebook more than once upon posting. The reason might vary for how you setup your accounts but I thought it best to offer a few suggestions for you to troubleshoot.

Hopefully one of these will lead you in the right direction:

1- Check your WordPress plugins, make sure there isn’t one that might be doubling up or sending out a post from your feed into Facebook. If one looks suspicious, you might try deactivating it until you can test this against your accounts.

2- Are you using Facebook’s “RSS Graffiti” plugin? Check the settings to make sure you didn’t set up 2 channels by accident that post back to your Facebook page

3- Lastly but not least (and for the record the one I eventually tracked the issue down to)
Are you using http://twitterfeed.com/ to autopost your RSS feeds into Facebook?

Make sure you login and check your settings. http://twitterfeed.com/ allows you to autopost your RSS feed back into Facebook thru Twitterfeed. It’s a great solution, however it’s quite possible that 1 of 2 things occurred.
1- you accidentally created the service twice (of which it will hit Facebook 2X on every post)
2- you created 2 accounts (forgetting about the original you set up) which are also hitting Facebook 2x Continue reading Facebook Posts are Posting Twice (or more) Issue?

Feeding your Twitter RSS Feed into Another Twitter account

First off you’re probably wondering why this is necessary? Why would you want to re-post your Twitter RSS to another Twitter account?

Simple.

Example:
Say you have a music act that posts regular feeds from its Twitter account, and YOU want to repost them out of your own personal account. Theoretically this would give you 2 points of promotion, 1 thru the main Twitter account and 1 thru your own personal Twitter account.

Well this idea can be used for businesses in the same way with all sort of combinations.

Example 2:

Your personal account feeds in “common interest feeds” AND you’d like your business Tweets to come thru directly as well (thru your personal account that is)

OK so with that out of the way you have to solve a couple issues: Continue reading Feeding your Twitter RSS Feed into Another Twitter account

WordPress: How to get Rid of theme_credit()

Wordpress
How to get rid of footer credit (or theme credit  theme_credit()?) at the bottom of a WordPress blog?
How to delete WordPress Blog credit at bottom?

Usally it is found in the “footer.php” file, but when deleted it can cause your blog theme to mess up.
A simple solution is just “comment” it out. This should keep it from showing without deleting the theme code. Notice the <!– character added twice

(Example)
Before

  &copy;
                <?php echo date(“Y”);?> – <?php bloginfo(‘name’); ?> is proudly powered by <a href=”http://wordpress.org/”>WordPress</a><br/>

  <?php /*Please leave 1 credit line to the theme designer. Thanks.*/ theme_credit();?> Continue reading WordPress: How to get Rid of theme_credit()