Create Horizontal page Menus in WordPress theme

Many people are new in development of wordpress theme. They are searching for how to Create the Horizontal page Menus in WordPress theme. Here is code for creating the Horizontal page Menus in WordPress theme.

Create Horizontal page Menus in WordPress theme

Here I am going to show the simple technique of creating the horizontal page menu with wordpressapi.

Just create pages in wordpress first. Add following lines to your header.php file where you want to show the page menu.


navmenu">
<ul>

<ul>

<ul>
	<li>php echo get_settings('home'); ?>">HOME</li>
</ul>

</ul>

<!--?<span class="hiddenSpellError" pre="" data-mce-bogus="1"-->php wp_page_menu(); ?>
</ul>
</div>

Add folliowing lines in your style.css file.


#navmenu ul {margin: 0; padding: 0; list-style-type: none; list-style-image: none; }
#navmenu li {display: inline; }
#navmenu ul li a {text-decoration:none;  margin: 4px; padding: 5px 20px 5px 20px; color: blue; background: pink;}
#navmenu ul li a:hover {color: purple; background: yellow; }

Horizontal page Menus in WordPress
Create Horizontal page Menus in WordPress theme

 

That sit!

Customize meta description in wordpress theme

wordpress tutorial for, Customize meta description in wordpress theme. In article we will tell you trick to fetch traffic using Meta tags in wordpres theme.

Customize meta description in wordpress theme

Customize meta description in wordpress theme
Customize meta description in wordpress theme

we can do using the META description tag.  We can actually control what gets displayed in our little spot.
gaining the tremendous opportunity to convert that space into traffic with wordpress websites.

Search Engines, like Google, tend to display search results in a very standard format.  Usually the TITLE of the post or page is the link that actually takes you to the post, and under that link is a description of the site linked to.

Normally we write the Meta tags in wordpress theme as follows:


<meta name="description" content="Your site Description goes here" />

Instead of this use following code in your wordpress theme.


<?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<meta name="description" content="<?php the_excerpt_rss(); ?>" />
<?php endwhile; endif; else : ?>
<meta name="description" content="<?php bloginfo('description'); ?>" />
<?php endif; ?>

With adding this lines of code in your header.php file. you will be done.

Installing WordPress With Clean Subversion Repositories

Many people have used Subversion to install WordPress or have installed WordPress into its own directory. You can combine these techniques to create a “clean” Subversion installation in which the user’s custom files (wp-config.php and wp-content/) are stored outside of the WordPress application directory, so that user files and files under version control never overlap. (Original credit to Sam Bauers for presenting these instructions at WordCampUK.)

Installing WordPress With Clean Subversion Repositories
Installing WordPress With Clean Subversion Repositories

Check out a working copy and install

Create the new location for the core WordPress files to be stored (we will use /wordpress in the examples).

Following the New Install using Subversion instructions, check out (Subversion command co) the stable version of WordPress you have chosen. Do not type the $ characters — they are just indications of the command prompt. Here is the command (assuming the version you want is 2.9.1):

$ svn co http://core.svn.wordpress.org/tags/2.9.1 .

When the download is complete, edit the wp-config.php (see editing wp-config.php) ignoring the Advanced Options and save the file within the root directory (http://example.com/).

Above commands will fun on any linux distribution.

For more information go to following links

Source link

http://wordpress.org/download/svn/

http://wordpress.org/extend/plugins/about/svn/

All time Best WordPress Ebooks

Some years back in start of 2007, When we started working on wordpress that time, we did not so much help or ebooks on wordpress. All time Best WordPress Ebooks. But now we can found pretty much good ebooks and forum help on internet. we found useful ebooks for new blogger and wordpress developer.

List of All time Best WordPress Ebooks

1. WordPress For Dummies, 2nd Edition

All time Best WordPress Ebooks
All time Best WordPress Ebooks

Bloggers love WordPress! If you’re ready to start using this free blogging software, WordPress For Dummies, 2nd Edition is just what you and your blog need to make a splash.

Professional blog designer Lisa Sabin-Wilson shows you how to use all the latest upgrades to WordPress and helps you decide whether to use the WordPress.com hosted service or self-host your blog with WordPress.org. Whether you’re just venturing into the blogosphere or you want to shift an existing blog to WordPress, WordPress For Dummies, 2nd Edition will help.

Explore theme development and learn where to find free WordPress themes Extend WordPress through plug-ins, CSS, custom fields, and more Find out about archiving, interacting with readers through comments, tracking back, and handling spam Get the scoop on domain registration, Web hosting providers, basic tools like FTP, and more Create a unique blog theme and presentation by using template tags with CSS Sign up for WordPress.com, log in, set options, and create a profile Install WordPress.org, set up a MySQL database, explore RSS feeds, and organize a blogroll Discover the secrets of creating a blog that draws readers Get tips on wonderful widgets, upgrades, and plugins you can add to make your blog extra cool Learn how to use the Dashboard, manage comments, and make permalinks work with your Web server With WordPress For Dummies, 2nd Edition on hand, it’s easy to make the most of the free software and build a blog that stands out in a crowd.

2. WordPress: Visual Quickstart Guide

wordpress-visual quick All time Best WordPress Ebooks
wordpress-visual quick All time Best WordPress Ebooks

This book gives readers the tools they need to create beautiful, functional WordPress-powered sites with minimal hassle. Using the WordPress user interface as a baseline, authors Jessica Neuman Beck and Matt Beck walk new users through the installation and setup process while providing valuable tips and tricks for more experienced users. With no other resource but this guide, readers can set up a fully-functional and well-designed WordPress site that takes advantage of all the features WordPress has to offer.

3. Building a WordPress Blog People Want to Read

building a wordpress blog, All time Best WordPress Ebooks
building a wordpress blog, All time Best WordPress Ebooks

Having your own blog isn’t just for the nerdy anymore. Today, it seems everyone—from multinational corporations to a neighbor up the street—has a blog. They all have one, in part, because the folks at WordPress make it easy to get one. but to actually build a good blog—to create a blog people want to read—takes thought, planning, and some effort. From picking a theme and using tags to choosing widgets and building a community, creating your blog really starts after you set it up. In this book by blogger extraordinaire Scott McNulty, you learn how to:

4. WordPress 2

wordpress 2,  All time Best WordPress Ebooks
wordpress 2, All time Best WordPress Ebooks

WordPress is an open-source personal publishing platform that is easy to use, flexible, and highly customizable. Although used primarily for publishing blogs, WordPress can easily be used to create and maintain complete Web sites.

Taking the average blogger further than blogspot can, WordPress allows bloggers to create more complicated sites with their open-source technology, rather than blogger which is limited by HTML changes to their templates.

This easy-to-follow, step-by-step guide shows you how to install, use, and customize WordPress to get the most from the software. Includes tips that explain why certain techniques are better than others, how to watch for potential problems, and where readers can find more information.

5. WordPress theme design

All time Best WordPress Ebooks
All time Best WordPress Ebooks

This book walks through clear, step-by-step instructions to build a custom theme for the WordPress open-source blog engine. The author provides design tips and suggestions and covers setting up your WordPress sandbox, and reviews the best practices from setting up your theme’s template structure, through coding markup, testing, and debugging, to taking it live. The last three chapters cover additional tips, tricks, and various cookbook recipes for adding popular site enhancements to your WordPress theme designs using 3rd-party plugins as well as creating API hooks to add your own custom plugins. Whether you’re working with a pre-existing theme or creating a new one from the ground up, WordPress Theme Design will give you the know-how to effectively understand how themes work within the WordPress blog system enabling you to have full control over your site’s design and branding.  more >>

6. WordPress 100 Success Secrets: Start Your Blog Today: WordPress Complete

WordPress is a free blogging platform available to everyone. WordPress has two components, one is a free, Web-based blog-hosting service called WordPress.com. The other is WordPress.org, which provides users with software to run a more feature-rich version of the blogging tool on their own servers.

Both services offer a very easy way to blog, with administrative options to work collaboratively on one or several blogs using the same log-in. Bloggers can write their posts on a WYSIWYG editor, or switch over to a code view on the fly.

This is a great introduction to WordPress. As simple as WordPress is to administer, you will still need hand holding. Before this there has not been a book on WordPress that got you on your way.

This book assumes no blogging or technical background and does a good job of explaining the basics.

For the non-technical the hosted version of WordPress is a great place to begin. For those needing more there are the install-it-yourself versions. You will find everything you need in regards to hosting companies that offer 1 click installs of the regular version WordPress.

Once you’re set up, you’ll be so educated about WordPress that you’ll not only be blogging on the most democratic platform but also involved with one of the most friendly, intelligent and devoted open source communities in the world. Soon you’ll be customizing your blog to the bliss you’ll be following for the rest of your life.

Not sure where to start blogging? Stuck fiddling around with your blog’s limitations? Interested in improving the world through a remarkable blogging platform? Then do yourself a big favor and invest in this book.

Highly recommended to anybody who needs to run a blog or to budding web designers who would like to extend their toolkit.

10 best wordpress plugins for facebook

Here we collected unique 10 best wordpress plugins for facebook. Facebook and wordpress is best popular and networking tools in internet world. These plugin will help you to integrate facebook in your wordpress website.

Best wordpress plugins for facebook

I recomend following wordpress plugins need to install in your wordpress site.

1. Facebook Fan box

Best wordpress plugins for facebook
Best wordpress plugins for facebook

If you have a page in Facebook about your blog and want to show the Facebook Fan Box with the recent updates and fans, just activate this widget or insert this line of code anywhere in your theme:

Best wordpress plugins for facebook
Best wordpress plugins for facebook

2. Simple Facebook Connect

Simple Facebook Connect is a series of plugins that let you add any sort of Facebook Connect functionality you like to a WordPress blog. This lets you have an integrated site without a lot of coding, and still letting you customize it exactly the way you’d like.

3. Add To Facebook

This plugin adds a footer link to add the current post or page to a Facebook Mini-Feed. While the plugin is activated a link will appear after the content of the post with the text “Share on Facebook” or the Facebook icon or both. Clicking this link will bring the user to the Facebook site. If the user isn’t logged in they will be prompted to do so. Once logged into Facebook the post will be added to the Mini-Feed of the account.

4. Publish To Facebook

Publishes posts, pages or both to your Facebook Mini-Feed directly from WordPress.

5. Facebook Comments

Facebook comments is a WordPress plugin that will import comments from your facebook notes back into your wordpress blog.

6. Facebook Dashboard Widget

If you’re like me, you’ll like to keep up with what your friends are up to but don’t always have time to check Facebook. Or maybe you’re just somewhere where access to the Facebook site is blocked. Work, school, etc.

7. Gaboinked! Facebook Badge Plugin for WordPress

The Gaboinked! Facebook Badge Plugin for WordPress allows you to display a Facebook Badge in the Sider Bar of your on a self-hosted WordPress Blog without having to hard-code your WordPress template or use the sometimes unreliable WordPress Text Widget.

8. Facebook Sharer

This plugin adds a link within each blog post to share blog posts on FaceBook.

9. Facebook Posted Items

This plugin fetches posted items from Facebook and displays them in an unordered list with proper links and comments.

10. Facebook Share Preview

The Facebook Share Preview Plugin adds the required meta-data to an audio post so Facebook can embed your audio directly onto their site.

11. Share On Facebook

This plugin adds a footer link to add the current post or page as a Facebook link. While the plugin is activated a link will appear after the content of each post/page with the text “Share on Facebook”, the Facebook icon, both or the familiar Facebook share button. Clicking the link will bring the user to the Facebook site to add the link to their profile. If the user isn’t logged in they will be prompted to do so.

12 best wordpress plugin for ecommerce

WordPress is becoming most popular in internet due to SEO friendlessness.  Companies need product listing and online e-shop with wordpress sites. Here we have unique 12 best wordpress plugin for ecommerce which will be useful for your sites.

12 best wordpress plugin for ecommerce

You can integrate the shopping cart easily with wordpress sites.

I created the list of free plugins for e-commerce solution. Using following plugins you can create the shopping cart using wordpress.

1. WP e-Commerce

best wordpress plugin for ecommerce
best wordpress plugin for ecommerce

The WP e-Commerce shopping cart plugin for WordPress is an elegant easy to use fully featured shopping cart application suitable for selling your products, services, and or fees online.

2. Exec-PHP
The Exec-PHP plugin executes PHP code in posts, pages and text widgets.

Features:

* Executes PHP code in the excerpt and the content portion of your posts and pages
* Configurable execution of PHP code in text widgets (for WordPress 2.2 or higher)
* Write PHP code in familiar syntax, eg. php … ?>
* Works in your newsfeeds
* Information about which users are allowed to execute PHP with the current security settings (for WordPress 2.1 or higher)
* Configurable user warnings for inappropriate blog and user settings (for WordPress 2.1 or higher)
* Restrict execution of PHP code in posts and pages to certain users by using roles and capabilities
* Update notifications through the ‘Plugins’ menu in WordPress if a new version of the Exec-PHP plugin is available (for WordPress 2.3 or higher)
* Internationalization support (english and german included, many more available)
* Comes with documentation

3. eShop
eShop is an accessible shopping cart plugin for WordPress, packed with various features. Including:

* Utilises WordPress pages, or posts, to create products
* Various methods available for listing products
* Products can have multiple options
* Upload downloadable products
* Basic Statistics
* Download sales data
* Various shipping options
* Admin has access to an Order handling section
* Automatic emails on successful purchase
* User configurable email templates.
* Configurable Out of Stock message.
* Basic Stock Control
* Google Base Data creation
* Uninstall available within the plugin
* Various discount options
* WPMU compatible.
* Merchant gateways:Authorize.net, Paypal, Payson, eProcessingNetwork, Webtopay, iDEAL and Cash/Cheque!
* and much much more

Quick Shop - best wordpress plugin for ecommerce
best wordpress plugin for ecommerce

4. Quick Shop

Quick Shop supports any WordPress that has the Sidebar Widgets installed, really. It adds a SideBar widget that shows the user what they currently have in the cart and allows them to remove the items, not to mention a TinyMCE button to easily allow you to add products to your posts/pages.

Also, you will need to make your own CSS for this. I’ve included enough classes/ids for you.

WordPress Simple Paypal Shopping Cart, best wordpress plugin for ecommerce
best wordpress plugin for ecommerce

5. WordPress Simple Paypal Shopping Cart

WordPress Simple Paypal Shopping Cart allows you to add an ‘Add to Cart’ button on any posts or pages. It also allows you to add/display the shopping cart on any post or page or sidebar easily. The shopping cart shows the user what they currently have in the cart and allows them to remove the items. It can be easily integrated with the NextGen Photo Gallery plugin too.

6. YAK for WordPress

There are significant changes in Version 2.0. Changes to shipping configuration, and shortcodes will require you to revisit both your configuration and the tags you’re using in product posts. Upgrade with care — make sure you backup first.

YAK is an open source shopping cart plugin for WordPress. It associates products with weblog entries, so the post ID also becomes the product code. It supports both pages and posts as products, handles different types of product through categories, and provides customisable purchase options (cheque or deposit, basic credit card form, basic Google Checkout integration, standard PayPal integration, PayPal Payments Pro, and Authorize.net).

7. Zingiri Web Shop

Zingiri Web Shop is a WordPress plugin that turns a great content management system into a fantastic e-commerce solution.

The main feaures are:

* Simple installation
* Easy configuration
* Sell digital and physical products
* Many useful features that simplify your work
* Complete order and customer management module
* Free support and updates
* Support for payment portals like Paypal, Worldpay, Google Checkout and iDEAL and possibility to add your own
* Multilingual support: English, Dutch, French, German, Spanish, …
* Easily migrate your current web shop by uploading your products via an XML file

8. New Shopping Cart Plugin With Themes

ShopperPress professional online shopping cart.

ShopperPress is a fully featured shopping cart plugin for wordpress, suitable for selling any types of products, services, and digital downloads online.

9. WordPress Checkout

Easy to use and customize this is a shopping cart that uses your posts o pages as products. With an editor button you can create products on the fly.

Features:

* Allows to manage products like posts and use a simple post for several products
* You can include options to your products
* Easy to customize
* Simple checkout. No cart needed if you are selling just one item
* Uses Paypal to process the payments

10. Ecwid Shopping Cart

Ecwid is a free full-fledged shopping cart that can easily be added to any blog. It offers the performance and flexibility you need, with none of the hassles you don’t.

There are seven key advantages to Ecwid:

* It’s SaaS
* It’s free
* It takes minutes to add to your site
* It supports drag-and-drop
* It has AJAX everywhere
* Upgrades are seamless
* It requires little to no technical support

11. Welcart e-Commerce

Welcart is an e-commerce system born in Japan. It possesses not only the simple shopping cart but also the functions such as order management or the member management. Abundant attached wedget supports your shop.
Cart system

As for the cart, correspondence is possible for the complicated sale that different condition choice needs every article. In addition, a price at the time of the supplier purchase can differentiate it by using the “duties pack discount” function. In addition, the introduction of “the membership system”, the choice of “the delivery method”, the grant of the “campaign” privilege possess various functions.

12. WP E-Commerce Right Now
Displays the current months sales, transactions and more on the dashboard. Requires WP Shopping Cart plugin by Instinct Entertainment.

create your own wordpress theme online

Now there are many online tools for create wordpress theme. In article, We given resources list which is useful to create your own wordpress theme online. We found some great tool to create wordpress theme yourself and that tools are free.

You can create responsive free wordpress theme online. If you are not developer and you do not know about coding still no worry. Still you can create your own wordpress themes using online resources.

create your own wordpress theme online

http://www.lubith.com/
lubith, create your own wordpress theme online
create your own wordpress theme online

Creating your website theme has never been easier!

Drag, drop, a few clicks and you can have the WordPress theme you want for your website!

http://www.wpthemegenerator.com/
wpthemegenerator create your own wordpress theme online
create your own wordpress theme online
All themes you create with our generator, can be downloaded on both basic html/css and WordPress, and WordPress version will include all features of our Base Framework, additionally you can store the themes you have already created and save them, so they can be edited or downloaded on the future, themes will be saved on..

Some online tool as follows:

http://www.yvoschaap.com/wpthemegen/

Wordpress Theme Generator - Create your own WordPress Theme._1265085481109

Some offline tool as follows:

http://wordpressthemegen.com/

nginx wordpress plugins nginx setup for wordpress

Nginx is becoming very popular to host the websites. WordPress is best and popular CMS in the world now. Nginx gives really great performance with wordpress sites. Earlier I given the Nginx configuration with this code. I given code for wordpress and Nginx configuration. For hosting your wordpress website on Nginx server is the best option.

nginx wordpress plugins nginx setup for wordpress

If you have dedicated server then go with nginx server.

wordpress + Nginx + permalink

nginx wordpress plugins nginx setup for wordpress
nginx wordpress plugins nginx setup for wordpress

I found two plugins which are supported to Nginx installtion. But both plugins are not give you nginx rule for setup nginx rule.

http://wordpress.org/extend/plugins/nginx-compatibility/
http://wordpress.org/extend/plugins/nginx-proxy-cache-integrator/

Now I will show you how setup wordpress site on Nginx server.

Just put following code in your nginx.conf file. This code will fix the wordpress permalink issue also.

server {
listen 80;
server_name localhost.localdomain;
# access_log logs/site.access.log;

location / {
root /usr/share/nginx/html;
index index.php;

if (!-e $request_filename) {
rewrite ^.+?(/wp-.*) /$1 last;
rewrite ^.+?(/.*\.php)$ /$1 last;
rewrite ^(.+)$ /index.php?q=$1 last;
break;
}

location = /50x.html {
fastcgi_pass  localhost:9999;
fastcgi_index index.php;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param SCRIPT_FILENAME  /var/www/example.com$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
root /var/www/nginx-default;
}

}

Note: Dont forgot to install fastcgi on your server. Start the fastcgi server on port no 9000(which is default port)

For wordpressMu use following URL

https://purabtech.in/nginx-rule-for-wordpressmu-with-pretty-url/

Issue with query_posts and pagination

If you are using query_posts in your theme for category and you are facing issue with pagination. usage of query_posts, leave the original query on the home page intact, and modify the query from your functions.php file, using pre_get_posts

Solved issue with query_posts and pagination

we solved Issue with query_posts and pagination. If you are using query_posts in your theme and you are facing issue with pagination. for altering any query

Use following code to fix the issue with pagination.

php
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$sticky=get_option(‘sticky_posts’);
$args=array(
‘cat’=>3,
‘caller_get_posts’=>1,
‘post__not_in’ => $sticky,
‘paged’=>$paged,
);
query_posts($args);
?>

or use following code.

php if (have_posts()) : ?>
php query_posts(“cat=3”); ?>
php while (have_posts()) : the_post(); ?>

replace with above with this code.

php if (have_posts()) : ?>
php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(“cat=3&paged=$paged”); ?>
<?php while (have_posts()) : the_post(); ?>

Solved issue with query_posts and pagination
Solved issue with query_posts and pagination

Useful article for query post

http://codex.wordpress.org/Template_Tags/query_posts

Add custom gravatars to your wordPress default gravatar list

By default wordpress has some profile photos. In this tutorial we will show to you to Add custom gravatars to your wordPress default gravatar list.

custom gravatars to your wordPress

Just copy paste following code to functions.php file. This file can be found in your current activated theme folder.

if ( !function_exists('fb_addgravatar') ) {
function fb_addgravatar( $avatar_defaults ) {
$myavatar = get_bloginfo('template_directory').'/images/avatar.gif';
//default avatar
$avatar_defaults[$myavatar] = 'people';

$myavatar2 = get_bloginfo('template_directory').'/images/myavatar.png';
//Avatar for user "admin"
$avatar_defaults[$myavatar2] = 'admin';

return $avatar_defaults;
}

add_filter( 'avatar_defaults', 'fb_addgravatar' );
}
Add custom gravatars to your wordPress default gravatar list
Add custom gravatars to your wordPress default gravatar list

Thanks to WpEngineer for this such great wordpress hack!

I found useful following articles for wordpress plugin developers.

http://codex.wordpress.org/Using_Gravatars

http://codex.wordpress.org/Function_Reference

http://codex.wordpress.org/Function_Reference/add_filter

http://codex.wordpress.org/Plugin_API/Filter_Reference