Archive for the ‘Wordpress’ Category

How To Create Free Landing Page Using Google Form

Free Landing Page

 

You can create free landing page using Google Form instead of purchasing some expensive option, Though it might be limited in lot of senses but if your purpose is just to collect the email then this should be sufficient.

I tried to find free landing page which I can use for my website but couldn’t. I had tried majority of the free landing page available but didn’t find anything simple like Google Form. Also just creating landing page doesn’t auto respond for the email subscription. Commercially available Landing pages with email support are expensive as its per month based. I was looking for some simple solution for time being, So I experimented with Google Form and at last came up with this solution..

You can use Google Form on a Squeeze page where you can insert the Form in the Opt In section. I’ve given 2 method one using embedded content and another just using elements which we require from the form section.

Read more »

How to customize the date picker in Form Maker

I trying to set up the Date format for one Form using Form Maker. Its an amazing tool but for free version it supports only 7 controls. In the site of Form Maker I was unable to find the format which I can select for setting different types of input for Date.  Here’s the help from Form Maker which gives basic idea of how to use the date. I’m pasting the screenshot.

image

I was struggling with the date picker control which looks as given below.

Here once you select the date, it fills the text box with default date format which is set in your form.

image

 

Like in this case I selected 27 May, I’ll see following in the text box.

image

 

Now the question is how to set different format for the date. By default following format will be shown

%Y-%m-%d

This will show as 16-05-27. But if you want in different format here’s what you need to do

1. Click on the Date Type Control and select Edit, This look like a pencil icon.

image

2. Now you will see following dialog. Here you can see Date Format is set as “%Y-%m-%d”

So to change this to another format for instance “Month-Date-Year”. Change to

%m-%d-%Y

 

image

Here are some of the settings.

a) Changing short year to long year format use %Y

b) Change long year to short year use %y , here “y” is small. short year would be just 2 last digit of year, like for 2016 it would be only 16.

c) To show as month/date/year use %m/%d/%Y

So depending on the format you want, you can set appropriate settings in the date.

Happy Blogging. Please leave the comments below to share your experience or if you have any questions.

How to work with wordpress offline

Wordpress Offline

 

There are many advantages to work with wordpress offline.

1. You might be travelling and you don’t have internet connection and you want to finish of some coding.

2. Internet connection is slow and working offline would be very fast.

3. You don’t want to publish your result to the world before making sure everything is working fine.

 

So for all this advantage, You can use wordpress locally. To do that these are the steps

1. Download Wamp /XAMPP server. I’ll be guiding  you for wamp.

2. Install Wamp server on your machine.

Once installed you can browse to following folder to check. C:\wamp, here you will find the files for this server. If this server is not started up after the installation then manuall start it. You can start this server from this location by double clicking on

C:\wamp\wampmanager.exe or by going to your programs listed in start menu and clicking on it.

image

3. Now open your browser and type in the address bar

localhost or 127.0.0.1, you will see extensions and tools and projects listed.

image

Here you can see link “phpmyadmin”, click on this.

4. You will see login screen. The default password for phpmyadmin would be empty and user name would be “root”

username: root

password :

image

 

5.  In the next screen you need to create database, Here on top you can see databases link. Click on it.

image

 

7. Now you enter database which you want to create, In my case I entered “freebookstoread” and press create button. This database will be listed on the left hand side once created.

image

 

8. Now if you check c:\wamp\www

You will see that new database would have been created.

image

 

9. Now you need to installed wordpress. You can visit following sites for downloading the latest version of wordpress https://wordpress.org/download/

image

 

10. Extract the zip file into your wamp server project location. Like in this case I had created project as “freebookstoread” and I extracted the wordpress into this location. Once you extract you will see similar files listed.

image

 

11. Here you will find a file called “wp-config-sample.php”. Open this file in a text editor.

Modify the line with  “database_name_here” to the new database name which you had created.

Like “define(‘DB_NAME’, ‘freebookstoread’) and

change the “username_here” to “root” and make “password_here” to empty.

image

image

Save this file after modification as wp-config.php.

12. Now if you open “localhost” in your browser, you will be able to see your project listed under Your Projects”. In this case “freebookstoread”

image

13. Now click on the newly listed project, this will take you through installation process for wordpress.

Select the language you want to work.

image

14. Now you need to configure your site title and site login(username, password), etc Save this password whatever you are going to give because this will be your site login.

image

15. Now click on “Install WordPress”, Once you are done you will see similar dialog as shown below.

image

16. Your site is setup for working offline. You can directly type in “localhost\<sitename>” in your browser and it will prompt for wordpress login and once you log, everything you see online you can see and configure offline.

In my case it would be “localhost\freebookstoread”

 

So Happy working with your site offline. All the best. If you have any doubts feel free to comment or send me mail.

Removing Website or URL field from Comment Form in WordPress

 

If you want to remove the website or URL field from the comment form. This is sometime required because some of these comments will be spam and it just want link to their website. These are the steps you can do to remove it.

With Website input box

image

 

Without Website Input box.l

image

 

Step 1

Find out Editor option from the Appearance link. Here you find out the file comments.php .

image

 

Comment out following line

<input type=”text” name=”url” id=”url” value=”<?php echo $comment_author_url; ?>” size=”22″ tabindex=”3″ />
<label for=”url”><small>Website</small></label>

image

 

Step 2

Add following line into functions.php.

 

function crunchify_disable_comment_url($fields) {

unset($fields[‘url’]);

return $fields;

}

add_filter(‘comment_form_default_fields’,’crunchify_disable_comment_url’);

 

Step 3

Install following plugin, it will automatically comment out the website related code.

https://wordpress.org/plugins/remove-comment-websiteurl-box/