Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wordpress is_tag function

<?php
if ( is_category() ) {
	echo 'Category Archive';
} elseif ( is_tag() ) {
	echo 'Tag Archive';
}
?>
Comment

PREVIOUS NEXT
Code Example
Php :: how to read sqlite file in php 
Php :: append data in csv file php 
Php :: set posts_per_page 
Php :: laravel routes not working on production server 
Php :: mobile detect in laravel 
Php :: how make a variable global php 
Php :: export to excel in php 
Php :: php associative array join key values 
Php :: upload video in laravel 
Php :: null value in php 
Php :: date_default_timezone_set php bangladesh 
Php :: laravel echo html 
Php :: php new PDO timeout 
Php :: use php var in js 
Php :: phpmailer addattachment 
Php :: Sum two numbers in PHP with HTML input form 
Php :: foreign key in laravel 9 
Php :: fakher ul islam khan 
Php :: Root composer.json requires php ^7.1.3 but your php version (8.0.3) does not satisfy that requirement. 
Php :: The media must not be greater than 12288 kilobytes in laravel 
Php :: php require 
Php :: woocommerce product hooks 
Php :: php get all array keys in json 
Php :: get taxonomy name in taxonomy page wordpress dev 
Php :: error 500 internal server error in laravel 
Php :: use smarty variable in php 
Php :: symfony messenger rabbitMQ 
Php :: laravel model set new attribute 
Php :: php prepared statement upload file 
Php :: wordpress nav menu align right 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =