Search
 
SCRIPT & CODE EXAMPLE
 

PHP

get first cat php wp

<?php
$category = get_the_category(); 
echo $category[0]->cat_name;
Comment

PREVIOUS NEXT
Code Example
Php :: Multiple trait declaration in PHP 
Php :: Query without chaining not working - Laravel 
Php :: how to change laravel logo image 
Php :: order review checkout page reset woocomerce 
Php :: Laravel Auth successfully logged in but keep redirecting to login page and not showing failed error flash message 
Php :: how to restrict user to some pages using php 
Php :: get datetime of excel cell in codeigniter 
Php :: laravel validateexception no error description 
Php :: laravel rename file if exists 
Php :: php artisan make:auth is not working in laravel 8 
Php :: php random string for filename 
Php :: Call to a member function delete() on null laravel 8 
Php :: Laravel image validation just reloads page and does nothing 
Php :: automatice prevent default the form in php 
Php :: calculate average in eager loading laravel 
Php :: install wget downloader php 
Php :: global phpcs 
Php :: php artisan vendor:publish aborted 
Php :: PHP how to skip file upload if file already exist 
Php :: pcntl_fork php mysql "MySQL server has gone away" 
Php :: beanstalk run laravel command 
Php :: Random select value on array factory Laravel 
Php :: send nested array to laravel resource 
Php :: How to Allow Users to Delete a Post From the Front-End 
Php :: Comment ajouter nofollow à un lien spécifique ou à tous les liens WordPress dans the_content 
Php :: Laravel docker-compose 404 not found Nginx 
Php :: php artisan spark not working in codeigniter 
Php :: SymfonyComponentHttpKernelExceptionNotFoundHttpException: POST http://localhost/post 
Php :: Laravel : Pass dynamic variables to routes 
Php :: laravel many to many update all pivot 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =