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

Exclude products by id in shop and category page

Posted on September 2, 2021October 15, 2024 by Amit

Add this code in your activated theme in functions.php file. You can replace the product id with your own product

Continue reading
Codeflask, Woocommerce

Create cookies in php from iframe

Posted on September 2, 2021October 15, 2024 by Amit

In this post you will find the code to create cookies in iframe in php language

Continue reading
Codeflask

How to create cookie from iframe in javascript

Posted on September 2, 2021October 15, 2024 by Amit

Here is the code to create cookie from iframe in javascript:

Continue reading
Codeflask

How to create shortcode in wordpress

Posted on June 5, 2021October 15, 2024 by Amit

Write this below code in your activated theme functions.php file. Here we are creating the [shortcode].

Continue reading
Codeflask

How to include custom style in plugin

Posted on June 5, 2021October 15, 2024 by Amit

Below is the code to how to add your custom stylesheet in your custom plugin.

Continue reading
Codeflask

Create custom post type with custom meta boxes

Posted on June 5, 2021October 15, 2024 by Amit

Paste this code in your theme functions.php file to create custom post type “Events” with custom meta box “Event Date”

Continue reading
Codeflask
reactjs-onclick-dynamic-html-elements

Click event in reactjs for dynamic html elements

Posted on June 9, 2020October 15, 2024 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, 2020October 15, 2024 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, 2020October 15, 2024 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, 2020October 15, 2024 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

Posts navigation

«Previous Posts 1 2 3 Next Posts»

Recent Posts

  • How to implement paging in any page in wordpress
  • Create a contact form 7 submission with inbuilt api with the use of javascript
  • Send data to make.com webhook
  • Show free label if product price is 0 (zero)
  • Woo commerce required minimum quantity to purchase products

Categories

  • Codeflask
  • Woocommerce

Tags

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