Yes, you can use functions from plugins in your theme. Please use the function_exists() function to make sure that the function does exit. I used the Breadcrumbs Plus in one of the themes like this:
<?php
if (function_exists('breadcrumbs_plus'))
{
$breadcrumb_options = array(
'prefix' => '<div id="breadcrumb">',
'suffix' => '</div>',
'title' => 'Du er her: ',
'home' => 'Forside',
'sep' => "https://wordpress.stackexchange.com/",
'front_page' => false,
'bold' => false,
'blog' => __('Blog', 'rev'),
'echo' => true
);
breadcrumbs_plus($breadcrumb_options);
}
?>
Related Posts:
- How to export comments in WordPress?
- How can I call a function from one plugin within another plugin?
- Gutenberg disallow certain custom blocks but keep all core blocks?
- Remote upload file to server B
- Publish author posts only with editor approval?
- Keep one user logged for a year?
- How to handel multiple checkbox field in the admin settings page with Settings API
- Is the WordPress HTTPS Plugin Still Safe To Use? [closed]
- Set a User as Author of all ‘New Posts’ posted
- How to turn off email you receive when registered?
- Execute a function using ajax
- How do you auto-activate plugins from child themes
- While Using Static Pages, How Can I Get /blog into the URL of Each Post?
- What is the function to get plugin base url in multisite?
- Code in theme functions.php faster than with a plugin?
- Fatal error: Class not found in
- What’s the point of using WordPress’s built in admin-ajax.php?
- Converting a simple plugin to be placed inside of functions.php
- Using plugin functionality in external php script not working
- Trying to count the total number of paragraphs inside a blog article
- greatest() function returns undefined property
- Override plugin with functions.php
- The Point of Using apply_filters()
- How to get post URL in the_content filter?
- How to get subscription key or id using Woocommerce Subscriptions [closed]
- How to include code into functions.php file via a plugin
- Missing argument 3 for wp_register_sidebar_widget()
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- Shortcode button dosent work for all posts. Work for first post only
- Is there a way I can find wordpress posts that don’t contain a word?
- Prevent shortcode from being wrapped in tags
- Inserting HTML tag with ACF into shortcode
- How to Display a Plugin function (content) on frontpage using index.php
- Calling plugin function inside custom plugin for onclick event
- Show function to super admin
- All sites themes functions.php have been changed
- Customize permalink wordpress category id
- Grab WordPress Salt Data From URL
- Load Javascript from Plugin in One Page Only?
- Plugin is a widget, but I want to call it in the head, can I?
- Cannot get wpdb data (Error in a simple fuction) [closed]
- How to keep variable `$post` to using in another file
- Help with WP Business Directory Manager Plugin?
- Return multiple values in a shortcode attribute
- get specific value of a array | PHP
- wc_get_template new template does not showing up
- Loading a plugin’s js file from functions.php
- Change Header (Logo) Based on Login
- How to access OOP plugin function inside themes or other plugin
- Different registration form for different roles
- How can i list random author?
- Can you echo PHP code from a variable?
- Defining the value of a variable before a function?
- Elementor Pro display featured image on section -> style -> image using shortcode
- How to get custom minimum price in Woocommerce
- Create a pdf from the entries in DB
- how to validate input field in wordpress generated with wpform plugin
- RSS feeds for specific topics
- add_rewrite_rule to load different page, without changing URL in browser
- Share my WordPress plugin for updating how?
- Overriding a function in a WordPress plugin
- The function called on the wp head hook becomes null
- Adding discount functionality to the cart
- Precheck fields when I add a new post
- Get Shortcode output to database for static post_content
- working code, not working – Plugin Dev
- Use buddypress function outside of plugin
- How use get_plugin_updates() function?
- How to Unhook actions/filters in within Class in plugin
- WPML – Hook when language is switched (change user language)
- Use action, filter, or hook to append HTML to WordPress plugin function
- Change custom rewrite rule when permalink is updated/changed
- How to disable/enable a plugin at a specific time
- Configuring default woo commerce login with modal popup
- Save Post Permalink In .txt File
- Dynamically Modify s2member Options
- register_activation_hook doesn’t fire at all
- How To Add Code To WP Without Plugin or Functions
- My ajax request don´t work and return 0
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- How to delete posts older than one year with post meta, post attachments and files?
- Disqus comments count taking long to update
- plugin not hooking to my custom hook
- Populate select option with JSON file
- Home page letters
- Find all strings between an enclosing shortcode
- Create csv file in plugin
- Load wordpress enviroment for external content?
- How do add_action and WP_Query
- How to structure plugin in to functions?
- Trying to output a “Most visited blogs” list in wordpress multisite
- How to disable register and reset the password from WordPress admin panel?
- wordpress Search function is not working
- What is wrong with this dbDelta syntax?
- Call a function with href
- PHP Creating a formula from mysql db values and db stored math operator
- filter just a portion of plugin function
- Make plugin admin page visible to other roles
- Sort posts by Date (DESC) and by ACF: active_inactive (ASC)
- wp_enqueue_script doesn’t load JS in plugin