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
Guests
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: 388
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
Guests
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: 388
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: Ignacio Morros
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 35

Members: 20216

Moderators: 0

Admins: 8

Forum Stats:

Groups: 4

Forums: 28

Topics: 1922

Posts: 8215

Newest Members:

賀子 久保

Administrators: Michael TorbertPeter BayliesSupport TeamSteve MortiboyMatthew RobinsonSteve KlasenArnaud BroesAshish Ravi

[i]
[i]
Skip to toolbar