May 4, 2011

How to automatically populate the Subtitle field | CyberSEO Pro | CyberSEO support forum

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_TopicIcon
How to automatically populate the Subtitle field
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
August 25, 2026
5:58 pm
Avatar
atanbakouee
Member
Members
Forum Posts: 6
Member Since:
July 28, 2026
sp_UserOfflineSmall Offline

Login to see the quote

August 26, 2026
6:33 am
Avatar
CyberSEO
Admin
Forum Posts: 4277
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

CyberSEO Pro does not have a predefined custom field for subtitles. The subtitle field in your WordPress post editor is generated by your WordPress theme or a third-party plugin.

While CyberSEO Pro can generate a subtitle using Claude or any other LLM, and save it to that field, the plugin needs to know the exact meta key of the custom field. Since the field belongs to your active theme, its impossible to tell what the meta key is.

There are two ways you can find the correct custom field name yourself. One way is to use your browser's web inspector tool on the post editor page and look at the ID of the subtitle input field, as it often matches the meta key name. Alternatively, you can create a test post, fill in the subtitle field, publish the post, and check the standard WordPress custom fields block to see which key was saved to the database.

Once you find the exact name of the custom field, you can put any value there using the following code:

Login to see the code

or 

Login to see the code

August 27, 2026
2:28 pm
Avatar
atanbakouee
Member
Members
Forum Posts: 6
Member Since:
July 28, 2026
sp_UserOfflineSmall Offline

I tested it with Custom PHP.

This code runs correctly for Login to see the code

, but it does not create or save the subtitle field:

if (!cseo_post_exists($post)) {
    $post['custom_fields']['jnews_post_subtitle'] = 'CYBERSEO SUBTITLE TEST';
}

The subtitle input in my editor has:

  • id="jnews_post_subtitle"
  • name="jnews_post_subtitle"

However, after publishing, no Login to see the code

post meta is created and the Subtitle box remains empty.

This is the JNews theme.

Question: What is the correct Login to see the code

meta key (or the correct CyberSEO method) to populate the JNews Subtitle field automatically?

August 27, 2026
2:57 pm
Avatar
CyberSEO
Admin
Forum Posts: 4277
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

This code saves the value to the custom field with the name you specified. Just open a post created by the plugin and check its custom fields (you can access them in the top-right corner, where it says Screen options). If the subtitle doesn't appear, it means the actual name of the custom field for it isn't "jnews_post_subtitle", but something else. Contact the developer of your WordPress theme for clarification.

Here's an example of what CyberSEO Pro actually generates using the custom PHP code from your post above:

scr.png

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 1026

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 87

harboot: 75

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

tormodg: 53

Member Stats:

Guest Posters: 338

Members: 3312

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1760

Posts: 9082

Newest Members:

ip.niyaz, news.ahwal, info.sindimedia, jshallo, cycling84.icloud, ahingunes

Administrators: CyberSEO: 4277