Skip to content
Codeflask – Programming blog

Codeflask – Programming blog

Tools and code snippets for techies

  • Home
  • Tools
    • Google Map Link Generator
    • Password Generator
  • WordPress Plugins
    • Conversion and Tracking Codes
    • Document Uploader
  • Email Us
reactjs-onclick-dynamic-html-elements

Click event in reactjs for dynamic html elements

Posted on June 9, 2020June 9, 2020 by Amit

Below is the sample code for reactjs to click on dynamically created elements. You can get attribute values and can

Continue reading
Codeflask

Enable SSL on AWS Lightsail in wordpress

Posted on May 26, 2020May 27, 2020 by Amit

Add the below code: in your wp-config.php file below the line. /* That’s all, stop editing! Happy publishing. */ and

Continue reading
Codeflask

Generate and Configure SSL with Nginx

Posted on May 19, 2020May 19, 2020 by Amit

Here are the steps to generate and configure ssl with nginx. You can use the command below to generate and

Continue reading
Codeflask

Remove post type name from url from custom post type

Posted on April 16, 2020April 16, 2020 by Amit

Add the below code in your functions.php in wordpress theme and after that open settings > permalinks and save the

Continue reading
Codeflask

Redirect custom post type single page to not found page

Posted on April 7, 2020April 7, 2020 by Amit

Here are the steps to redirect your custom post type single pages to not found page. Add the below code

Continue reading
Codeflask

Fetch description from wikipedia api of any keyword

Posted on April 5, 2020April 16, 2020 by Amit

Below is the code to fetch the description from wikipedia api of any keyword. Here we fetch the spices description.

Continue reading
Codeflask

How to configure url rewriting in nginx with wordpress

Posted on April 4, 2020April 4, 2020 by Amit

Here are the instructions to configure the url rewriting in nginx with wordpress

Continue reading
Codeflask

how to create mysql user and grant all privileges to database

Posted on April 4, 2020April 4, 2020 by Amit

Below are the steps to create mysql user and grant all preveliges to database

Continue reading
Codeflask

Ubuntu PHP-fpm not connected with mysql

Posted on April 4, 2020April 4, 2020 by Amit

If you are using nginx and unable to connect php with mysql in your php code. Try below commands from

Continue reading
Codeflask

Add theme options to wordpress

Posted on April 4, 2020April 4, 2020 by Amit

Below is the code to add theme options to wordpress, in this below code you can add fields like text

Continue reading
Codeflask

Posts navigation

«Previous Posts 1 2

Facebook

Code Flask :: Free PHP, Jquery Javascripts

Recent Posts

  • Woocommerce open external product in new tab
  • How to get full size featured image of post
  • Remove duplicate li with class name
  • Hide particular category from frontend
  • Exclude products by id in shop and category page

Categories

  • Codeflask
  • Woocommerce

Tags

api AWS cookies custom plugin custom post type functions.php javascript jquery Lightsail metaboxes mysql nginx php php-fpm reactjs SSL theme-options ubuntu wiki wikipedia wooommerce wordpress