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

Woocommerce open external product in new tab

Posted on November 1, 2022November 1, 2022 by Amit

Below is the code to open the woocommerce external product link in a new tab:

Continue reading
Codeflask, Woocommerce

How to get full size featured image of post

Posted on July 25, 2022November 1, 2022 by Amit

Here is the code to get full size image of a wordpress post by post id Below is the code

Continue reading
Codeflask

Remove duplicate li with class name

Posted on September 14, 2021September 14, 2021 by Amit

How to remove duplicate li or div from a page or section using jquery. Below is the code to do

Continue reading
Codeflask

Hide particular category from frontend

Posted on September 2, 2021September 13, 2021 by Amit

Add this code in your activated theme in functions.php file to hide some categories from frontend in wordpress woocommerce. In

Continue reading
Codeflask, Woocommerce

Exclude products by id in shop and category page

Posted on September 2, 2021September 13, 2021 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, 2021September 10, 2021 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, 2021September 10, 2021 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, 2021June 5, 2021 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, 2021June 5, 2021 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, 2021June 5, 2021 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

Posts navigation

1 2 Next Posts»

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