Category description on AMP | General - All in One SEO Pack Pro Forum | 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
Category description on AMP
March 1, 2018
7:15 pm
Avatar
Ediong
New Member
AIOSEOP
Forum Posts: 2
Member Since:
November 17, 2017
sp_UserOfflineSmall Offline

Hi,

I want to add my custom category description on my amp archives meta.

I have tried below but fails. I need the correct code. Thanks

 
<?php if ( is_category() ) { ?>
<meta name=”description” content=”<?php echo category_description(); ?>” />
<?php } ?>
March 2, 2018
4:49 am
Avatar
Michael Torbert
Admin
Forum Posts: 424
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 2, 2018
4:47 pm
Avatar
Ediong
New Member
AIOSEOP
Forum Posts: 2
Member Since:
November 17, 2017
sp_UserOfflineSmall Offline

content=”<?php echo category_description(); ?>”

I needed to right php command to call the content. I am already able to generate tag description, my only issue is with the categories. I can input them myself as I am using a custom amp theme.

March 3, 2018
6:17 am
Avatar
Michael Torbert
Admin
Forum Posts: 424
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:
27
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 36
Members: 22110
Moderators: 0
Admins: 8
Forum Stats:
Groups: 4
Forums: 28
Topics: 2054
Posts: 8897
Newest Members:
Karalee Mulder
Administrators: Michael TorbertPeter BayliesSupport TeamSteve MortiboyMatthew RobinsonSteve Klasen, Arnaud: 218Ashish Ravi
[i]
[i]
Skip to toolbar