Archive for the ‘Templating’ Category

Need to Install, Upgrade, Extend, or Fix your WordPress site?

Wednesday, May 14th, 2008

I can help!

I have been using WordPress for many different websites for over 2 years.  I am familiar with the ins and outs, especially of maintaining and upgrading from your current version to the new more secure more stable versions that the WordPress guys put out for download.

I am very good at communicating problems and solutions in an easy to understand, clear way that will reduce the confusion and frustration that you have with your current tech-guy.  I will make sure that you know exactly what is going on with your site, before any major changes are made.

If you are in need of an upgrade, or just want some help with your current WordPress site, please contact me, WordPressHelp@gmail.com.

I will help you come up with a comprehensive upgrade plan, considering all of the factors for making sure the upgrade goes cleanly and smoothly.

Questions I will ask include:

  1. Do you have any scripts running on your site, that rely on the WordPress database or functionality?
  2. Do you have any plugins running on your current WordPress installation?
  3. Do you have access to your server? (FTP, SSH)

I will also work with you on setting up a plan for how to go about upgrading your installation whenever a new version comes out.

If you are interested in help with your WordPress installation, please contact me so we can get your site safe, secure, and up to date: WordPressHelp@gmail.com

Other WordPress stuff I can help you with:

  • Installing WordPress
  • Posting services, you send the content, I’ll post it
  • Using WordPress as your Content Management System
  • Creating a Blog Ticker for another page on your website
  • Creating external functionality based on WordPress for your website
  • WordPress Training
  • WordPress troubleshooting
  • WordPress Plugin troubleshooting
  • WordPress Plugin finding
  • WordPress Plugin building
  • WordPress Plugin fixing
  • WordPress templating, Have a design and need it turned into a WordPress template?
  • General WordPress database issues
  • Hosting WordPress

Typically, if you are in need of new functionality, plugins, templating, or anything that would possibly make the public side of your website not 100% functional at all time for visitors, I will create a subdomain on one of my development servers and make all the changes there.  I will show them to you, and verify that they are working/looking 100% to your liking and specification, and then I will roll the updates to your live site.  I prefer to not work on live systems, until the product is tested and ready to go. This practice will reduce down time of your website and the frustration for you and your sites users.

Please contact me at WordPressHelp@gmail.com with any questions you may have.  Thank you!

Sphere: Related Content

Wordpress Tag Cloud

Wednesday, March 19th, 2008

Look to your left, it should be on my left sidebar.

It is a new feature that is built into wordpress 2.3, kinda cool.

If you want it on your site go here: Wordpress Tag Cloud.

The most annoying part of it is, that fucking lolcats are one of the biggest tags on my site.  It makes me want to go through and retag a whole bunch of posts on my site.  I might do it too.

Sphere: Related Content

Suppressing Wordpress Database errors

Thursday, February 14th, 2008

This might only apply to 2.2.2 but hopefully not.

at the very first line of your very first piece of code in your template do this:

$wpdb->hide_errors();

If you want to, you can do it in your header file with:

global $wpdb;

$wpdb->hide_errors();

Oh god, Im so glad it’s finally over…

Sphere: Related Content

How to customize your WordPress category pages, an easier way

Thursday, September 27th, 2007

If you have the desire to customize your WordPress blog, and have attempted it, you surely know that it is a pain sometimes.

I was trying to cutomize my category pages to show the most recent post for that category, and only posts for that category.

  • Create a file called category.php in your theme’s directory.
    • This will default WordPress to use this page for categories from now on.
  • For showing only the most recent post with this category: Use this code:

<?php
get_header();
//the following gets an array of the categories for this post

$get_cat = get_the_category();

//the following will get the first category for your post and create a WordPress query that uses “The Loop” to show the most

// recent post from that category

$q = ‘cat=’.$get_cat[0]->cat_ID.’&showposts=1′;
$my_query = new WP_Query($q);
//the rest is just like everywhere else that you show posts on your blog

if($my_query->have_posts()){
while ($my_query->have_posts()) : $my_query->the_post();
?>
<h2>
<?php the_title(); ?>
</h2>
<?php
the_content(’Read the rest of this entry »’); ?>
<?php
endwhile;
}else{
?>
<h2 class=”center”>Not Found</h2>
<p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
<?php
}

get_footer();
?>

  • For showing the only post with this category or showing the titles only if there are multiple posts: Use this code:

<?php
get_header();
$get_cat = get_the_category();
$q = ‘cat=’.$get_cat[0]->cat_ID.’&showposts=1′;
$my_query = new WP_Query($q);
if($my_query->have_posts()){
while ($my_query->have_posts()) : $my_query->the_post();
?>
<h2>
<?php the_title(); ?>
</h2>
<?php
//this is all I added to the previous one, it checks to see how many posts there are
if(count($posts) > 1){
the_content(’Read the rest of this entry »’);
}
?>

<?php
endwhile;
}else{
?>
<h2 class=”center”>Not Found</h2>
<p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
<?php
}

get_footer();
?>

Now you can add the other normal wordpress template tags in these, just place them and try it out.

Note: The best Codex page I found for templating is here: The WordPress Loop

Sphere: Related Content

64330 pages viewed, 54 today
22310 visits, 24 today
FireStats icon Powered by FireStats