post category name shortcode ?
-
Hey, I love the plugin but I need help with something. when the email is sent, there is no information about in which category the post was published. There are like 200 categories in my web site and Its confusing for users to follow. the plugin would be even better If it had this option. Its not clear from the post title that under which category the post is published. as a way round, I searched the web and learned how to add post category names into the post title with add filter :
if ( in_category( ‘example_category’))
return ‘example_default_name: ‘.$title;I was able to add default names to post titles to indicate the category name. This perfectly added the default text into the post title (eg. Sports: Soccer is fun)(soccer is the default name to be added before original post title), but still when the email is sent, the plugin does not use my custom code, It keeps sending the original post title without adding my pre-set title. I searched the plugins source code a lot but since I’m not a developer myself (just a guy who created a website), I couldn’t find anything. I’d really appreciate If you could help me with this problem. I want to add category names into post titles as the mail subject. eg. Sports: Soccer is fun. Thank you in advance. Cheers.
The topic ‘post category name shortcode ?’ is closed to new replies.