I'm using shopperpress theme and am desperately trying to pull in the parent category to use in the title tag.. would this work for my fix? The main problem I have is identifying the Parent Category so the variable fetches what I need?
wp-admin/admin.php?page=wpseo_titles&settings-updated=true#top#template_help -
this is ideally what I'm looking for..
%%term_title%% %%page%% %%category_parents%% %%sep%% %%sitename%%
I know I will probably need to set up an ID for it like so in wordpress-seo/inc/wpseo-functions.php:
'%%category_parents%%' => wpseo_get_terms( $r->ID, 'category_parents' ),
but where and what would I add it so it can get..?
any help much appreciated!