Àpèjúwe
Dropndot Post Subtitle allows you to easily add subtitles (subheadings) to your WordPress posts, pages, and custom post types. The plugin integrates seamlessly with both Gutenberg and Classic Editor, and provides full support for modern WordPress development with WPGraphQL and REST API integration.
Features
- Gutenberg Sidebar Panel Ìtumọ̀ Yorùbá: – Easy-to-use subtitle field in the document sidebar
- Classic Editor Support Ìtumọ̀ Yorùbá: – Subtitle field appears right after the title
- Custom Post Types Ìtumọ̀ Yorùbá: – Enable subtitles for any post type
- WPGraphQL Integration Ìtumọ̀ Yorùbá: – Query subtitles in your GraphQL queries
- REST API Support Ìtumọ̀ Yorùbá: – Access subtitles via WordPress REST API
- Quick Edit Ìtumọ̀ Yorùbá: – Edit subtitles directly from the posts list
- Admin Columns Ìtumọ̀ Yorùbá: – See subtitles at a glance in the admin
- Shortcodes Ìtumọ̀ Yorùbá: – Display subtitles anywhere with
[dropposu_subtitle] - Developer Friendly Ìtumọ̀ Yorùbá: – Simple PHP functions for theme integration
Usage
Shortcode:
[dropposu_subtitle]
In Theme Templates:
<?php dropposu_subtitle(); ?>
With HTML Wrapper:
<?php dropposu_subtitle(0, '<h2 class="subtitle">', '</h2>'); ?>
WPGraphQL:
query {
post(id: "/my-post/", idType: SLUG) {
title
subtitle
}
}
REST API:
Access via /wp-json/wp/v2/posts/123 Ìtumọ̀ Yorùbá: – response includes dropposu_subtitle field.
Developer Documentation
Functions
dropposu_subtitle( $post_id, $before, $after )
Display the subtitle.
Parameters:
* $post_id (int) Ìtumọ̀ Yorùbá: – Post ID. Default: current post
* $before (string) Ìtumọ̀ Yorùbá: – HTML before subtitle
* $after (string) Ìtumọ̀ Yorùbá: – HTML after subtitle
get_dropposu_subtitle( $post_id, $before, $after )
Get the subtitle (returns string, does not echo).
Parameters:
* $post_id (int) Ìtumọ̀ Yorùbá: – Post ID. Default: current post
* $before (string) Ìtumọ̀ Yorùbá: – HTML before subtitle
* $after (string) Ìtumọ̀ Yorùbá: – HTML after subtitle
Support
For support, please visit the plugin settings page or contact the developer at https://dropndot.com
Ìgbéwọlẹ̀
- Upload the plugin files to
/wp-content/plugins/dropndot-post-subtitle/ - Activate the plugin through the ‘Plugins’ screen in WordPress
- Go to Settings Dropndot Post Subtitle to configure which post types should support subtitles
- Start adding subtitles to your posts!
FAQ
-
Where is the subtitle field in Gutenberg?
-
The subtitle field appears in the right sidebar panel, below the Featured Image section. Make sure you have enabled subtitle support for that post type in Settings Dropndot Post Subtitle.
-
Where is the subtitle field in Classic Editor?
-
The subtitle field appears right after the title field at the top of the editor.
-
How do I display the subtitle in my theme?
-
Use
<?php dropposu_subtitle(); ?>in your theme template files where you want the subtitle to appear. -
Can I use subtitles with custom post types?
-
Yes! Go to Settings Dropndot Post Subtitle and enable subtitle support for any public post type.
-
Does this work with WPGraphQL?
-
Yes! The plugin automatically adds a
subtitlefield to all supported post types in your GraphQL schema. -
Does this work with the REST API?
-
Yes! Subtitles are available via the
dropposu_subtitlefield in REST API responses. -
Can I use shortcodes?
-
Yes! Use
[dropposu_subtitle]in your content or widgets.
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“Dropndot Post Subtitle” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaTúmọ̀ “Dropndot Post Subtitle” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
1.0.0
- Initial public release
