Quantcast
Channel: It's Called Web Design » PHP
Browsing all 10 articles
Browse latest View live

Better image navigation

if you are using the wordpress image.php to show your photos, you know that the next and previous photo option sucks.  I’m sure they’ll fix it in a soon-to-be-released update, but for now, use this:...

View Article



Text Navs

This is how you put text-based navigation in your header, or anywhere else for that matter. This is going to be set up using a <div> labeled “nav”.  You can change it, but make sure you change it...

View Article

WordPress Page Templates

You can make your own page templates for WP by making a new PHP file on the server. Name it accordingly, for this example, I will call it specialpage.php. Within that file place the following code at...

View Article

Get Recent Posts

Stick this in your sidebar… …that’s what she said. Get Recent Posts (5) <h2>Recent Posts</h2> <ul> <?php wp_get_archives('type=postbypost&limit=5'); ?> </ul>

View Article

WordPress Lightbox Fix

I recently installed the Lightbox WordPress plugin and started having an “operation abort” error message on both IE6 and 7 that would crash the browser. I found the the crash was being caused from the...

View Article


Don’t use Meta Redirect!

Okay, sometimes you need to move (redirect) an HTML page. It happens to everyone! But really want to never ever never Meta Redirects. In fact, the W3C has pronounced it in their top ten mistakes of new...

View Article

Publish the date automatically w/ PHP

Want to have the current date on your site? Insert the following lines of code into your site: <?php $my_t=getdate(date("U")); print("$my_t[weekday], $my_t[month] $my_t[mday], $my_t[year]"); ?>...

View Article

Image may be NSFW.
Clik here to view.

WP Theme Disciple “About Blog” fix

Here is a really great theme from regis that you can download from the new WP Theme repository. I really liked the simple clean design, but I was upset to find that the author hard-coded an “About my...

View Article


Create PHP web submission forms in minutes

Easily create a slick PHP submit form in minutes with absolutly no coding experience needed. Simply go here: http://phpformgen.sourceforge.net/new_demo/phpformgen/ and use the generator.  It’s free and...

View Article


Random Image

Do you want to have a group of random images pop-up on the page using PHP? Before we go any further, this does not allow each image to link to a different location. Copy this code into your header and...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images