Up Think Solutions https://upthinksolutions.com/ We build great Wordpress solutions Thu, 18 Apr 2019 09:14:40 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.4 Setting Up Forms On Your Website https://upthinksolutions.com/setting-forms-website/ Thu, 11 Jan 2018 11:42:47 +0000 https://upthinksolutions.com/?p=1019 There used to be a time when businesses and people listed their email address upfront on their websites to make it easy for others to contact them. However, as spam on the internet grew by leaps and bounds this became problematic as spammers harvested these emails to send out spam. Today the best approach is […]

The post Setting Up Forms On Your Website appeared first on Up Think Solutions.

]]>
There used to be a time when businesses and people listed their email address upfront on their websites to make it easy for others to contact them. However, as spam on the internet grew by leaps and bounds this became problematic as spammers harvested these emails to send out spam. Today the best approach is to have a form on your website that allows a person to fill in the needed details and the server then sends out an email to the site administrator letting them know that someone wants to contact them. This has the added advantage to the admin of making sure that some other basic info (like website or phone number or other notes) are also provided by the person who initiates the contact.

Here are some great tips for a website owner to consider when setting up contact form on their website:

  • Setup Notifications:
    A notification is basically the email/message sent out once the form is submitted. The admin definitely needs a notification. At times it may be a good idea to also have the person who filled the form get a notification email. This can be a great idea where you want the person to have a record of what they filled in.
  • Confirmation Message/Page:
    Almost all form plugins allow to either show a message after the form is submitted or redirect to a page. It is a great idea to actually redirect the user to a page after the form is filled. This way you can make sure that you can track the visitors to that page in your tracking software and know how many people filled in the form. Also on the confirmation page you can provide any additional info that you want the user to get.
    NOTE: Make sure that the thank you page you set is then adjusted to be hidden from search engines. You don’t want people to search your website and find out about that page without filling out the desired info.
  • Ensure correct sender settings:
    Make sure that the form is setup correctly so that when you get an email then it is clear who sent it to you. Ideally it should be setup so that you can just hit reply and send an email back. But at times hosts may not allow that – so test it out to see what works for you (or rather your hosting)

The best way to setup a form on your website is to use one of the many great form plugins available in the WordPress repository. Among these the more popular ones(with a free version) are listed below:

  1. Contact Form 7: The most popular free form plugin out there. The interface is not too great though so it can be difficult for a newbie to setup a big form.
  2. WP Forms: A great form that also has a paid version to allow more extended usage.
  3. Ninja Forms: Another great form plugin with a pro version too.
  4. Caldera Forms: A very flexible form plugin – again comes with a free and a pro version.

So next time you need to setup a form on your WordPress website then be sure to try out one of these forms. Not only will these save you time but will also provide a more streamlined experience for those who want to contact you. If you need to build forms that need to use conditional logic or are more complicated than usual then you can also contact us. We provide extremely cost effective solutions to most WordPress development needs.

The post Setting Up Forms On Your Website appeared first on Up Think Solutions.

]]>
Building a calculator with WP Forms plugin https://upthinksolutions.com/building-calculator-wp-forms-plugin/ Wed, 27 Apr 2016 09:46:37 +0000 https://upthinksolutions.com/?p=639 One of the great things about WordPress is the great number of amazing plugins that are available to extend/build functionality in any type of website. One such amazing plugin is the WP Forms plugin which is a great plugin to create amazing forms quickly. However, what I really like about this particular plugin is how […]

The post Building a calculator with WP Forms plugin appeared first on Up Think Solutions.

]]>
One of the great things about WordPress is the great number of amazing plugins that are available to extend/build functionality in any type of website. One such amazing plugin is the WP Forms plugin which is a great plugin to create amazing forms quickly. However, what I really like about this particular plugin is how it provides amazing options to extend its features with the right use of actions and filters.

So when needing to build a customized calculator WP Forms seemed like a great choice. So here is how we built a custom calculator for a client using WP Forms.

Step 1:
Create your form

This is a no-brainer considering how easy it is to create a form using WP Forms. Make sure that whatever fields you want to use for calculation are numbers – this way the validation check are done for you already.

Step 2:
Note the numbers for the fields on which you want to perform calculation.
WPForms Builder - Field Numbers

Step 3:
Find out the id for the form.
WPForms Builder - Form ID

Step 4:
Add this bit of code in your site (usually the functions.php file)
https://gist.github.com/speedguy/672dc22f2e30c2b21ced97a4dcc1e338

Advantages of this approach

  • You can use the validation methods that already come built inside WP Forms
  • Entries are stored at the backend for later reference (you can even export these as a csv)
  • Email is sent with the form data – it can be customized to show the form calculation result as well (not covered in this example)
  • Using the Pro version of the plugin you can actually build a multi page/part calculator where data is gathered over multiple steps and then processed at the end

Click Here For Demo

* Note that the version we used is the pro version which has some features available that are unavailable in the free version (such as multi-page conditional forms) – but effectively the idea is the same. You can build multi-step conditional forms that perform complex calculations using this method.

The post Building a calculator with WP Forms plugin appeared first on Up Think Solutions.

]]>
WordPress upgrade blues … when you need help from an expert https://upthinksolutions.com/wordpress-upgrade-blues-when-you-need-help-from-an-expert/ Wed, 06 Apr 2016 09:43:41 +0000 https://upthinksolutions.com/?p=348 WordPress is the most popular CMS in the world right now. It is popular not just because it is free but because it is far easier to manage as compared to other solutions out there. Ask anyone who has spent time updating Drupal/Joomla sites and the ease in managing a basic WordPress setup is obvious. […]

The post WordPress upgrade blues … when you need help from an expert appeared first on Up Think Solutions.

]]>
WordPress is the most popular CMS in the world right now. It is popular not just because it is free but because it is far easier to manage as compared to other solutions out there. Ask anyone who has spent time updating Drupal/Joomla sites and the ease in managing a basic WordPress setup is obvious. Most of the time creating a backup of the database and the wp-content folder (or all WordPress files if that is easier for you) is all you need to do before hitting an upgrade from the WordPress Dashboard. But there are times when an upgrade becomes a painful problem and it is best to have an expert handle it.

Listed below are some likely scenarios when you may want to have an expert sort it out for you.

You are unable to perform the upgrade by just clicking the upgrade button

Possible Cause#1: File permissions
This usually happens when due to server file permissions the upgrade cannot be performed. In this case you are presented with a screen which asks for FTP/SFTP info which WordPress can then use to move the files.

Possible Cause#2: Php version too old
Every iteration of the software aims to improve on the previous by using newer technologies/tools available. As WordPress runs on Php so it requires a later version of Php every now and then. If your server has not adjusted the Php environment for your setup then you may face upgrade issues.

Yikes my site looks nothing like it used to before the upgrade!

Possible Cause#1: Theme upgrade
What likely happened here is that you upgraded a theme without ever having created a child theme. All customization done to the parent will get overwritten as soon as you upgrade the theme.

Possible Cause#2:  Plugin upgrade
You may have been using some sort of page builder tool or a plugin that was rendering a portion of the site. An upgrade may have caused either the plugin to stop working or the plugin author may have changed the styling/markup which can cause the look of your site to be different.

You get a plain white screen (also known as white screen of death)

Possible Cause#1:  Fatal error in code
Due to a combination of the theme/plugin upgrade you may now be encountering an error that is stopping the php script from continuing. To find out more try to get hold of the server error log. In most cPanel based hosting solutions you can find  the file called error_log which may contain more info.

Possible Cause#2:  Server memory issue
Your WordPress installation may need more memory that previously. This may be due to a theme/plugin upgrade which may now be needing more memory than before and hence causing the breakdown.

All the images your uploaded in your content have disappeared!

Possible Cause#1:  Responsive media served by WordPress since 4.4
This is usually only an issue if you have SSL enabled on your site but the images on your site are not being served via https. This can cause all images which are served using the srcset attribute to generate insecure data errors in your browser console and not show up on your site after an upgrade.

The issues listed above are not an exhaustive list as WordPress is widely used over many configurations. If you are ever faced with such issues then it might be a better idea to find an expert to help you. Always remember to take a backup of the site before you update it. Without a backup at times even an expert may not be able to solve your issues for you!

The post WordPress upgrade blues … when you need help from an expert appeared first on Up Think Solutions.

]]>
Why a good “call to action” is necessary for your website https://upthinksolutions.com/why-a-good-call-to-action-is-necessary-for-your-website/ Fri, 26 Feb 2016 12:31:11 +0000 https://upthinksolutions.com/?p=279 A website is the equivalent of having an office/shop on the internet. Just as every shop needs a sign board outside telling everyone the name of the shop and what you can get here a website too needs some sort of signboard. That signboard is really what you can call the header of your website […]

The post Why a good “call to action” is necessary for your website appeared first on Up Think Solutions.

]]>
A website is the equivalent of having an office/shop on the internet. Just as every shop needs a sign board outside telling everyone the name of the shop and what you can get here a website too needs some sort of signboard. That signboard is really what you can call the header of your website and must contain what is called a “call to action”.

Some cool ideas for call to action are listed below. But really you are not limited by your imagination and can do something fancy specific to your website/business.
Phone Number
This is great for websites where you want the visitor to call you up for further details.

Email
If you want people to email you straight away then this might be a great idea (be aware that plain email is very likely to also attract spam)

Popup form
This is by far my favorite. A small phrase to get the interest of the visitor results in a click which opens a popup that shows a contact form. This allows the site owner to get a couple of fields from the user or maybe even have the visitor opt in to a mailing list.

Sticky button
This can be a button that sticks to the top or an edge of the browser and stays there even if you scroll through the website. The fact that it is always visible means that your visitor can take the action even if they are halfway through the page.

The post Why a good “call to action” is necessary for your website appeared first on Up Think Solutions.

]]>
Animations on websites https://upthinksolutions.com/creating-animations-on-websites/ Mon, 10 Aug 2015 08:19:43 +0000 https://upthinksolutions.com/?p=250 Everyone wants a website that not just communicates the bare essential message but does so in a way that stands out as unique. After using text and images the next logical way to spice up your website is an animation. While previously the best way to create an animation used to be Flash – this is today […]

The post Animations on websites appeared first on Up Think Solutions.

]]>
Everyone wants a website that not just communicates the bare essential message but does so in a way that stands out as unique. After using text and images the next logical way to spice up your website is an animation. While previously the best way to create an animation used to be Flash – this is today considered archaic and is no longer the favored mode of creating an animation of any sort for a website. The two broad approaches of creating animations on a website are listed below:

  1. CSS3
    CSS3 has brought about a number of new tags to help create some basic animation effects. Since most modern browsers have been supporting CSS3 to some extent for quite a while we can now use this method to safely create these basic animation effects easily. The advantage of using this method is that it does not require loading up any additional libraries.
  2. Javascript
    Javascript is an amazing language to create animations for a website. There are a number of some really amazing libraries custom built for this very purpose allowing developers to create complex animations. Some of the notable ones are Raphael, Snap, Animo, GSAP etc.

Each method has its own pros and cons so make sure you analyze your requirements before selecting an approach.

The post Animations on websites appeared first on Up Think Solutions.

]]>
Adding styles/scripts only when a shortcode is present in content https://upthinksolutions.com/adding-stylesscripts-only-when-a-shortcode-is-present-in-content/ Mon, 15 Jun 2015 06:47:56 +0000 https://upthinksolutions.com/?p=194 Shortcodes are one of the wonders of WordPress and allows the developer an easy way to provide a functionality to the end user. However, it can be slightly tricky to add a script or a stylesheet to a shortcode which only loads when the shortcode is there (so basically instead of loading the script/stylesheet sitewide […]

The post Adding styles/scripts only when a shortcode is present in content appeared first on Up Think Solutions.

]]>
Shortcodes are one of the wonders of WordPress and allows the developer an easy way to provide a functionality to the end user. However, it can be slightly tricky to add a script or a stylesheet to a shortcode which only loads when the shortcode is there (so basically instead of loading the script/stylesheet sitewide WordPress only loads it when the content contains the shortcode).

Basically the trick is to register the style/script and then enqueue it only when you need it.

So in your functions.php (or main plugin file) do something like this:

[php] add_action( ‘init’, ‘my_shortcode_scripts_styles’ );   //Hook your function to when WP initializes
function my_shortcode_scripts_styles() {
wp_register_style( ‘my-shortcode-style’, ‘url-to-the-stylesheet’);
}
//The function above registers the style (or scripts if you need those too) [/php]

Remember to change the parameters to suit your needs. Then in your function that renders the shortcode do this:

[php] wp_enqueue_style( ‘my-shortcode-style’ ); [/php]

 

The post Adding styles/scripts only when a shortcode is present in content appeared first on Up Think Solutions.

]]>
Getting WooCommerce product detail in a page template https://upthinksolutions.com/getting-woocommerce-product-detail-in-a-page-template/ Wed, 20 May 2015 07:51:09 +0000 https://upthinksolutions.com/?p=167 We recently had a project where there was a need to get the product description on a page. The page basically needed to show the product description and some other details only (not the full product) on a page. Here is how we handled it – any suggestions or comments on improving this would be […]

The post Getting WooCommerce product detail in a page template appeared first on Up Think Solutions.

]]>
We recently had a project where there was a need to get the product description on a page. The page basically needed to show the product description and some other details only (not the full product) on a page. Here is how we handled it – any suggestions or comments on improving this would be welcome:

The post Getting WooCommerce product detail in a page template appeared first on Up Think Solutions.

]]>
Show different excerpt length for different post types https://upthinksolutions.com/show-different-excerpt-length-for-different-post-types/ Mon, 20 Apr 2015 06:41:49 +0000 https://upthinksolutions.com/?p=80 If you have custom post types then there is a likelihood that you may want to show them on the same page but have different excerpt length for each of theme. Here is a simple snippet to help do this: Replace “my-custompost-type1” with the slug of your custom post type. Obviously you can also add […]

The post Show different excerpt length for different post types appeared first on Up Think Solutions.

]]>
If you have custom post types then there is a likelihood that you may want to show them on the same page but have different excerpt length for each of theme. Here is a simple snippet to help do this:

Replace “my-custompost-type1” with the slug of your custom post type. Obviously you can also add another if statement and adjust for other custom post types that you may have.

The post Show different excerpt length for different post types appeared first on Up Think Solutions.

]]>
Contact forms and spam https://upthinksolutions.com/contact-forms-and-spam/ Tue, 14 Apr 2015 11:07:42 +0000 https://upthinksolutions.com/?p=71 One of the big issues on having a contact form on your website is the spam it attracts. Once your site gets listed on the radar for these spammers then there is simply no end to the endless stream of spam that will show up in your mailbox. There are 2 main ways to handle […]

The post Contact forms and spam appeared first on Up Think Solutions.

]]>
One of the big issues on having a contact form on your website is the spam it attracts. Once your site gets listed on the radar for these spammers then there is simply no end to the endless stream of spam that will show up in your mailbox. There are 2 main ways to handle this:
1. Use a captcha/formula
These are the funny looking characters/numbers that are randomly generated so that bots cannot go through them. Equally irritating is the fact that humans too may have a tough time getting through these! A variation of these captcha is the formula based captcha where a basic algebraic equation is presented and the user is requested to compute the missing value.

2. Honeypot captcha
This relies on the weakness in spambots to just fill in fields that seem to be marked as mandatory but which are actually just a bait to know that the submission is coming from a bot. A human user would never see (or if using a text browser clearly see that the label for the field shows that it is for spammers only) this field and the system would be able to filter out if the submission is valid or not. This clearly seems to be a better solution and can be applied to both contact forms and comment forms in WordPress.

Choose any of the anti-spam methods that seems to work well for your situation – but do ensure that you have at least some mechanism in place.

The post Contact forms and spam appeared first on Up Think Solutions.

]]>