Page Details:
4 Ways to Loop with WordPress | Digging into WordPress
http://digwp.com/2011/05/loops/At the heart of the WordPress theme template is the venerable WordPress loop. When you’re looking at your index.php file, for example, the loop is the part that typically begins with if(have_posts()) and contains all the tags and markup used to generate the page. The default loop works perfectly well for most single-loop themes, but for more advanced designs with stuff like multiple and custom loops, more looping power is needed. Fortunately, WordPress provides plenty of flexibility with four ways to loop: Default Loop Loop with query_posts() Loop with WP_Query() Loop with get_posts()
Tags: wordpress, loop, php, tutorials, development, tutorial, loops, reference, tips, get_posts Saved by: admin
How to Secure Your New WordPress Installation | Digging into WordPress
One of the best ways to ensure strong security for your WordPress-powered site is to secure its foundations during the installation process. Of course these techniques can be implemented at any point during the life of your site, but stetting them before the game starts prevents headaches and saves time. We’ll start with the WordPress database..
http://digwp.com/2009/11/how-to-secure-your-new-wordpress-installation/
Tags: wordpress, security, tips, database, tutorials, howto, tutorial, webdesign, setup, install Saved by: admin
One of the best ways to ensure strong security for your WordPress-powered site is to secure its foundations during the installation process. Of course these techniques can be implemented at any point during the life of your site, but stetting them before the game starts prevents headaches and saves time. We’ll start with the WordPress database..
http://digwp.com/2009/11/how-to-secure-your-new-wordpress-installation/
Tags: wordpress, security, tips, database, tutorials, howto, tutorial, webdesign, setup, install Saved by: admin
Redirect Mobile Users to a Mobile WordPress Theme | Digging into WordPress
Let’s say you want to have a special theme for your WordPress site for mobile users. You don’t want to use a pre-canned solution or anything third-party, you just want to create and design the theme yourself. So what you need to happen is for the site to detect mobile users and server up an alternate theme instead. Here is how I might do it.
http://digwp.com/2009/12/redirect-mobile-users-to-mobile-theme/
Tags: mobile, wordpress, theme, plugins, redirect, webdesign, toread, custom, switch, detect Saved by: admin
Let’s say you want to have a special theme for your WordPress site for mobile users. You don’t want to use a pre-canned solution or anything third-party, you just want to create and design the theme yourself. So what you need to happen is for the site to detect mobile users and server up an alternate theme instead. Here is how I might do it.
http://digwp.com/2009/12/redirect-mobile-users-to-mobile-theme/
Tags: mobile, wordpress, theme, plugins, redirect, webdesign, toread, custom, switch, detect Saved by: admin
WordPress functions.php Template with 15 Essential Custom Functions | Digging into WordPress
When designing WordPress themes, I always add a common set of custom functions to the theme’s functions.php file. This speeds up development time because I don’t have to hunt for and individually copy the same slew of functions for every theme. I just drop in a copy of my functions.php template and build up from there. This takes care of all those little things that always need to be done: * Include jQuery * Enable threaded comments * Add feed links to the header * Disable unused widget areas * Adding Google Analytics to the footer * Stop the “Read More” link from jumping to the middle of the next page ;)
http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/
Tags: wordpress, functions, development, code, hacks, php, jquery, tutorial, resources, functions.php Saved by: admin
When designing WordPress themes, I always add a common set of custom functions to the theme’s functions.php file. This speeds up development time because I don’t have to hunt for and individually copy the same slew of functions for every theme. I just drop in a copy of my functions.php template and build up from there. This takes care of all those little things that always need to be done: * Include jQuery * Enable threaded comments * Add feed links to the header * Disable unused widget areas * Adding Google Analytics to the footer * Stop the “Read More” link from jumping to the middle of the next page ;)
http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/
Tags: wordpress, functions, development, code, hacks, php, jquery, tutorial, resources, functions.php Saved by: admin
Remove/Replace Content from the WordPress Database | Digging into WordPress
A useful tool to have in in your WordPress toolbelt is the ability to quickly and easily search for, find, and replace specific strings of text directly from the MySQL database. We can do this by entering SQL queries either directly or through one of those handy interface applications like phpMyAdmin, which seems like one of the most prevalent PHP applications on servers today.
http://digwp.com/2010/03/remove-replace-content-wordpress-database/
Tags: wordpress, mysql, sql, tutorials, database, databse, db, mustread, now, read Saved by: admin
A useful tool to have in in your WordPress toolbelt is the ability to quickly and easily search for, find, and replace specific strings of text directly from the MySQL database. We can do this by entering SQL queries either directly or through one of those handy interface applications like phpMyAdmin, which seems like one of the most prevalent PHP applications on servers today.
http://digwp.com/2010/03/remove-replace-content-wordpress-database/
Tags: wordpress, mysql, sql, tutorials, database, databse, db, mustread, now, read Saved by: admin
Putting FTP Info in wp-config.php to Ease Updates | Digging into WordPress
Because of the ownership that Plesk assigns to your website files and directories, Apache does not have permission to write to your web directories by default. This can cause permission errors in some applications – for example, a PHP upload script.
http://digwp.com/2010/11/ftp-in-wpconfig/
Tags: wordpress, ftp, upgrade, cms, plugin, configuration, design, tech, autoupdate, settings Saved by: admin
Because of the ownership that Plesk assigns to your website files and directories, Apache does not have permission to write to your web directories by default. This can cause permission errors in some applications – for example, a PHP upload script.
http://digwp.com/2010/11/ftp-in-wpconfig/
Tags: wordpress, ftp, upgrade, cms, plugin, configuration, design, tech, autoupdate, settings Saved by: admin