/**
* This file represents an example of the code that themes would use to register
* the required plugins.
*
* It is expected that theme authors would copy and paste this code into their
* functions.php file, and amend to suit.
*
* @package TGM-Plugin-Activation
* @subpackage Example
* @version 2.3.6
* @author Thomas Griffin
* @author Gary Jones
* @copyright Copyright (c) 2012, Thomas Griffin
* @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later
* @link https://github.com/thomasgriffin/TGM-Plugin-Activation
*/
/**
* Include the TGM_Plugin_Activation class.
*/
require_once dirname( __FILE__ ) . '/class-tgm-plugin-activation.php';
add_action( 'tgmpa_register', 'my_theme_register_required_plugins' );
/**
* Register the required plugins for this theme.
*
* In this example, we register two plugins - one included with the TGMPA library
* and one from the .org repo.
*
* The variable passed to tgmpa_register_plugins() should be an array of plugin
* arrays.
*
* This function is hooked into tgmpa_init, which is fired within the
* TGM_Plugin_Activation class constructor.
*/
function my_theme_register_required_plugins() {
/**
* Array of plugin arrays. Required keys are name and slug.
* If the source is NOT from the .org repo, then source is also required.
*/
$plugins = array(
// This is an example of how to include a plugin pre-packaged with a theme
array(
'name' => 'Contact Form 7', // The plugin name
'slug' => 'contact-form-7', // The plugin slug (typically the folder name)
'source' => get_stylesheet_directory() . '/includes/plugins/contact-form-7.zip', // The plugin source
'required' => true, // If false, the plugin is only 'recommended' instead of required
'version' => '', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented
'force_activation' => false, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch
'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins
'external_url' => '', // If set, overrides default API URL and points to an external URL
),
array(
'name' => 'Cherry Plugin', // The plugin name.
'slug' => 'cherry-plugin', // The plugin slug (typically the folder name).
'source' => PARENT_DIR . '/includes/plugins/cherry-plugin.zip', // The plugin source.
'required' => true, // If false, the plugin is only 'recommended' instead of required.
'version' => '1.1', // E.g. 1.0.0. If set, the active plugin must be this version or higher, otherwise a notice is presented.
'force_activation' => true, // If true, plugin is activated upon theme activation and cannot be deactivated until theme switch.
'force_deactivation' => false, // If true, plugin is deactivated upon theme switch, useful for theme-specific plugins.
'external_url' => '', // If set, overrides default API URL and points to an external URL.
)
);
/**
* Array of configuration settings. Amend each line as needed.
* If you want the default strings to be available under your own theme domain,
* leave the strings uncommented.
* Some of the strings are added into a sprintf, so see the comments at the
* end of each line for what each argument will be.
*/
$config = array(
'domain' => CURRENT_THEME, // Text domain - likely want to be the same as your theme.
'default_path' => '', // Default absolute path to pre-packaged plugins
'parent_menu_slug' => 'themes.php', // Default parent menu slug
'parent_url_slug' => 'themes.php', // Default parent URL slug
'menu' => 'install-required-plugins', // Menu slug
'has_notices' => true, // Show admin notices or not
'is_automatic' => true, // Automatically activate plugins after installation or not
'message' => '', // Message to output right before the plugins table
'strings' => array(
'page_title' => theme_locals("page_title"),
'menu_title' => theme_locals("menu_title"),
'installing' => theme_locals("installing"), // %1$s = plugin name
'oops' => theme_locals("oops_2"),
'notice_can_install_required' => _n_noop( theme_locals("notice_can_install_required"), theme_locals("notice_can_install_required_2") ), // %1$s = plugin name(s)
'notice_can_install_recommended' => _n_noop( theme_locals("notice_can_install_recommended"), theme_locals("notice_can_install_recommended_2") ), // %1$s = plugin name(s)
'notice_cannot_install' => _n_noop( theme_locals("notice_cannot_install"), theme_locals("notice_cannot_install_2") ), // %1$s = plugin name(s)
'notice_can_activate_required' => _n_noop( theme_locals("notice_can_activate_required"), theme_locals("notice_can_activate_required_2") ), // %1$s = plugin name(s)
'notice_can_activate_recommended' => _n_noop( theme_locals("notice_can_activate_recommended"), theme_locals("notice_can_activate_recommended_2") ), // %1$s = plugin name(s)
'notice_cannot_activate' => _n_noop( theme_locals("notice_cannot_activate"), theme_locals("notice_cannot_activate_2") ), // %1$s = plugin name(s)
'notice_ask_to_update' => _n_noop( theme_locals("notice_ask_to_update"), theme_locals("notice_ask_to_update_2") ), // %1$s = plugin name(s)
'notice_cannot_update' => _n_noop( theme_locals("notice_cannot_update"), theme_locals("notice_cannot_update_2") ), // %1$s = plugin name(s)
'install_link' => _n_noop( theme_locals("install_link"), theme_locals("install_link_2") ),
'activate_link' => _n_noop( theme_locals("activate_link"), theme_locals("activate_link_2") ),
'return' => theme_locals("return"),
'plugin_activated' => theme_locals("plugin_activated"),
'complete' => theme_locals("complete"), // %1$s = dashboard link
'nag_type' => theme_locals("updated") // Determines admin notice type - can only be 'updated' or 'error'
)
);
tgmpa( $plugins, $config );
}
postimyynti-morsian – Eliot Zigmund
http://eliotzigmundjazz.com
Veteran Jazz DrummerTue, 14 Apr 2026 09:52:22 +0000en-UShourly1https://wordpress.org/?v=5.0.22No suggestion will cost you out of early in the day bookkeeping symptoms could well be allocable so you’re able to the present day months
http://eliotzigmundjazz.com/2025/03/12/no-suggestion-will-cost-you-out-of-early-in-the/
http://eliotzigmundjazz.com/2025/03/12/no-suggestion-will-cost-you-out-of-early-in-the/#respondWed, 12 Mar 2025 17:13:48 +0000http://eliotzigmundjazz.com/?p=24844Continue Reading]]>No suggestion will cost you out of early in the day bookkeeping symptoms could well be allocable so you're able to the present day months
( 5 ) If the proportion off Federal work to the fresh new non-Federal entity's overall organization is for example in order to determine the new non-Federal organization in support of incurring the cost, particularly where in actuality the functions rendered commonly of an ongoing characteristics and now have little relationship to works less than Federal awards.
( 7 ) The brand new official certification of the person or concern helping to make the service and the new traditional charges charged, particularly with the low-federally financed affairs.
( 8 ) Adequacy of your contractual contract into provider (elizabeth.grams., dysfunction of one's services, guess of time needed, rate of payment, and termination arrangements).
( c ) As well as the issues in the part (b) associated with part, becoming deductible, retainer charges should be backed by evidence of real features available or made.
Suggestion can cost you.
Offer prices are the costs off making preparations bids, proposals, otherwise programs with the prospective Federal and you can non-Federal prizes otherwise plans, including the growth of investigation needed to contain the non-Government entity's estimates or proposals. Offer costs of one's latest bookkeeping age both effective and you may unproductive bids and you will proposals usually is addressed just like the secondary (F&A) will cost you and you will allocated already to any or all activities of one's non-Government organization.
Book and you will printing can cost you.
( a great ) Book charges for digital and you will print news, and shipments, strategy, and you will general dealing with are allowable. When the these prices are not recognizable that have a particular rates mission, they must be designated once the indirect will cost you to gaining points of low-Government entity.
( 2 ) The fresh new costs try levied impartially to your all the factors published by this new record, even in the event around a federal award.
( step three ) This new non-Federal entity may charge the fresh Federal honor while in the closeout towards can cost you out-of book otherwise sharing of look abilities in case your costs commonly incurred throughout efficiency of one's Federal award. If billed to the award, these types of will cost you must be charged to your finally budget age of the new prize, except if otherwise given by the Federal awarding company.
Rearrangement and reconversion can cost you.
( a ) Will cost you incurred to have ordinary and you may normal rearrangement and you can customization out-of business is allowable because the secondary can cost you. Unique agreements and improvements will set you back obtain specifically for a national award is deductible due to the fact a primary prices for the early in the day approval from the new Government awarding agency otherwise citation-through organization.
( b ) Will cost you sustained on the maintenance or treatment of the non-Government entity's organization so you can just as much as a similar reputation established instantaneously prior so you're able to commencement of Government honours, faster costs about regular damage, is allowable.
Recruiting will cost you.
( a ) Subject to sentences (b) and (c) from the part, and you can provided that the size of the employees employed and you will handled is in keeping with workload standards, will cost you away from assist wished ads, working will set you back regarding an employment office must secure and sustain an adequate personnel, can cost you away from functioning an aptitude and you can instructional research program, traveling will set you back from professionals if you are involved with recruiting teams https://kissbridesdate.com/fi/blogi/dominikaaniset-treffisivustot-ja-sovellukset/, take a trip will cost you regarding applicants for interview to possess potential a position, and you can moving costs incurred event in order to employment of new team, is deductible into the extent you to such as for example prices are obtain pursuant into the low-Government entity's simple employment program. Where in fact the low-Federal entity uses employment businesses, costs not over fundamental commercial rates to own such as for instance qualities is allowable.
( b ) Unique emoluments, fringe masters, and you may paycheck allowances obtain to attract elite team which do not meet up with the sample away from reasonableness otherwise dont adhere into depending strategies of the low-Government organization, is actually unallowable.