Web Dev Tuts Blog

How to add wp_editor Dynamically

How to add wp_editor Dynamically

Add this to your php file wp_enqueue_editor(); Add this on your script after you load the wp_editor elements to your web page. tinymce.execCommand( ‘mceRemoveEditor’, false, ‘proj_desc’ ); tinymce.execCommand( ‘mceAddEditor’, false, ‘proj_desc’ ); quicktags({id :...

How to Set Up Gmail SMTP

How to Set Up Gmail SMTP

1. Enter these data. Gmail SMTP server address: smtp.gmail.com Gmail SMTP username: full Gmail address (e.g. username@gmail.com) Gmail SMTP password: Gmail password Gmail SMTP port (TLS): 587 Gmail SMTP port (SSL): 465 Gmail SMTP TLS/SSL required: yes 2. Turn on Less...

How to Determine the Current WordPress Version Used

How to Determine the Current WordPress Version Used

Option #1: When logged in, go to {domainname}/wp-admin/about.php – there you can see what is the current version of your WordPress site. On that page, you can also see other information such as new...

How to Install Multiple Xampp with Different PHP Versions

How to Install Multiple Xampp with Different PHP Versions

Are you trying to install another Xampp Server with a different version for whatever reason you have and you encountered an error regarding ports? Some would say that you should edit a file, but...

How to Insert Codes to Any Plugin or Theme 0

How to Insert Codes to Any Plugin or Theme

If you’re a web developer and you’re trying to modify the output of any plugin or theme without editing the plugin or theme itself, you can only if the plugin or theme developer allows...

How to Add Color Presets to Your Beaver Builder Editor

How to Add Color Presets to Your Beaver Builder Editor

To add predefined colors in your beaver builder’s color picker, you have to add the ff. codes to any file that get’s executed by WordPress all the time. You can create your own custom...

How to Set-up SSL in Xampp 0

How to Set-up SSL in Xampp

First, go to your apache directory. Create a folder. Name it as crt-{your-domain}, just in case you want to create multiple ssl domains in your localhost. Go to https://shellcreeper.com/how-to-create-valid-ssl-in-localhost-for-xampp/ and follow Step 3 till the...

WordPress + AJAX 0

WordPress + AJAX

Action wp_ajax Always Returning 0 One of the common reason why this can happen is when the user is not logged in. Try adding the ff: add_action(‘wp_ajax_nopriv_extract-files’, ‘extractFiles’); Also, when you’re using jsonP, you...

Errors I Encountered When Setting Up a Magento Site 0

Errors I Encountered When Setting Up a Magento Site

I have been using WordPress all my life (just exaggerating) in building websites, and everything that I need for a website, may it be a blog, a portfolio, or an e-commerce one, can be...