I've the following issue,
http://i.stack.imgur.com/8Zwyj.png
Now as you can see in the image it should show recipes after "Cookies". Now the thing is sometimes the category has Recipes word. for this i'm trying to make php conditioning rule to check if recipes exist in the title then echo nothing else echo recipes.
else if( is_archive() ){
//echo __('Archive for ', 'recipe'). single_month_title(' ',false);
echo single_cat_title('Amish '). single_month_title(' ',false). (' Recipes');
}
This the current code i've here. I need to make (' Recipes') show if it's not exist in the tile otherwise show.
Hopefully that's clear it up.