• Home
  • Services
  • Portfolio
  • Testimonals
  • Blog
  • Contact
  • Subscribe to our Blog

    Enter your email address:

    Delivered by FeedBurner

  • Skype Online Status

    Call me! - Dwayne Myers: My status is error
    Call me! - Dwayne Myers: error
    Chat with me - Dwayne Myers: error
    Add me to Skype - Dwayne Myers: error
    View my profile - Dwayne Myers: error
    Send me a file - Dwayne Myers: error
  • Web Design Resources

    • Common Website Problems
    • Customer Testimonials
    • Free Wordpress Themes
    • General
    • SEO Resources
    • Website Tutorials
    • Wordpress Tutorials
  • Contact Form

    Submit your inquiry for a quick response.

    Your Name (required)

    Your Email (required)

    Message

    Sending ...

Wordpress Tutorials Changing The Site URL in WordPress

By Dwayne on Monday, January 4th, 2010

Changing The Site URL

The code will work in the wp-config.php file if you happen to get locked out of the admin.
Happens a few times here and there. Just put this is at the starting code of thw wp-config file in
your wordpress home directory.

define(‘WP_HOME’,'http://example.com’ http://example.com%27);
define(‘WP_SITEURL’,'http://example.com’ http://example.com%27);

–
Dwayne Myers
Web Designer/Developer
386-307-4289
DreamDrivenDesigns.com


Share/Save

No Comments


Wordpress Tutorials WordPress Category Heirarchy Structure

By Dwayne on Wednesday, December 9th, 2009

In the case of categories, the hierarchy is fairly simple. For instance,
suppose the slug of the Category in question is default and the Category
ID is 6. The Template Hierarchy specifies that WordPress will use the
first Template file it finds in your current Theme’s directory from the
following list:

1. category-slug.php (Note: available with Version 2.9)
2. category-ID.php
3. category.php
4. archive.php
5. index.php

That is, if you do not have a category-slug.php (lets say
category-news.php), WordPress will check for a category-ID.php (like
category-6.php), and so on.

So, if you want to make the Category whose ID number is 6 look different
from what it is currently (and different from other Category pages), you
would want to create a category-6.php file. If you want to make all
Category pages look different from other archive pages (such as date and
author archives), then you would want to create or modify the
category.php file. If you want to make changes to the look of all
archive pages, you can create or modify the archive.php file. And if you
modify the index.php file, you will affect your entire blog.

If you need to create a new file, it is a good idea to copy it from the
next file in the hierarchy that exists. For instance, if you want a
special display for Category 6, begin by copying the category.php file,
or if you don’t have one, use archive.php, and so on.

–
Dwayne Myers
(386)307-4289
Http://www.DreamDrivenDesigns.com

Share/Save

No Comments


  • Home
  • Blog
  • Portfolio
  • Services
  • Service Areas
Copyright © 2011 DreamDrivenDesigns.com | TheProfessionalWebDesignCompany.com | Other Resources