How to Create Your Own Membership Site by Using WordPress

If you really want to earn money on-line than the easiest way is create your own Blog and start earning but at sometime point blogging can not give you enough money. So If you are interested to convert your blog into interactive website than develop a “Membership site” by using WordPress themes or plug-ins.
Having a membership website specially using WordPress, give you financial benefits along with repotition in the blogging market, instead of selling one time product, its better engage your site members for long run that give you recurring income stream.

On the following link you will find detail about how to create and why you should have a membership site for making money online.

How to Create a Membership site with WordPress

Hope by creating such kind of website, you can expand your aims and objective to attract more users by giving them exclusive membership option, can start paid forum, as well you can sell your design to paid subscribers.

WordPress Premium Content

Jigowatt’s WordPress Premium Content plugin allows you to easily set up a web site with content which is only accessible to users registered with an active PayPal subscription. You can easily manage your subscribers, change subscription prices and set up custom membership renewal options (annual, bi-annual or just month by month).

Live Preview | Detail

Restrict Content Pro – Premium Content Plugin

Restrict Content Pro is a complete subscription and premium content manager plugin for WordPress. Create an unlimited number of subscription levels, including free, trial and premium. Manage member’s and their subscriptions, track payments, offer discounts with a complete discount code system, and provide premium, members only content to your subscribers.

Live preview | Detail

WP-Membership Plugin

This is a WordPress plugin that helps you sell your content; you only need to install the plugin, create a category for your private content, setup the prices of your memberships and your Paypal account. Don’t hesitate and purchase it today

You can easily select the posts you want to sell, manage the memberships you acquire and is fully integrated with Paypal. All you have to do is activate the plugin, setup your memberships and your Paypal account.

Live preview | Detail

How to do Penetration Test for your WordPress Powered Website Part 1

Before sharing this information and knowledge, I would like to remind very important disclaimer.  I will not be responsible for any of your action and disclaim all the liabilities in respect to this bit of writing  which is just for learning  purposes.

How to Create a WordPres Powered website on Local Machine

For learning purpose we will work only on Virtual machines, so first get the Virtual plat form as I have got VMware Workstation, you can select Virtual Box from Oracle as well. Download one of them and install on your machine.

How to do Penetration Test for your WordPress Powered Website Part 2

We are creating a two virtual machine, one will act as a Server for hosting all the required file and will act as a Victim machine, while the other one will be backtrack. Both are Linux base, don’t worry if you don’t know how to use Linux, for this tutorial i will cover all the basic things which required to do penetration test.

Meanwhile you can attack on any website site which is using WordPress as CMS: Like other Content management systems on the web, WordPress is keep updating files to make it more secure. Security should always be a major concern when using the WordPress as CSM.

After installing the VMware Workstation or VirtualBox, get the CentOS and Backtrack, other than CentOS you can use other Lunix flavours like Ubuntu. After installing the OS on your Virtual box now ready for to install the back end for WordPress powered site.

To set up a WordPress powered website we need Appche server, MySQL, PHP, to install the MySQL on Server machine have done the following command on Terminal:

Go to Application > Accessories and click on Terminal, it will open the terminal box:

Under terminal type the following command to install the mysql on the server.

# yum install mysql mysql-server

After installation start the server as:

# service mysqld start

phpmyadmin is the best way to mange the mysql database, so installed it on local server and created database and data users, and  install it by running this command:

#  yum install phpmyadmin

Now install the apache server by running this command in terminal:

# yum install httpd

After installation run the service:

 # service httpd start

Open the browser and open the link http://localhost/phpmyadmin and create the database, it will ask you to provide root user name and password:

Enter the password when prompted and created the database through phpmyadmin.

Database created now got the WordPress as follow:

Create a new folder and Download the WordPress software in a folder /var/www/html/wordpress/ and unzip it.

# mkdir /var/www/html/wordpress

go to the creatd folder by this command:

# cd /var/www/html/wordpress/

and run the following command to download the WorPress here and unzip it:

# wget http://wordpress.org/latest.tar.gz
# tar -xzvf latest.tar.gz

In a web browser open the localhost to install the WordPress on created folder:

Prompted and requested to provide the database name and password, user admin’s name and password for admin:

This process should created the wp-config file contain all the database information but it gave an error thst unable to create the wp-config.php file so run following command to change the folder ownership:

# chown apache:apache /var/www/html/wordpress –R

or manually copy and past the code and create the wp-config.php file.

 

As well it offers to manually create the wp-config file so created the one and it created the installed CMS login to the admin panel. We have installed WordPress in beds folder and in a browser enter the IP address or with localhost as follow localhost/beds/wp-admin to enter into main admin area and site is running on a local server.

How to do Penetration Test for your WordPress Powered Website Part 2

Useful links:
How-to-find-remove-and-protect-wordpress-site-from-malware
How-to/how-to-protect-wordpress-powered-site-from-brut-force-attack
wordpress-3-3-1-multiple-csrf-vulnerabilities

After installing WordPress on Server machine our Victim box is ready for attack and doing a penetration test for WordPress powered site Part 2 Follow us on Twitter and Facebook fan’s page.

10 Best Online Drawing Tools

10-Best-Online-Drawing-Tools

Online drawing for webpages apparently is a great utility and opportunity   in website designing and development. Webpage design is a high tech art which is coexistent with today’s modern web design trends. Drawing tools like Photoshop or CorelDraw only create art where it suffices for the ordinary designer. In this article we discuss 10 online drawing tools which prove highly versatile.

FlockDraw

Flockdraw is a special online drawing tool. It is an engaging tool for multiuser utility. Many other features add to the quality of designs – unique interface, live texting chat, non essential registration and free tool. Here the design’s and drawing’s follow the good quality of features for the online user.

NetSketchApp

The netsketch app for online drawing tool /application is separate for iPhone and IPod Touch. The drawing can be relayed to friends in real time. The home screen of the application gives a drawing which is visible on your network. Export your work to photo library and/or uploading as a gallery are other features.

MyOats

Within the tool many features and other add-ons are included. From the following, the image could be a transparent png, saved to account, or made into wallpaper. It is an absolutely free application which is available on net. Thus the online drawing application can opt for drawings to become rated, downloaded and archived. The most popular of these get rewarded by being listed on the homepage.

Viscosity

Viscosity as a graphic tool is effective for designing and creating drawings, abstract art and canvas. It is a modern art application which is popular and benefits the new designer and artist. These designs can be easily created from the online software tool and hosted on the site gallery.

Queeky

A simple yet complex tool that can handle comprehensive designs and drawing options. The tool provides sharing and saving the diagrams and designs on the site itself. Collaborating with artists and creating groups of multi users is possible. It has been developed by Philipp Hennermann (2006-2011).

Penolo

The software application provides a tool for basic designs and drawings where the user can create basic designs and drawings. Most of the drawings can be shared, pasted or added to twitter accounts.

Cacoo

This tool is used for creating designs and drawings quickly and easily. This quick and flexible design tool can alter, modify and insert designs into documents. This is a free tool which is convenient and handy in various design functions. It is easily blended with designs applied with alignments, freehand techniques and use of stencils.

Odosketch

Suggestive of canvas based drawings this tool is ready with various kinds of brushes and provides a brilliant touch to an online drawing. Numerous sketches for the online user can be created.

Twiddla

It is a simple tool for creating and developing art drawings, images. A free tool with voice chat and also attend meetings, drawing are all possible with the software. The tool helps in identifying, modifying and drawing on top of websites. This is a special feature which makes the tool even more appealing.

Scribbler Too

The tool for enabling sketches, also creates the web like drawings which are comparatively having more options from colors, other tools etc. One can easily modify art, create superb and excellent drawings from the tool.

Conclusion:

Web design trends have changed a great deal within past few years. Few of the web design tools are easy and others are complex with many add-ons. We have discussed 10 tools for online drawing in this article. Readers are invited to submit their comments and views.

Author Bio:

Amit Pankaj associated with a specialized division of Ipraxa – a full service web agency, offering services like PSD to HTML and PSD to WORDPRESS  Integration with other third party application like PSD to Magento, WordPress, Drupal, Joomla etc. You can follow us on G+ for latest updates related to web design and development.

Other Resources:
7 of the best online collaborative drawing tools
10 Best Free Online Virtual Room Programs and Tools
7 Collaborative Online Diagramming Tools to Draw any Diagram
Top 10 Online Drawing Sites
Top 15 Online Tools For Drawing And Sketching
10 Best HTML5 Sketching and Drawing Tools for Designers

How to Develop a Car Rental and Sale System on WordPress

During you study or for your client you may need to develop a car rental system, for student this system provide a lots of learning for database   and programming. To develop a web-based car Rental system for Students and client hopefully can help them to rent cars in an effective and safer way. The system involves car registration for the car owners and car renters. It also displays the list of information on the rental cars and the records of rentals for each car available to help the students  and clients choose the car from a safe and trusted source.

There are different ways to develop a car rental system like joomla, Magento but WordPress is the easiest way to have a Car rental systems.  There are few plugins to enhance the WordPress functionality. But today we are mentioning two WordPress Themes for Car rental System on web as follow:

Openhouse Real Estate & Automotiv car dealership

Automotiv is brought to you because of significant demand for converting Openhouse into a Car Dealer theme. Many of you spent weeks converting Openhouse into a Car Dealership theme. Now the work is already done for you with Automotiv. (you’re welcome)

Automotiv is a very powerful and flexible Car Dealership theme. It includes an Inventory Search, where you can search by Maufacturer, Model, engine size, transmission type, min/max price, body type, mileage, or model year. This car dealer theme also includes a Loan calculator which can be shown or hidden in Theme Options. The color scheme choice is unlimited. Simply supply a color, and the whole site changes, including all gradients and effects.

Other than Automobile Listing posts, this car dealer theme supports any other type of posts. You can have both a regular Blog, AND a news Blog. Each one can have unlimited subcategories.

Your blog and page content can visually be taken to the next level using our custom Shortcode tags. For example, easily add multi-column text, toggle boxes, drop caps, button links, and more quickly and easily.

Live preview | Detail

Autotrader – Car Classified Theme

With frontend ad submitting system, sellers can submit their ads easily
Ajax powered advanced search provides buyers to find autos easily
Paypal payment integration for featured ads
Wordpress custom post types and custom taxonomies are used

Theme Features:

Frontend Submit Ads
Paypal Payment Integrated
Advanced Auto Search
Edit Ads Template
Advanced Auto Search
Frontend Ad Dashboard
Sidebar Search
Listing Ads
Add to Watchlist Feature
Dealers Pages
Contact to Seller Form
8 Page Templates.
3 Custom Smart Widgets.
Unlimited Color Options
Custom Post Type & Taxonomies
Fully AJAX Powered
Tableless Design
Localization Ready (.po/.mo files included)
Well Documented
and much more..

Live Preview | Detail 

Tucana – Cars Dealer Template

Tucana is Cars Dealer is a full featured templates. Theme developed for car dealers who is looking for something a little bit different. Comes with two options of Home Page and easy to display your car business centre. Tucana cars dealer is a clean and elegant design focused to inspire everyone that come to it. Of course you can easily use this template for any other markets.

Live preview | Detail 

Cars Dealer WP3 Edition

Cars Dealer is a full featured WordPress 3 theme developed for car dealers looking for something a little bit different. Cars dealer is not a “corporate” website, it’s just a clean and elegant design focused to inspire everyone that come to it.

Live preview | Detail 

RT-Theme 15 Premium WordPress Theme

RT-Theme 15 is a premium wordpress theme with powerfull CMS tools. You can use it for business, corporate, product catalogue, services or portfolio web sites. The product and portfolio tools also give you wide opportunities to use in various services as tour iteneraries, rent a car, real estate or hotel room presentations.

Live preview | Detail

1600cc – Premium Automotive WordPress Theme

1600cc is a visually rich premium theme, designed and optimised for use on WordPress powered Automotive and Travel websites, with a generic theme option included. And what’s more, it’s free.

Live preview | Detail

RT-Theme 13 Multi-Purpose Premium WordPress Theme

RT-Theme 13 is a multi-purpose wordpress theme with powerfull CMS tools. You can use it for business, corporate, product catalogue, services or portfolio web sites. The product and portfolio tools also give you wide opportunities to use in various services as tour iteneraries, rent a car, real estate or hotel room presentations. You can easily re-brand your theme by using the amazing background tools and 5 premium skin options.

Live preview  | Detail 

Car Rental Theme for WordPress

CarRentalTheme is for WordPress only. In order to get FREE access to Theme download link, click the download button, fill in a simple form and get your download link via email.

Live Preview | Detail 

WordPress Plugins For Car Rental and Trading Systems

Auto Trading Made Easy

Auto trading made easy is a system using which you can have your own auto trading website in minutes. Visitors can easily select one or more search criterias such as brand name, model, price range, body type, fuel type, transmission, keyword or a city. The results are shown in text as well as on Google map. As a site admin, you can easily add/delete brands, models, price range, features, body and fuel types and they will be updated in the search and add/edit listing form. You can also easily update your website theme and colors through admin options. The system has fully functional contact form for each listing and is also protected by recaptcha against spam. Please note that the listings on the demo site are not manually posted hence body type etc are assigned randomly and are not correct.

Live preview | Detail 

Booking Calendar

This WordPress plugin will enable online booking services for your site. Visitors to your site will be able to check availability of apartments, houses, hotel rooms, or services you offer. They can also make reservations and appointments with the ability to choose from multi-day, single day, or by the hour booking. Your clients can even view and register for upcoming events. With integrated payment support of popular payment systems your clients can pay online.

Detail

If you still need any help regarding setting up your own Car rental or trading system on WordPress you can contact us at info at wparenadotcom or Comment on wparena’s facebook page.

How to Integrate WordPress blog into e-Commerce Magento Website

Working with open source platforms, provide you the limitless opportunities to extend the your Web application project. If you are interested in using WordPress for the community elements and Magento for eCommerce.  No doubt that WordPress is one of the best and easiest platform to robust your blog in the blogging industry and it is the best tool to work with your eCommerce website powered by Magento and definatly very helpful in SEO of your on-line store.

Web developers know that Magento is the best web software to build an eCommerce websites and WordPress is the best blogging software, There are many ways to integrate your WordPress Blog into Magento web store,  either you can use Magento extensions to integrate WordPress blog which can be dysfunctional if one of them you upgrade to the latest version or a hybrid solution in which you can add some code into your Magento page, so WordPress post can match with Magento page. In case you only want to use WordPress for your eCommerce website , there are lots of reasons: read “Why choose WordPress as an E-Commerce platform“. There are excellent eCommerce themes and WordPress Plugins for shopping cart  and Best WordPress Ecommerce Themes & Shopping Cart plugin.

How to Customize WordPress theme according to Magento Desing


If you already have website on Magento and want to convert your same design into WordPress powered website or in case you to to match your WordPress blog with Magento theme for blog integrations. in the above scenarios you have to modify mostly following WordPress files: header.php, footer.php, style sheet file (style.css) or may be sidebar.php to match with Magento design. Magento themes are little complicated because developers have to change xml filea and phtml files as well. But WordPress themes are easily customizable. For header file all you have to consider <HTML>, <head>, <body>, add site’s logo and navigation links into header file. Keep in mind all the opening and closing div tags, specially the the main div must be close in footer.php or index.php file according to WordPress theme . Your footer.php file must have closing </body> tag and </html> tag.

The most important part for styles.css CSS stylesheet, you’ll want to include whatever styles you need to make your blog look like your Magento shop. This is the best practice not to duplicate all of the styles in your Magento stylesheet in your blog’s stylesheet. The best way is to import Magento theme’s stylesheets url into your WordPress theme’s stylesheetstyles.css.

/* imports Magento theme's styles */
@import url(/[path-to-magento]/skin/frontend/[your-theme]/default/css/menu.css);
@import url(/[path-to-magento]/skin/frontend/[your-theme]/default/css/boxes.css);
@import url(/[path-to-magento]/skin/frontend/[your-theme]/default/css/reset.css);
@import url(/[path-to-magento]/skin/frontend/[your-theme]/default/css/clears.css);

Source: Easy WordPress and Magento Integration

How to display WordPress Blog content on a Magento page


Running both WordPress blog and Magento eCommerce to gather provide you lots of edges according to SEO point of view and integration of creativity and productive to gather. There are lots of way to achieve this task. One way to Create a RSS feeds for Blog content  and display this feed into your magento page. There is an excellent explanation “Add Feeds to Your Site With MagpieRSS” , On the other,  there is a very simple and easy way to display blog content on  online store’s page by using PHP code as fellow:

One of my fellow have given the solution about creating a custom page in WordPress but I haven’t created any custom page and achieved the required result by using following steps from Easy WordPress and Magento Integration.

So here’s how you create a new block template:

  1. Navigate to /[path-to-mageneto]/app/design/frontend/[your-theme]/default/template/
  2. Create a new directory within the template directory called blog
  3. Within your new directory blog, create a file called blog.phtml
  4. In your blog.phtml file, place the following code:
<?php $source = file_get_contents("http://www.your-website.com/blog/share"); print $source; ?>

Place the block based on your new template on the Magento CMS page you want the blog content to display on

{{block type="core/template" template="blog/blog.phtml"}}

WordPress and Magento Integration Extension


Single Sign-On For Magento And WordPress

You are creating a website, or own a website, that is built using a mixture of Magento and WordPress. It may be that WordPress is used to manage pages and a blog, while Magento is used purely for it’s e-commerce functionality. Or perhaps all your pages and e-commerce functionality are managed through Magento, and WordPress is simply there as a blog platform.
Detail

Lazzymonks WordPress Integration 2.61

WordPress and Magento must be installed in the same database. failure to do so may cause unexplained things to happen.

Detail

WordPress deluxe for a fully integrated solution for magento

Combining Magento and WordPress provides a big thumbs up for SEO, ease of use and performance.

SO WHY USE THE WORDPRESS MAGENTO EXTENSION?
Includes breadcrumbs
Supports SEO Urls
Supports META tags
It is free! (we can also install it for you for a small fee)
It comes with a feed widget for both comments and posts
Now integrates Magento user’s profile for posting comments

Detail

WordPress Integration

FishPig’s WordPress Integration is an extension for Magento eCommerce that integrates your WordPress blog with your Magento store. The extension is compatible with Magento Enterprise, Magento Professional and Magento Community Edition.

Blog – Community Edition

The Blog extension from aheadWorks is reckoned among the best buzz and word of mouth marketing tips. It not only provides your regular customers with up-to-date information but brings additional visitors to your site, builds relevant SEO-friendly text links, and serves as assistance in building sales strategy.

Detail

Other Useful Resources:

Integrate WordPress and Magento
Magento / WordPress Integration
Magento Template Advices Part 2
Free Magento Theme: HelloWired
Mage Enabler: A plugin to run Magento’s session within WordPress
How much do you really blog on your Magento shop?
Integrating a WordPress blog into Magento
Magento and WordPress go togather like Chocolate and Peanut Butter
Horizontal Product Slider Magento Extension
MasterPass Master Password for Magento
Magento Third-Dimension Ebook Extension
Pro Google Anaylitcs Tools for Magento
Best Magento Themes for Your Online Store
How to integrate Magento into WordPress e-Commerce site

WordPress Custom Fields usage for Customers website and Multisite users

For Multisite user website and for the customization for your client website, you have to make some modification in the WordPress core file, especiaaly modification and customization with Custom fields. Today we are comling a list of excellent resources for the utilization of custom field along with a list of  tips and trick for its usages, so you can extend the features of WordPress powered websites for your clients and users.

WordPress Custom Fields Explanation:


WordPress Custom fields provide the unlimited power to post in the form form meta data.  While you are in the editing page in WordPress admin for your post, under the editor box you can see the “Custom Field” section which is the aka post types and is the most powerful component    of WordPress post and content. There is a pair as key/value which have the ability to handle meta-data.  The key can be a constant and known as “Name” but it should be same for all posts, while Value is a information that you can and want to display for your post which is changeable for each post.

For retrieving and displaying custome field information, there are different ways  and the simplest way is to use the the_meta(); template tag, which always echoes an unordered list containing the attributes/values seen in this example:

By default, <?php the_meta(); ?> gives us this:


<ul class=’post-meta’>
<li><span class=’post-meta-key’>Key 1:</span> Value for Key 1</li>
<li><span class=’post-meta-key’>Key 2:</span> Value for Key 2</li>
<li><span class=’post-meta-key’>Key 3:</span> Value for Key 3</li>
</ul>


Source: Jeff Starr at Perishable

WordPress Custom Fields Tutorials, Tips and Tricks


There are limitless features which you can get from WordPress Custom fields by using WordPress Plugins or through customizing your themes file like WordPress frameworks: Theme frameworks extend the WordPress platform in a way that lets designers streamline additional features and functionality for their themes. Following are the best themes provider for Custom fields: Genesis FrameworkThemifyupthemesiThemeBuilder. There are lots of themes which can enhance the utilizing the custom fields for single post for customers and for multi-site users according to the requirements as follows:

Adding Custom Fields for User Profiles

You can add this custom field by using  user_contactmethods filter and change it as you need it, add following piece of code in your theme’s function.php file as I have tried it in U-Design WordPress Theme:

 // adding custom fields to WP user profile function wparena_profiles( $contactmethods ) { // Add Twitter $contactmethods['blog_title'] = 'Blog Title'; // Add Google profile $contactmethods['google'] = 'Google+ URL'; // Add Twitter $contactmethods['twitter'] = 'Twitter ID'; //add Facebook $contactmethods['facebook'] = 'Facebook Profile URL'; return $contactmethods; } add_filter('user_contactmethods','wparena_profiles',10,1); // end of adding custom fields to WP user profile 

Source: Adding Custom Fields in WordPress User Profiles – Tip for Multi-Authors Blogs

How to: Set post expiration date/time on your WordPress blog

Do you regret that WordPress haven’t a feature to publish a post during only 2 days, or one week? Here is a very nice code that you can use in your WordPress theme, to enable the possibility of creating post expiration based on date and time.

<?php
if (have_posts()) :
     while (have_posts()) : the_post(); ?>
         $expirationtime = get_post_custom_values('expiration');
         if (is_array($expirationtime)) {
             $expirestring = implode($expirationtime);
         }

         $secondsbetween = strtotime($expirestring)-time();
         if ( $secondsbetween > 0 ) {
             // For exemple...
             the_title();
             the_excerpt();
         }
     endwhile;
endif;
?>

Source: How to: Set a post’s expiration date and time on your WordPress blog

How to: Manually define to show full post or excerpt on your homepage

Do you use excerpts or full posts on your blog excerpts? Personnally, I think they’re both good. The only problem is that you can’t, by default, use both excerpts and full posts on your blog homepage. Here’s a code to do it.

On your index.php file, replace your current loop by this one:

<?php if (have_posts()) :
    while (have_posts()) : the_post();
         $customField = get_post_custom_values("full");
       	 if (isset($customField[0])) {
              //Custom field is set, display a full post
              the_title();
              the_content();
         } else {
              // No custom field set, let's display an excerpt
              the_title();
              the_excerpt();
    endwhile;
endif;
?>

Source: How to: Manually define whether to show full posts or excerpts on your home page

Display the Digg Button only when the custom field is present

<?php
// check for digg button for single page
$digg = get_post_meta($post->ID, 'Digg', $single = true);
// if there's a single page digg button
if($digg !== '') { ?>
<script type="text/javascript">
(function() {
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://widgets.digg.com/buttons.js';
s1.parentNode.insertBefore(s, s1);
})();
</script>
<a></a>
<?php } // end if statement
// if there's not a digg button
else { echo ''; } ?>

Source: How to Add a Digg Button Using Custom Fields

How to: Display your current mood on your posts

Open your single.php file (You can also modify your index.php file) and paste the following code anywhere within the loop:

$customField = get_post_custom_values("mood");
if (isset($customField[0])) {
echo "Mood: ".$customField[0];

Source: How to: Display your current mood on your posts

Add Meta Descriptions To Your Posts

Open your header.php file. Paste the following code anywhere within the <head> and </head> tags:

<meta name="description" content="
<?php if ( (is_home()) || (is_front_page()) ) {
    echo ('Your main description goes here');
} elseif(is_category()) {
    echo category_description();
} elseif(is_tag()) {
    echo '-tag archive page for this blog' . single_tag_title();
} elseif(is_month()) {
    echo 'archive page for this blog' . the_time('F, Y');
} else {
    echo get_post_meta($post->ID, "Metadescription", true);
}?>">

Sources: Unique meta description and meta keyword tags in your WordPress themes

How to: Link to some external ressource in post title

The first thing to do is to open your functions.php file and paste the following code:

function print_post_title() {
	global $post;
	$thePostID = $post->ID;
	$post_id = get_post($thePostID);
	$title = $post_id->post_title;
	$perm  = get_permalink($post_id);
	$post_keys = array(); $post_val  = array();
	$post_keys = get_post_custom_keys($thePostID);

	if (!empty($post_keys)) {
  	  foreach ($post_keys as $pkey) {
    	    if ($pkey=='url1' || $pkey=='title_url' || $pkey=='url_title') {
      	      $post_val = get_post_custom_values($pkey);
    	    }
  	  }
  	  if (empty($post_val)) {
    	    $link = $perm;
  	  } else {
    	    $link = $post_val[0];
  	  }
	} else {
  	  $link = $perm;
	}
	echo '<h2><a href="'.$link.'" rel="bookmark" title="'.$title.'">'.$title.'</a></h2>';
}

Once done, open your index.php file and replace the standard code for printing titles:

<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

by a call to our newly created print_post_title() function:

<?php print_post_title() ?>

Now, whenever you feel like let your post title leave your blog and point someplace else, just scroll down in your post writing screen, create or select a custom key named url1 or title_url or url_titleand put that external URL in value box.

Sources: Hacking WordPress theme: external URL for post title
How to: Link to an external resource in the post’s title

How to: Embed CSS in your posts with a custom field

open your header.php file and insert the following code between the <head> and </head> html tags:

<?php if (is_single()) {
    $css = get_post_meta($post->ID, 'css', true);
    if (!empty($css)) { ?>
        <style type="text/css">
        <?php echo $css; ?>
        </style>
    <?php }
} ?>

Source: How to: Embed CSS in your posts with a custom field

How to: Redifine title tag with a custom field

Open your header.php file for edition. find the <title> tag, and replace it by the following code:

<title>

<?php if (is_home () ) {
    bloginfo('name');
} elseif ( is_category() ) {
    single_cat_title(); echo ' - ' ; bloginfo('name');
} elseif (is_single() ) {
    $customField = get_post_custom_values("title");
    if (isset($customField[0])) {
        echo $customField[0];
    } else {
        single_post_title();
    }
} elseif (is_page() ) {
    bloginfo('name'); echo ': '; single_post_title();
} else {
    wp_title('',true);
} ?>
</title>

Source: How to: Redefine the title tag with a custom field

Disable Search Engine Indexing For Individual Posts

To achieve, first get the ID of the post you’d like to be not indexed by search engines. In this exemple, I assume your post id is 17.
Open your header.php file and paste the following code between the <head> and </head> tags:

 <?php if ($post->ID == 17) {
    echo '<meta name="robots" content="noindex">';
}

Source: How to: disable search engine indexing of a single post

How to: Easily get the value of a custom field

You have to paste it on your theme functions.php file. If your theme doesn’t have a file named functions.php, create one.

function get_custom_field_value($szKey, $bPrint = false) {
	global $post;
	$szValue = get_post_meta($post->ID, $szKey, true);
	if ( $bPrint == false ) return $szValue; else echo $szValue;
}

Now, to call the function and get your custom field value, use the following code:

<?php if ( function_exists('get_custom_field_value') ){
        get_custom_field_value('featured_image', true);
} ?>

First, we use the php function_exists() function to make sure the get_custom_field_value function is defined on our theme. If it is, we use it. The first argument is the custom field name (here,featured_image) and the second let you echo the value (true) or get it for further use in php (false).

Sources: Useful custom functions for WordPress
How to: Easily get the value of a custom field

Rewrite Guest Author’s name with Custom Fields

Open your functions.php file and paste the codes below

add_filter( 'the_author', 'guest_author_name' );
add_filter( 'get_the_author_display_name', 'guest_author_name' );

function guest_author_name( $name ) {
global $post;

$author = get_post_meta( $post->ID, 'guest-author', true );

if ( $author )
$name = $author;

return $name;
}

Source: How to rewrite Guest Author Name with Custom Fields in WordPress

Display Custom Fields Outside the Loop in WordPress

All you have to do is display the custom fields like this:

<?php
global $wp_query;
$postid = $wp_query->post->ID;
echo get_post_meta($postid, 'Your-Custom-Field', true);
wp_reset_query();
?>

Source: How to Display Custom Fields outside the loop in WordPress

You will need to open your single.php or page.php file and find the following code:

<?php get_sidebar(); ?>

Replace it with the following:

<?php
global $wp_query;
$postid = $wp_query->post->ID;
$sidebar = get_post_meta($postid, "sidebar", true);
get_sidebar($sidebar);
wp_reset_query();
?>

Source: Display Different Sidebar for Each WordPress Post

Manipulating the RSS feed content with Custom Fields

Did you ever want to add a specific content just for your RSS readers in a specific post? Well this can also be done with custom fields. In this first example, we will show you how you can use custom field to display specific text/object in your WordPress RSS Feed. This trick will allow you to show different text, advertisement, image, or anything else for each post.

Source: Completely Manipulate Your WordPress RSS Feeds
WordPress, add content to its RSS feed!

More Custom Field Tutorials and Hacks


Following are the list of useful resources that unveil the power of WordPress Custom Fields and you can find them very helpful to extend the Website features.

How to use WordPress Custom Fields

WordPress gives an author the ability to add extra data to each written post and page. This data is called meta-dataand is stored in custom fields.

Using WordPress Custom Fields: Introduction

This tutorial series will cover more advanced uses later in the series. Mostly, he covered what he  thought practical uses of custom fields.

Add Thumbnails to WordPress with Custom Fields

You can find detailed article about how to add Thumbnails with custom fields to your WordPress post.  Gave you detail about what is Custom field and how to use it to display Custom Thumbnails to particular post.

Using WordPress Custom Fields

WordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as meta-data. This meta-data can include bits of information such as:

  • Mood: Happy
  • Currently Reading: Cinderella
  • Listening To: Rock Around the Clock
  • Weather: Hot and humid

With some extra coding, it is possible to achieve more complex actions, such as using the metadata to store an expiration date for a post.

A Tutorial on WordPress Custom Field

In this article, writer review how easy it is to customize the background color, image and article title color of a particular blog entry by using custom field tags.

WordPress Custom Fields, Part I: The Basics

Write have shared some delicious tips and tricks to help you get the most out of everything that custom fields have to offer.

WordPress Custom Fields, Part II: Tips and Tricks

In this follow-up article, writer have reviewed the basics of custom fields and then jump into a few custom-field tips and tricks.

An Easy Way to Get the Contents of a Custom Field

you do any hardcore WordPress coding, then you’re probably aware of Custom Fields and the unlimited possibilities they offer you as a WordPress designer or developer.

Display Inline Ads with Custom Fields and WordPress

Manually display ads to specific post with custom fields without using and WordPress Plugin.

How to Add Videos to Your WordPress Sidebar

YouTube has become a bit of a phenomenon on the Internet, and everyone’s rushing to embed videos into their blogs. This is actually a fairly neat thing, especially if you blog a lot about videos or have videos that will emphasize the importance of your posts.

WordPress Custom Fields: Listing a Series of Posts

Do you write long series of posts? Do you have a bunch of articles that definitely need to be linked together? This WordPress custom fields technique will allow you to do that without a lot of hassle. Basically, this is a simple, customized related posts script. It checks to see whether a post is in a series, then lists all the posts in the series.

In Praise of WordPress Template Tags, Part II: The Magazine Layout

Learn how you can use Custom fields to display Template tags with your post.

Creating Custom Write Panels in WordPress

How you can create custom write panel by using WordPress using custom fields.

Custom post title with lead graphic background

This tutorial’s website is offline this time but you can get access through Google Cache. The first step to setting yourself apart from the rest of the typical title + content blogs is a little style. Adding a photo or image behind a posts title can help to lure a reader into viewing the main excerpt / permalink of yourpost.

WordPress: How To Display Multiple Values of a Custom Field Key

This article shows how you can use custom fields in situations where a post may have zero, one or multiple values of the same custom code. The example used in the tutorial is quotes. Some post may have none, while others may have several.

WordPress Tip: 3 Awesome Custom Field Tricks

If you want an easy way to include default custom fields into your Write panel, try Rhymed Code’s Custom Field GUI.

Jazz Up Your Site: 28 Ways To Use WordPress Custom Fields

You may see a few ideas on here that you hadn’t thought of before that would be useful on your site or for a client project.

How to Hide Your Plugin’s Custom Fields

This tutorial shows you how to keep your plugin’s custom fields from being manually edited in the post editor. Very handy, and it keeps things nice and neat!

How to Hide Certain Custom Fields From the Edit Post Page

Post meta is easily one of the most useful features in WordPress from a developer’s perspective.  Adding custom content to a post provides the ability to accomplish countless goals quickly and easily.

How to Hide a WordPress Custom Field

You can easily make WordPress check the Custom Field. If it finds the Custom Field, WordPress displays your added Value; if it doesn’t find the Custom Field, then WordPress doesn’t display anything. For example, if your Key Name reads “My Mood is__” but you don’t add the Value “Happy” The Custom Field, with the search enabled, will not post to your blog.

Custom Field GUI for WP 2.1

I have updated Custom Field GUI plugin to resolve the issue of custom fields being deleted after a comment is posted. The issue is reported after the release of WP 2.1

Free & Professional WordPress Security Service Free & Professional WordPress Security Service

We Love WordPress. WordPress Arena is a place for WordPress Developers and Designers, providing Tips, tricks, tools and resources to build a website or blog on WordPress. We also present The WordPress Showcase for all kind of WordPress Powered Websites.

Recent Comments

Tink Seagraves

|

Seems to have a little crush on G-Dub!