Web Dev Tuts

/ Stuffs About Website Development /

Menu
  • Home
  • Wp Plugins
  • How To
  • FAQ
    • GIT
    • JQuery
    • PHP
    • WooCommerce
    • WordPress
  • Contact Us
Menu

How to add wp_editor Dynamically

Posted on October 2, 2020October 4, 2020 by Edesa Cee

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 : “proj_desc”});   Source: https://carlofontanos.com/loading-wp_editor-via-ajax/

Read more
How to Hide Certain Pages from Editor (WP Dashboard)

How to Hide Certain Pages from Certain Users (WP Dashboard)

Posted on February 27, 2020March 1, 2020 by Edesa Cee

There are instances wherein there is a need to hide some pages from certain users because we don’t want them to edit those pages. Code snippet:

Read more

How to Set Up Gmail SMTP

Posted on March 27, 2019February 27, 2020 by Edesa Cee

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 secure app access. Open google account settings. Click Security on the left pane. Turn on Less secure app access. Note: Turning…

Read more

How to Set Up Virtual Host in Localhost & Xampp

Posted on March 3, 2019April 19, 2022 by Edesa Cee
Read more

How to Determine the Current WordPress Version Used

Posted on January 1, 2019April 21, 2019 by Edesa Cee

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 releases if you’re currently using an older version. 4.6.13 – Applicable between 4.6 & 5.3 – Unable to test 5.3 –…

Read more

How to Install Multiple Xampp with Different PHP Versions

Posted on December 12, 2018January 10, 2019 by edesac

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 it did not work for me. Below are the steps that fixed the error for me. Open your new Xampp control…

Read more

How to Insert Codes to Any Plugin or Theme

Posted on November 19, 2018November 19, 2018 by edesac

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 you to. In order to know if you can manipulate the output, you have to find out where a particular section…

Read more

How to Add Color Presets to Your Beaver Builder Editor

Posted on October 23, 2018November 23, 2018 by Edesa Cee

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 plugin. The most common file to add it is in your theme or child theme’s functions.php. Here is the code snippet:…

Read more

How to Set-up SSL in Xampp

Posted on May 23, 2018February 27, 2020 by edesac

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 end of that tutorial. Take note that we changed the certificate folder in step 2 to cert-{your-domain}, so make sure you…

Read more

WordPress + AJAX

Posted on February 12, 2018November 23, 2018 by Edesa Cee

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 cannot use type POST

Read more
  • 1
  • 2
  • 3
  • 4
  • …
  • 7
  • Next

Recent Posts

  • How to add wp_editor Dynamically
  • How to Hide Certain Pages from Certain Users (WP Dashboard)
  • How to Set Up Gmail SMTP
  • How to Set Up Virtual Host in Localhost & Xampp
  • How to Determine the Current WordPress Version Used
  • AngularJs
  • CSS
  • For Me Only
  • geo location api
  • GIT
  • GoDaddy
  • Hosting
  • How To
  • Javascript
  • JQuery
  • Magento
  • My Notes
  • PHP
  • Private
  • Sass
  • WooCommerce
  • Wordpress
  • Xampp
© 2023 Web Dev Tuts | Powered by Minimalist Blog WordPress Theme