Author Topic: is_category add banner picture seperate slug and slug no special char  (Read 49 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 1889
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
is_category add banner picture seperate slug and slug no special char
« on: กุมภาพันธ์ 08, 2019, 09:01:52 PM »
is_category add banner picture seperate slug and slug no special char

###Single banner
is_category(travel) || (is_single() && in_category(travel))
###Single banner
is_category(eatingout) || (is_single() && in_category(eatingout))

###Combine with 3 banner in page and slug with no “-“ if have “-“ bug will occurred.
is_category(healthybeauty) || (is_single() && in_category(healthybeauty)) ||
is_category(bbeauty) || (is_single() && in_category(bbeauty)) ||
is_category(bhealthy) || (is_single() && in_category(bhealthy))