Find out more latest movies news with us.

Find out more latest movies news with us.
Find out more latest movies news with us.

Thursday, 7 December 2017

error sending email with gmail smtp

A PHP Error was encountered
Severity: Warning
Message: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Connection timed out)
Filename: libraries/Email.php

Could anyone help me?

Programmatically Set the WordPress User Role

you can use add role hook of wordpress to add new role:

$user = new WP_User( $user_id );
$user->add_cap( $staudent);
$user->remove_cap( 'professors');

How to add custom post type to WooCommerce

you can add below hook to add new custom post type:


add_action( 'init', 'create_post_for_pro' );
   function create_post_for_pro() {
 register_post_type( 'meal',array());
} 

Sunday, 19 November 2017

Wordpress Development Company Jaipur, India – Hire Wordpress Developer

We have 5+ years of experience in developing WordPress development with easy to use templates and customization. We maintain your wordpress website including its content and data.

Our developers have knowledge of wordpress themes, templates which improve your wordpress website design and development functionality.

WordPress Site is Down

When you look your WordPress website and got screen with your account has been suspended. This is coming due to hosting due payment.

Another reason is that your website has been infected with malware. If shared hosting website contains infections than possibilities go high that the other websites also infected on the same server.

My WordPress website just got infected or hacked

Most website hosting identifies the infections and informs you about them because they don’t provide any clean up services so, you need to take action or clean up yourself.

There are some an effort to save WP website, I would share some things you should do immediately when you find a WordPress Infection or hack.

How to creating a Sub-Level Admin Page in wordpress

In the WordPress have a few functions to add sub-level pages in backend. Here we will let you some WordPress hooks to built-in top level pages functions:

• To add a menu item under posts use add_posts_page
• To add a menu item under pages use add_pages_page
• To add a menu item under media use add_media_page

Thursday, 16 November 2017

Adding A Widget Area To Your WordPress Theme

Find the location where you want to place the menu
 if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('my_menu') ) : ?><?php endif;?>




For more
tutorials you can visit our articles or visit questions page http://www.webetutorial.com/question/adding-a-widget-area-to-your-theme-files/

You can join us on twitter https://twitter.com/webetutorialcom or subscribe us on YouTube https://www.youtube.com/channel/UCOOwypftpLyhJxeF-tUQXSw/videos?view_as=subscriber for more web
design & development tutorials.
 

Enable Maintenance mode Command in Magento2

magento maintenance:{enable|disable}



For more
tutorials you can visit our articles or visit questions page http://www.webetutorial.com/question/enable-maintenance-mode-command-in-magento2/

You can join us on twitter https://twitter.com/webetutorialcom or subscribe us on YouTube https://www.youtube.com/channel/UCOOwypftpLyhJxeF-tUQXSw/videos?view_as=subscriber for more web
design & development tutorials.
 

upload file in php

You can use the below function:

move_uploaded_file($_FILES[“file”][“tmp_name”],
“upload/” . $_FILES[“file”][“name”]);



For more
tutorials you can visit our articles or visit questions page http://www.webetutorial.com/question/upload-file-in-php/

You can join us on twitter https://twitter.com/webetutorialcom or subscribe us on YouTube https://www.youtube.com/channel/UCOOwypftpLyhJxeF-tUQXSw/videos?view_as=subscriber for more web
design & development tutorials.
 

Insert user in wordpress

you can use the below users function of wordpress:

$user_id = wp_insert_user( $userdata ) ;

wp_update_user([
    'ID' => $user_id, // this is the ID of the user you want to update.
    'first_name' => $fname,
    'last_name' => $lname,
]);
 

For more
tutorials you can visit our articles or visit questions page http://www.webetutorial.com/question/insert-user-in-wordpress-programmatically/ .

You can join us on twitter https://twitter.com/webetutorialcom or subscribe us on YouTube https://www.youtube.com/channel/UCOOwypftpLyhJxeF-tUQXSw/videos?view_as=subscriber for more web
design & development tutorials.



 

delete_user_meta WordPress

you can use the below hook to delete user meta.

delete_user_meta( wp_get_current_user()->ID, $meta_key );
 
 



For more
tutorials you can visit our articles or visit questions page.

You can join us on twitter https://twitter.com/webetutorialcom or subscribe us on YouTube https://www.youtube.com/channel/UCOOwypftpLyhJxeF-tUQXSw/videos?view_as=subscriber for more web
design & development tutorials.


 

Most Viewable Posts

Reipe For Chicken

 Hello Friends, We are here to let you about the recipe for chicken. In your busy daily life, you need a guide to cook recipes that you can ...