Wordpress

Facebook Twitter

4 Ways to Loop with WordPress. At the heart of the WordPress theme template is the venerable WordPress loop.

4 Ways to Loop with WordPress

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. 10 Useful WordPress Loop Hacks. Advertisement The loop is a very important aspect of WordPress blogs.

10 Useful WordPress Loop Hacks

In fact, the loop is what allows you to get posts from your WordPress database and print them on the screen. A set of useful and user-friendly functions, the loop is incredibly powerful. With it, you can get a single post, a list of posts ordered by date, title or category, a list of posts written by a specific author and much more. In this article, we’ll show you 10 useful things you can do with the WordPress loop to make your blog even more powerful than it is right now.

WordPress. Although WordPress have an effective built-in comment management interface, for several tasks like deleting bulk comments it is way easier and quicker to use SQL.

WordPress

In this article, I’m going to show you some super useful SQL queries to manage your WordPress comments more easily. Despite its open source nature, WordPress sill has its limitations. There’s always 1 or 2 things you wish you could change about a specific theme, but if you’re not an experienced developer, it can be a nightmare to figure out how to make those changes. Today, I’ll showcase a great tool named Ultimatum which can help you creating complex WordPress themes with no coding. Do you want your blog or site to look really cool for the new year? WpRecipes.com : Daily recipes to cook with WordPress. Hacks, Snippets and Articles. 10 Tips To Optimize Your WordPress Theme. Advertisement The beauty of WordPress is in how easy it is to adapt for different tasks.

10 Tips To Optimize Your WordPress Theme

One can extend it with just a couple of lines of code. In this post, we’ll review 10 shortcode snippets that will tweak and optimize your WordPress theme. You can add all of these code snippets to the functions.php file in your WordPress theme. Limit The Excerpt’s Word Count. WiseStamp - Gmail Facebook Twitter...and more! Wordpress Browser detection and OS detection with body_class – 500+ Wordpress code snippets for your blog. Add the first snippet to the functions.php of your wordpress theme then add the second snippet within the body tag of your wordpress header.php template.

Wordpress Browser detection and OS detection with body_class – 500+ Wordpress code snippets for your blog

<body <? Body_class(); ? >>This snippet will add class based on the users operating system “windows, mac, linux” and also the browser including iphone and if Internet explorer the specific version. Getting Started with WordPress Shortcodes (+Examples) WordPress shortcodes were introduced in 2.5, and help you to create macro codes to use within your content.

Getting Started with WordPress Shortcodes (+Examples)

If you think about it, this is a great way to create something like a dynamic ad spot or a call-to-action button in your posts. If we use the call-to-action example, you could add something like this to your blogpost to show the button, and then edit the output in your templates functions.php file, which we’ll get to in a minute. Customize your Wordpress Dashboard. What is WordPress Dashboard?

Customize your Wordpress Dashboard

Wordpress dashboard is the first page that you encounter when you log into your blog administration area. The “default page” allows you to see everything that is happening with your blog, from the main posts, stats, recent comments, wordpress news, and any plugins/widgets or updates you might be interested in. You, as the blog administrator can use Dashboard to do just about anything on your blog. However, sometimes there is so much information on the Dashboard that it can actually get in the way of what you are actually trying to do. Diy Theme Framework. Roles and Capabilities. Roles and Capabilities Languages: English • Español • Français • 日本語 • Português do Brasil • 中文(简体) • (Add your language) Description WordPress uses a concept of Roles, designed to give the site owner the ability to control what users can and cannot do within the site.

Roles and Capabilities

A site owner can manage the user access to such tasks as writing and editing posts, creating Pages, defining links, creating categories, moderating comments, managing plugins, managing themes, and managing other users, by assigning a specific role to each of the users. WordPress has six pre-defined roles: Super Admin, Administrator, Editor, Author, Contributor and Subscriber. Function Reference.

Function Reference Languages: English • Español • Persian • Français • Italiano • 日本語 • ქართული • 한국어 • Português do Brasil • Русский • Türkçe • עברית • 中文(简体) • 中文(繁體) • (Add your language) The files of WordPress define many useful PHP functions.

Function Reference

Some of the functions, known as Template Tags, are defined especially for use in WordPress Themes. There are also some functions related to actions and filters (the Plugin API), which are therefore used primarily for developing Plugins. Function Reference/post class. Function Reference/post class Description WordPress theme authors who want to have finer css control options for their post styling, have the post_class function available.

Function Reference/post class

Gallery Shortcode. Gallery Shortcode Languages: English • Italiano • 日本語 • Português do Brasil • Русский • (Add your language) The Gallery feature allows you to add one or more image galleries to your posts and pages. Since WordPress 2.5 and up until 3.5, the gallery shortcode was commonly used in its most basic form: [gallery] Following 3.5, gallery shortcodes now include the image IDs by default.

WordPress MU Domain Mapping. This plugin allows users of a WordPress MU site or WordPress 3.0 network to map their blog/site to another domain. It requires manual installation as one file must be copied to wp-content/. When upgrading the plugin, remember to update domain_mapping.php and sunrise.php. Full instructions are on the Installation page and are quite easy to follow. How To Set WordPress permalink (rewrite rules) on Nginx.

These rules are already in the .htaccess on apache, but if you want to be cutting edge, and get the best performance out of your WordPress blog, you can redo them in Nginx! Why would you want to do this anyways? Simple. In terms of serving static file requests, Nginx will take up lesser memory, use few resources and is just clearly faster. The permalink rules need to be placed in your nginx site configuration (the vhost file) under your sites name.

How to add Facebook "Like" button to your WordPress Blogs. Now, it is easier than ever to add the Facebook famous “Like”/”Recommend” to your posts and increase your blog popularity. The “Like” button allows users to share their ‘like’ of your WordPress Blog with their friends on Facebook. Every time a user clicks on the “Like” button on your blog, it creates a status update on the user’s Facebook News Feed with a link back to your WordPress Blog. Here is how you do it: 1.

MOBILE

PLUGINS. THEME. CHEAT SHEET. Abilitare la funzione MultiSito in WordPress 3.0. 10 Snippets to Make WordPress User-Friendly (part 1) Just on a side post to our usual jQuery posts I have been using WordPress quite a lot, especially developing it for clients and here are some tips. Out-of-the-box, WordPress is a fairly simple CMS for anyone to learn. But for your non-tech savvy clients it could be a nightmare and a potential disaster to the site you have just built. There are of course many plugins that will achieve the same as these snippets, but with code you get the added control and security, and, in most cases, will not need to be updated. Related posts: 9 Snippets to Make WordPress User-Friendly. WordPress 3.2 Full Page Writing Screen. 10 Plugin Replacing Tutorials for WordPress.