Author: Narender Singh

Myself Narender Singh Thakur ( NST ) and i share my Experience/Knowledge and Tricks for folks and beginners to solve their issues while making websites through this Planet.

WPForms – How to add Polls and Surveys form to wordpress ?

Other Queries related to this Topic ….

  • How to add Quiz form using WPForms plugin ?
  • Can i create Quiz form in wpforms ?
  • How to create form in wordpress ?
  • How to add Survey form to wordrpess ?

So here are the Steps to follow you to create a Poll and survery form in wordrpess using WPForms plugin.

Go to WPForms >> Addons >> add text “poll” to search filed to install this feature in the form.

Note: To use this “Surveys and Polls” feature you have to upgrade your WPForms Plan.. Check below the current price…. this may be vary at the time when you are reading this…

Okay after upgrade the plan you can add Licence Key under the setting of the plugins..like this….

Okay.. so after all these… Click on WPForms and then click on Add New button like below….

After that new window will be like below and give a name to your form as i added in (1) in screenshot and search the form by adding text “poll” like left area text field.. to add a Poll form template there….

Note: Check this topic to add Survery template there in wpforms.

Click on “Use Template” to add this template form or you can check Demo too before adding form there….

After add that template… next window will be like below… now you can edit the content by following the steps mentioned in the screenshot…
1 click on that field.
2 is the area where you can edit things.
3 is for if you want to duplicate the filed.

Check below…

To change the button name …. Click on Button as below…

Then here… you can change your form button name…

After hit on Save button you can embed this form by following 3 method …
1) Using shortcode .
2) By selecting existing page.
3) By adding new page there.


1) Click on Embed button and copy the shortcode like below…and paste this on the page where you want to show the form.

2) Add form by Selecting the existing page option…

Select page from the dropdown list…

3) By creating new page there…

After this … Check the preview of the form…

That’s it ..😇

I hope this helps you …. Fell free to contact with us… 😇

Thanks 🙏

How to add WhatsApp chat html link in website?

Before i start… here are few more queries related to this topic …

  1. How to send whatsapp message through html link.
  2. How to make whatsapp chat link.
  3. How to create whatsapp link for website.
  4. Whatsapp how to use click to chat link
  5. Whatsapp link in html code.
  6. Open whatsapp app from a link in website.

So here is the simple way to add whatsApp chat link in the website..

To show whatsapp icon on the pages .. Follow these steps..

https://wa.me/<Mobile-Number>
where the <Mobile-Number> is a full phone number in international format.

Like if your Mobile Number is 8360723971 then use full number +918360723971

https://wa.me/+918360723971

If you want to add text too the do like this….

https://wa.me/+918360723971?text=<Your-Text>

https://wa.me/+918360723971?text=Hi%20NST%20Web%20Creation

Here %20 is used to add space in between words.
So Full URL will be like this..

<a href="https://wa.me/+918360723971?text=Hi%20NST%20Web%20Creation">+91 8360723971</a>

I have used in my website and icon is used from Font-Awesome website.

<ul>
<li><i class="fa fa-whatsapp" aria-hidden="true"></i> <a href="https://wa.me/+918360723971?text=Hi%20NST%20Web%20Creation">+91 8360723971</a></li>
</ul>
whatsapp link in html

Note : Please change the number and text as per your need.

I hope this will help you … Just contact with me if you need further help!

Thanks 😊🙏

How to add survey form in wpform plugin in wordpress ?

Other Queries related to this Topic ….

  • How to add Quiz form using WPForms plugin ?
  • How to create form in wordpress ?
  • How to add Survey form to wordrpess ?

So here are the Steps to follow you to create a survery form in wordrpess using WPForms plugin.

Okay... Click on WPForms and then click on Add New button like below….

After that new window will be like below and give a name to your form as i added in (1) in screenshot and search the form by adding text “survey” like left area text field.. to add a Survey form template there….

New window will be like this… click on the filed to edit..

You can check the field name there and edit or add as per need..

Check the Preview of the form…. by click on Preview button..

After hit on Save button you can embed this form by following 3 method …
1) Using shortcode .
2) By selecting existing page.
3) By adding new page there.


1) Click on Embed button and copy the shortcode like below…and paste this on the page where you want to show the form.

2) Add form by Selecting the existing page option…

Select page from the dropdown list…

3) By creating new page there…

After this … Check the preview of the form…

That’s it ..😇

I hope this helps you …. Fell free to contact with us… 😇

Thanks 🙏

MySQL showing table is marked as crashed – WordPress Database!

Other Topics

  1. How to fix Mysql table marked as crashed?
  2. Table is marked as crashed and should be repaired ?

Today i noticed that one of my wordpress website showing nothing in dashboard ..

All pages / posts are disappeared and showing 0 pages there and also Media files are empty.

I really don’t know what was the issue and even i am not able to add new post or page there. 🙁

Then I decided to solve this by making debugging mode ON in WordPress.

After that i got errors on the website that ….

./DB_NAME/wp_posts' is marked as crashed and should be repaired 

Then i logged in website cPanel and visit phpMyadmin area to check database.

I noticed there … it says wp_posts is “in use” in tables.

After that i checked this table and selected the dropdown option “Repair table” from bottom.

Like here…..

Now i checked again website and looks working as normal and also i am able to add new pages and posts there too.

Media files are also showing now there. 😊

I hope this helps you … Just message me if you need any further help.

Thanks 😊🙏

How to Disable WordPress Block Widgets and use old style Classic Widgets again ?

If you are also struggling with block-based widget style then this post will help to revert that new style widgets to old style. Means Classic style widget.

It’s very easy to disable WordPress block widgets. Using Plugins and using without plugin.

Using Plugin

Using this plugin Classic Widgets . Just add and activate this plugin.. it will auto revert to old style widgets view.

Using without plugin..

If you don’t want to use plugin then just add this simple code to your activate theme functions.php and hit on Update file button.

// revert to classic widget view ( Old View)
function nst_theme_support() {
    remove_theme_support( 'widgets-block-editor' );
}
add_action( 'after_setup_theme', 'nst_theme_support' );

After doing one of step above.. the result will be like this.. as before..

If you need any help just message me through form or chat box.

Thanks 🙏😊

Woo-Commerce Missing Coupon menu (even after “enable use of coupon code”) in wordpress

Other queries related to this topic ..

1) Create Coupon not showing up under Woocommerce

2) In wordpress .. woocommerce coupon option missing.

And here is the solution for all of these..

Few days before i updated my woocommerce shop and after that i notice coupon is disappear from the menu.

Then i checked woo-commerce General tab to confirm if the coupon option is enable or not …

woocommerce coupon mising

Then scroll down to here…

enable use of coupon woocommerce

Okay.. it was enabled there and then i noticed that the coupon option is moved to under Marketing menu.. check below..

coupon option in woocommerce wp

Sometime it’s also shows under woo-commerce menu too..

under woocommerce coupon

That’s it .. if this is still missing then contact with me or with the plugin administrator. 🙂

Thanks 🙏

How to show all child pages of a specific wordpress page ?

Here are some other queries related to this topic …

How to show child pages of a parent page wordpress?

Show all pages of a parent page wp ?

How to display list of child pages of parent page in wordpress ?

How to get all child pages of a parent page in wordpress ?

Solution For all the above queries is ….

There are many way to show the child pages… One of them is using plugins… but i am going to do this using wp query function… I mean without plugin.

So first of all you need to login to website and go to Apearance > Theme Editor Functions.php file.

You have to add the below script to your active theme functions.php file…

get child pages of parent page wordpress through functions.php file

The wp query script below show only page title and excerpt only… you can add as per you need.

<?php
// Child pages of parent page to show in order
function parent_child_pages(){
      global $post;
	$args = array(
    'post_type'      => 'page', 
    'posts_per_page' => -1,
    'post_parent'    => '15', //place here id of your parent page	
    'order'          => 'ASC',
    'orderby'        => 'title'
 ); 
 
$childlist = new WP_Query( $args );
 
if ( $childlist->have_posts() ) : ?>

<ul class="childpages">
<?php while ( $childlist->have_posts() ) : $childlist->the_post();  ?>
<li id="child-<?php the_ID(); ?>">
  <h4><a href="<?php the_permalink();?>">
    <?php the_title();?>
    </a></h4>
  <div class="excerpt">
    <?php the_excerpt(); ?>
  </div>
  </li>
  <?php endwhile; 
	echo '</ul>';
            endif; 		 
        wp_reset_query(); 
}

//shortcode here
function parent_child_pages_shortcode($atts, $content = null) {
    ob_start();
    parent_child_pages();
	$out = ob_get_contents();
	ob_end_clean();
	return $out;
}

add_shortcode('parent_child_short','parent_child_pages_shortcode');
?>

Don’t forgot to change the ‘post_parent‘ id in your code… as defined below screenshot..

If you don’t know the how to find the ID of page then follow this tutorial ..

The above wp query is for page post type you can change that type to any custom post type to show your result.

After hit on save button..

Add the Shortcode [parent_child_short] in your page or post or wherever you want to show the result.

child pages of parent page wordpress

You can also add featured image or custom field script there to show in the result…. here is that…

For Featured image add this..

 <?php the_post_thumbnail();?>

For Custom filed value add this ..

<?php echo get_post_meta($post->ID, 'key', true); ?>

You can read more about how to get custom fields value from this topic.

If you don’t want to show or exclude some of them pages in the list then add this to query…

'post__not_in' => array( 143, 17),

You can add page ID‘s by using comma’s like below…. to exclude the pages

exclude the page

I hope this will help you.. 🙂

Feel Free to ask any query … Thanks 🙏

How to find ID of posts or pages in wordpress ?

Other Queries …

How to check the ID of pages or posts in wp?

How to show or get ID of pages and posts in wordpress?

Here is simple way to check that…

From Dashboard of the website.

Go to all pages or all posts or your custom post type to check ID‘s.

and hover on the title of any post and then it will show the ID in the bottom.. like screenshot below..

From front-end of the website…

Just open the post or page in single view and right click of the mouse and then choose option Inspect in browsers.

After click on that option…. it slide from the bottom. by default…

As above screenshot you can find your opened page ID in both places.

I hope this will help you …. 🙂

Feel Free to ask any query… Thanks 🙏

WordPress theme appearing or loading issue in dashboard – The7

Sometime if you face the issue of theme not showing correctly in dashboard… like screenshot is showing like the below etc..

the7 theme issue

So if you have the same issue just go to cpanel or connect to files through FTP.

And change the current live theme folder permission to 755 like below..

change permission wp

change folder permission

After apply this just goto wp dashboard and check there.. the issue will be gone.

I hope this helps you alot.. if still facing issue just contact with theme support person.

Or in any customization help related to wp theme just contact with me using form or chat box.

Thanks

Click to Chat