Try the correct syntax:
<?php the_subtitle(); ?>
<?php get_the_subtitle( $id ); ?>
Related Posts:
- Uncaught Error: Call to undefined function wp_generate_attachment_metadata() @ wp-cron
- When unit testing a plugin, does the plugin need to be in the wp-content/plugins directory of the WordPress tests install?
- Using require_once in a Plugin?
- Simple form that saves to database
- How to call plugin path in JS?
- Get Current user email as a return string value
- How can I make content disappear when a user logs in?
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- Determining where fopen() is writing files when used from WordPress AJAX call [closed]
- How Restrict access to admin dashboard by specific static ip?
- New Plugin: Post update pushes a copy as a revision
- Overide a function that is inside a plugin
- How to get images from EDD post?
- How to install and activate a plugin via an external PHP script
- How to remove xmlns on language_attributes()?
- Open Post Thumbnail in New Child Theme File in WordPress
- Add keywords meta to index.php page
- Download any file after submitting a form [closed]
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- Executing my function once on a specific time
- Redirecting a buddyboss profile tab to a different tab if not subscribed to a specific membership
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- Access WordPress data from external PHP application.
- Why “Call to a member function on a non-object” in plugin only?
- What are the specifics of WordPress development I need to know? [closed]
- After upgrade to php 7 plugin/them updates broke [closed]
- How to echo text in browser instead of download junk file?
- How to create a custom post type that contains another custom post type?
- WP Query. Is there a maximum size?
- Issue running db create table query from static method
- Can i add custom code in Source, Header from function.php?
- How to make multiple admin pages for one plugin?
- Problem with isset and $_POST
- Allowing users to Sign-up > Login > Post articles that need approval
- Use $variable from file1.php in file2.php (different file paths)
- Redeclare function after plugin activation
- get_edit_post_link() not working on wp-cron
- Woocommerce Backend Search by Title and SKU
- Control page content visibility based on URL parameter
- How to include a custom field in the woocommerce email?
- Adding a simple Javascript file with a plugin
- How to add/change (woocommerce) product tab icon
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- I want to generate the pdf and save it in library?
- How to write to a separate PHP file in plugin settings
- Trying to make a simple wordpress plugin, having difficulties understanding how to make it?
- wordpress plugin license issue -New plugin development
- Dynamic Image Replacement through call rail phone call tracking plugins in wordpress
- How can I show registration form inside modal?
- How to display results from a data table with an encrypted user id?
- How to displaying Custom image, text and default image logo from Redux Framework option panel
- Plugin Admin panel checkbox unchecked after submit
- Getting URL GET parameter with Code snippets and storing it in database?
- WooCommerce – new order email hook
- save_post_product action not firing
- How to get the custom field value using SQL query
- How to list datas from database in a topic?
- Editing a coupon generating plugin
- WordPress fatal error from php protocol codes
- How use wp_insert_post and add og:custom tags?
- Display pagination in reservation Plugin and and Print table as pdf
- Changing wordpress/woocommerce notices default message to other languages (text)
- Why does my custom plugin only function correctly once per page?
- How to change a wordress plugin php code in my child’s functions.php file?
- What is the right way to populate a dropdown from MySql?
- make p tag collapsed after 3 rows
- I can’t view the orders on the woocomerce dashboard with the brainblocks plugin
- load plugin in code snippet
- Generate and send ICS file through WordPress
- WP Plugin permissions – create new files
- Run a Change Role Cron Job on WordPress via cPanel
- How to display variables from plugin?
- How to make the first letter of a post title uppercase, in a plugin?
- Creating Admin Submenu Page via Class Method
- .htaccess file doesn’t work, with hundred tries
- How to change the product short description for each product with PHP?
- I want add repository theme folder
- ACF Repeater Field Question [closed]
- How to create a dashboard for logged-in users with custom functionality? [closed]
- Cannot access variables within a widget
- How do I convince this button to do something when it is clicked?
- WordPress function to add text
- TheCartPress plugin – Make every item in store unique
- Postal address auto-complete on profile page
- Doing action based on input from options menu
- Insert dynamic content into posts
- WordPress Related Plugin – Adding an image
- WordPress User Frontend Editing Custom Fields
- My wordpress site wont load, it gives header error warnings
- Can anyone see a syntax error in this? [closed]
- Strict Standards: Non-static method in sidebar generator
- Fast Tranfering my WordPress site to another server
- Duplicating wordpress install issue
- wp_handle_upload – specified file failed upload test
- Warning: Undefined variable $admin
- How to change all the urls of the WordPress site?
- How do I remove the filter from the orders and add custom status in Dokan?
- How to make a Template page to show the information of different things Shop and Product page?
- Split Million WordPress Post’s Into Multiple Database Server
- public custom posts not showing in my wordpress plugin