Skip to content

Instantly share code, notes, and snippets.

@radiustheme
radiustheme / team-sample-data.json
Last active July 22, 2025 07:09
WordPress Team Plugin Import Sample Data JSON Format
{
"taxonomies": {
"team_designation": [
"App Developer",
"Theme Developer",
"UI/UX Designer",
"Project Manager",
"Senior Designer",
"QA Engineer",
"DevOps Engineer",
@radiustheme
radiustheme / Classified-Listing-Sample-data.json
Last active November 8, 2025 09:41
How to import sample data for classified listing like categories & locations
{
"locations": [
{
"name": "New York",
"slug": "",
"description": "",
"meta": [
{"image_id" : 45},
{"_icon" : ""}
],
@radiustheme
radiustheme / WooCommerce-Variation-Swatches.php
Last active July 24, 2019 05:47
How to remove full link from Product category or archive page in WooCommerce Variation Swatches by RadiusTheme
<?php
//Place this code in end of your theme function.php
// Add By RadiusTheme Support
remove_action('woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open', 10);
remove_action('woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close', 5);
add_action('woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_link_open', 5);
add_action('woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_link_close', 20);
function woocommerce_template_loop_product_title() {
echo sprintf('<h2 class="woocommerce-loop-product__title"><a title="%2$s" href="%1$s">%2$s</a></h2>',