Archive for category Wordpress

WordPress & jQuery Contact Form without a Plugin | Trevor Davis

WordPress & jQuery Contact Form without a Plugin

There are lots of WordPress plugins for contact forms, but wouldn’t it be nice to have more control over the markup? In this tutorial, I am going to show how to use a custom page template to create a contact form in WordPress without a plugin.

Some people may want to skip the post and get to the demo and source files:

View Demo Download Source Files

So, why not use a plugin?

Well, I think that a contact form is so simple that a WordPress plugin that doesn’t provide exactly what I want is pretty lame. Plus, I don’t need all those fancy interfaces for building the form; I just need the code.

The Plan

Our plan is to create a custom WordPress Page Template, then create a page that uses that template. Finally, we will add in a little jQuery to improve the form. Let’s write a little pseudo code to help determine how our page template will be structured.

WordPress & jQuery Contact Form without a Plugin | Trevor Davis.

No Comments

WordPress plugins

Great Real Estate

Great Real Estate provides functionality to turn your WordPress installation into a content managed real estate website. Author : Roger Theriault

Effects for NextGEN Gallery

Advanced NextGen Gallery with some extra effects. Author : fanningert

NextGEN-ImageFlow

Finn Rudolphs picture gallery for NextGEN Gallery. Digital animation for thumbing through a physical image stack. Author : ShabuShabu Webdesign

NextGEN Smooth Gallery

The amazing galery viewer from JonDesign’s SmoothGallery for NextGen Gallery. Author : Bruno Guimaraes

, ,

No Comments

WordPress plugins

Most Popular

Smart YouTube

Smart Youtube plugin allows you to insert full featured YouTube videos into your post, comments and in RSS feed.

Newest Plugins

Beeline

Own the search. Predict what your readers would look for, and bring it into your blog. Available during April 2010.

Recently Updated

Keyword Statistics

This SEO plugin checks the content of posts/pages for the keyword density (single/phrases) while writing and is automatically setting the META-tags.

, ,

No Comments

Shortcode Exec PHP – WordPress Plugins

Shortcode Exec PHP

Using this plugin you can execute arbitrary PHP code using shortcodes in your posts, pages and optionally in your widgets, just like manually defined shortcodes. The shortcodes and associated PHP code snippets are defined using the settings of this plugin. It is possible to parse and use shortcode parameters and to use shortcode content. Defined shortcodes can be deleted and disabled.

Advantages over other solutions:

  1. Your posts, pages and widgets do not have to contain PHP
  2. PHP code snippets can be reused
  3. All PHP code is organized at one place

Please report any issue you have with this plugin on the support page, so I can at least try to fix it.

Download

via WordPress › Shortcode Exec PHP « WordPress Plugins.

, ,

No Comments

WordPress in Greek & others languages

Multilingual wordpress

I setup this English Greek wordpress blog but basically all of the stuff that I did should be the same for any other billingual wordpress.

I am assuming you have setup wordpress either with fantastico (from your cpanel) or by downloading the latest wordpress version and following the installation instructions from wordpress.org.

Now for καταinternationalizing there are quite a few plugins that you can experiment with, if you want. I personally a tried a few but
Polyglot2 was the best choice for me but far from a perfect solution.

To install polyglot

Drop the polyglot.php and polyglot_flags in the plugins directory and then activate it from the admin panel.

Edit the polyglot.php to include the details of you languages and associated flags, which in the case of english and greek languages result in:

$polyglot_settings['knownlangs'] = array('en','el');
$polyglot_settings['flags']['el'] = 'el.png';
$polyglot_settings['trans']['el'] = 'Ελληνικά';

read more at Multilingual wordpress.

2 Comments

WordPress › WordPress Plugins

Popular »

Newest Plugins »

Recently Updated »

,

No Comments

WordPress Plugins

Popular WordPress  Plugins

BuddyPress

Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of

WordPress  Plugins

wp-seatingchart

Create a seating layout using tables, chairs, restroom locations and trash recepticles via a drag-n-drop interface. Allow users to reserve a seat.

Recently Updated WordPress  Plugins

Xhanch – My Quote

Xhanch – My Quote shows a random quote with provided predefined quotes or your own collections.

, ,

No Comments

Free WooThemes – My New Themes

Free WordPress Themes

CSS Menu Generator

via Free WooThemes – My New Themes.

No Comments

How to add sidebar(s) to a WordPress Theme | Blog Oh Blog

Adding Extra Sidebar to your WordPress Theme

You like a WordPress theme on the Internet but Oh!… What’s this?? The theme has only one sidebar! You need more than one and are on the verge of switching to some other theme with more sidebars. But wait!! Let me teach you how to add an extra sidebar or sidebars to your favorite theme. People who know PHP will find it easy to follow but even novices can easily do it using the code that I have provided in this tutorial. I am assuming that you already know HTML and a bit of CSS.

Working Hard!To begin the tutorial, extract your theme into a folder and open it to see all the files. If your theme has only one sidebar, then most probably you will NOT find a file called functions.php in your theme folder. In that case you will have to create this file yourself. Just open notepad or any other code editor to start a new file. Put this code into that file :-
<?php
if ( function_exists('register_sidebars') )
register_sidebars(2);
?>

Save the file as functions.php and put it in your theme folder. This piece of code actually tells WordPress to register two sidebars for you (See register_sidebars(2) in the code). If your theme has more than one sidebar, you will find the functions.php file already present in your theme folder. You just have to edit the number to your requirement and save the file. You can increase this number if you want more sidebars and if your theme’s layout can accommodate it. Now, when you go to your WordPress admin section and browse to the widgets under the menu item called presentation, you will see two sidebars listed there. You can drag your widget items into any of the sidebars.

Now comes the part where we actually build the sidebars. If your theme has only one sidebar, try to locate a file called sidebar.php in your theme folder. In this example, where we are trying to modify the theme for two sidebars, let’s rename sidebar.php to sidebar1.php and make a new blank file called sidebar2.php. Put this code into sidebar2.php and save the file :-
<div>
<ul>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
<?php endif; ?>
</ul>
</div>

So, we have the two sidebars ready but they have not been placed in the index.php file yet. Both these sidebars need to be called from the index.php file in order to include them in your theme. Just open the index.php file from your theme folder and locate the code that calls your sidebar file (sidebar.php earlier). It should look something like :-

<?php include (TEMPLATEPATH . '/sidebar.php'); ?>

Edit this code and change the words sidebar.php to sidebar1.php.

Here you go!This takes care of the first sidebar. Now take a look at the index.php file carefully and find a suitable place to insert the second sidebar. This might involve modifying your layout or adding new divs. Once you find a suitable place, place the following code there :-

<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>

via How to add sidebar(s) to a WordPress Theme | Blog Oh Blog.

2 Comments

WordPress Plugins

Most Popular

TweetMeme Button

Adds a button which easily lets you retweet your blog posts.

Newest Plugins

ChaCha Answers

The ChaCha WordPress Plugin allows Blog Owners access to a database of tens of millions of questions and answers.

Recently Updated

Sypex Dumper 2 for WordPress

Plugin integrates Sypex Dumper 2 in WordPress. Which can help you create a backup and restore of your MySQL database.

, ,

No Comments