Search Only Tag

function search_only_tag($query) { if (!is_admin() && $query->is_main_query() && $query->is_search) { $query->set(‘tag’, ‘green’); // Replace with tag name } return $query; } add_action(‘pre_get_posts’, ‘search_only_tag’);Continue reading

Search Only Category

function search_only_category($query) { if (!is_admin() && $query->is_main_query() && $query->is_search) { $query->set(‘cat’, ‘3’); // Replace with category ID(s) } return $query; } add_filter(‘pre_get_posts’, ‘search_only_category’);Continue reading

Search Only Post

function search_only_post($query) { if (!is_admin() && $query->is_main_query() && $query->is_search) { $query->set(‘post_type’, ‘post’); } return $query; } add_filter(‘pre_get_posts’, ‘search_only_post’);Continue reading

Terraform file

terraform { required_providers { stripe = { source = “stripe/stripe” version = “0.1.3” } } } provider “stripe” { # API key is read from STRIPE_API_KEY environment variable # Alternatively, set it explicitly (not recommended for production) # api_key =…Continue reading

Add Hash Tag

a[class^=”tag-cloud-link”]::before { content: ‘#’; color: blue; // optionally add theme color font-weight: bold; // optionally make thicker }Continue reading

Untitled Snippet

Sabor Elegante | Recetas de Cocina Fáciles y Deliciosas 🍳 Sabor Elegante Inicio Recetas Nosotros Contacto Privacidad Cocina con Pasión Recetas fáciles, saludables y elegantes para todos los días Ver Recetas Espacio Publicitario 728×90 – Google AdSense Italiana Pasta Alfredo…Continue reading