wordpress Archives

The use of Aweber Params Shortcode by Schogini in wordpress is simple. This plugin is used to get the user details like name or email from the Aweber signup form and use it inside your redirection pages. This can be accomplished by using short codes.

 

The short code which will embed the name parameter is [aweber_params]. If you want to embed the email parameter, then you have to use the short code, [aweber_params email="1"].

 

Also you have to add the redirection page URLs (where you want to embed the shortcode) in the Aweber Params settings section. Here you have the option to add at least 5 URLs. While adding the URL’s you have to make sure that you are adding the page url with out the domain name as its part. e.g. : confirmation-page/ , if your URL is http://www.domain.com/confirmation-page/)

 

You have to make sure that you use these short codes in the text mode and not visual mode of the wordpress page or post.

That’s it. You will find the plugin here : http://wordpress.org/extend/plugins/aweber-params-shortcode/

You can password protect a folder by adding a .htaccess file with the following lines:

Sometimes, when the password protected folder is a sub-directory and, the parent folder has a .htaccess file that uses the rewrite engine, you may get a 404 Page Not Found error when you browse the protected sub-folder. WordPress users will especially notice this when they try to password protect a sub-folder. One way to solve this issue is to add 2 lines to the beginning of the protected folder’s .htaccess file. So, the final file will look like this:

This should solve the page not found errors!

Incoming search terms:

  • magento password protect directory
  • password protect directory prestashop

Confirmation of Home Page in WordPress

is_front_page() returns true when on the site front page (what is commonly referred to as the “home” page).
is_front_page() returns true when on the site front page, whether the front page is set to display the Blog Posts Index or a static Page.
is_home() returns true when displaying the Blog Posts Index.
is_home() returns true when displaying the Blog Posts Index, whether on the Front Page, or on a static Page.

Checking User Login in WordPress

we can check whther the user logged in or not using worpress api function.

Coverting Strings to uppercase in WordPress

Here we can convert any strings to uppercase using wordpress functions.

Incoming search terms:

  • wordpress uppercase function

WordPress 1.4 for android

WordPress 1.4 for android is now available in Android Market. Here’s the features:

1. Post Scheduling:- Users can easily set the publish date and time in the app when creating a post.

2. Post Password:- Password field to protect post content.

3. HTTP Authentication Support:- Support for entering the authentication credentials in the blog settings so that you can manage your blog through the app.

4. Added Today Status option

5. Unapproved comments in yellow tint color.

6. Secure password storage to the local database

Mail Function in wordpress

You can send mail from a wordpress blog to anyone using wp_mail().

Protecting WordPress blog From Script Injection

Script Injection is computer bug that causes exploitation to our site.We can overcome this script injection by making small tweaks in our .htaccess file.

Before editing your .htaccess file.Make sure that you have a backup of your file.Paste the following code in your .htaccess file.

These accept a string as an argument. For example:

The only functional difference between the two methods is that _e() echoes the string and () simply returns the string. () is used when you want to supply a string to a function. _e() is used when you want to output the string as part of your XHTML.

Page 1 of 3123