How to set default og:Image to every posts of a custom post type | Troubleshooting 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
How to set default og:Image to every posts of a custom post type
April 18, 2019
9:54 am
Avatar
Céline RODRIGUEZ
Member
AIOSEOP
Forum Posts: 11
Member Since:
September 28, 2016
sp_UserOfflineSmall Offline

Hi,

 

Can I set a default image to all posts of a custom post type ?

 

How how set content attribute of meta properties og:image, og:image:width and og:image:height ? Is there a filter that I can use on functions.php of my custom theme ?

 

Same questions for other properties like og:description, twitter:description itemprop=”image

 

Thanks in advance,

April 18, 2019
10:17 am
Avatar
Arnaud
Bruges, Belgium
Admin
Forum Posts: 218
Member Since:
April 24, 2016
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 **

April 18, 2019
10:39 am
Avatar
Céline RODRIGUEZ
Member
AIOSEOP
Forum Posts: 11
Member Since:
September 28, 2016
sp_UserOfflineSmall Offline

Hi,

 

First, thank you for quick answer.

 

I have already set default OG image on social metadata module settings.

 

I want to set 1 default OG image per post type.

 

I explain : Featured Image for article and page and all other post or default image if not exist <- It’s OK but default image is global and I want to set a default image per post type.

I want something like this :  First featured image. If it doesn’t exist -> post type default OG image. If both don’t exist -> default OG image 

 

(Sorry for my bad english)

April 18, 2019
10:49 am
Avatar
Arnaud
Bruges, Belgium
Admin
Forum Posts: 218
Member Since:
April 24, 2016
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 **

April 18, 2019
11:57 am
Avatar
Céline RODRIGUEZ
Member
AIOSEOP
Forum Posts: 11
Member Since:
September 28, 2016
sp_UserOfflineSmall Offline

OK thank you very much !

Forum Timezone: America/New_York
Most Users Ever Online: 964
Currently Online:
26
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