9:00 am
April 6, 2016
Is there some php code that can set the primary category (wordpress) based upon if certain keywords are found in the post title? I found the code you provided for determining categories, however, it does not set a primary category. Currently, if a post has x number of keywords, the post is assigned to x number of categories, however, the primary category becomes the first category alphabetically.
Thank you.
Most Users Ever Online: 541
Currently Online:
3 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 84
s.baryshev.aoasp: 64
Freedom: 61
MediFormatica: 49
B8europe: 47
saviulisse67: 45
Member Stats:
Guest Posters: 338
Members: 2650
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1540
Posts: 7771
Newest Members:
nick.jtsevents, christophe.megaphone, r94alves, adammostynsmith1987, ionut.lumezanu, ndorado21Administrators: CyberSEO: 3684