Custom Meta Description - auto generated | Page 2 | Configuring All in One SEO Pack Pro | Support | Semper Plugins

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Custom Meta Description - auto generated
March 14, 2018
4:34 pm
Avatar
Michael Torbert
Admin
Forum Posts: 415
Member Since:
October 13, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

March 14, 2018
7:14 pm
Avatar
web
Member
AIOSEOP
Forum Posts: 8
Member Since:
March 14, 2018
sp_UserOfflineSmall Offline

Ok, so just for the title, should this not work? I really cannot get it to work

add_filter( ‘aioseop_title’, ‘aioseop_mod_wc_title’, 10, 1 );

function aioseop_mod_wc_title( $original_title ){
$sku = ”;
$title = ”;

global $post;
if( ‘product’ !== $post->post_type || ! is_single() ){
return $original_title;
}
$title = $post->post_title;

$sku = get_post_meta($post->ID, ‘_sku’, true);

$meta_title = “$title – $sku”;

return $meta_title;
}

March 14, 2018
8:53 pm
Avatar
Michael Torbert
Admin
Forum Posts: 415
Member Since:
October 13, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

March 15, 2018
3:25 pm
Avatar
web
Member
AIOSEOP
Forum Posts: 8
Member Since:
March 14, 2018
sp_UserOfflineSmall Offline

I’m sorry, but I don’t think this is the issue. This only happens when I copy and paste from my text editor to this forum. I am unsure as to why it is doing that, but it’s not like that in my text editor. I have attached a screenshot. 

 

Screen-Shot-2018-03-15-at-12.24.18-PM.pngImage Enlarger

March 15, 2018
3:36 pm
Avatar
Michael Torbert
Admin
Forum Posts: 415
Member Since:
October 13, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

March 15, 2018
3:43 pm
Avatar
web
Member
AIOSEOP
Forum Posts: 8
Member Since:
March 14, 2018
sp_UserOfflineSmall Offline

As per my previous screenshot, the code in github was exactly what I had typed into my editor previously (with the correct ‘ ‘). Your code worked for the meta description previously (and I could see it visually within the product page), but it is not working for the Title within the AIOSEO on the product page. 

 

I have even tried copying and pasting your github code in place of what I had typed in and nothing has changed. 

 

Thanks

March 15, 2018
3:46 pm
Avatar
Michael Torbert
Admin
Forum Posts: 415
Member Since:
October 13, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

March 15, 2018
4:14 pm
Avatar
Michael Torbert
Admin
Forum Posts: 415
Member Since:
October 13, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

March 15, 2018
4:16 pm
Avatar
web
Member
AIOSEOP
Forum Posts: 8
Member Since:
March 14, 2018
sp_UserOfflineSmall Offline

Oh my apologies, I don’t know why I didn’t think to check the code and only check the preview snippet. 

Thanks for helping!

March 15, 2018
4:18 pm
Avatar
Michael Torbert
Admin
Forum Posts: 415
Member Since:
October 13, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

Forum Timezone: America/New_York
Most Users Ever Online: 964
Currently Online:
36
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 35
Members: 21686
Moderators: 0
Admins: 8
Forum Stats:
Groups: 4
Forums: 28
Topics: 2025
Posts: 8760
Newest Members:
多美子 梅田
Administrators: Michael TorbertPeter BayliesSupport TeamSteve MortiboyMatthew RobinsonSteve Klasen, Arnaud: 197Ashish Ravi
[i]
[i]
Skip to toolbar