/** * 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 ); } Legal Considerations for Parents: Protecting Your Child’s Interests

Legal Considerations for Parents: Protecting Your Child’s Interests

Legal Considerations for Parents: Protecting Your Child’s Interests

As a parent, ensuring the well-being of your child is paramount. But beyond day-to-day care, there are legal matters that every parent should be aware of to effectively protect their child's interests. From understanding guardianship options to creating essential documents, this guide will walk you through the key considerations and actions you can take.

Understanding Guardianship Options

Guardianship is a legal arrangement where a person is appointed to care for another individual, typically a minor. Parents should know the types of guardianship available. There are temporary guardianships, which might be useful during short-term emergencies, and permanent guardianships, which are more complex and require court approval.

Choosing the right guardian involves careful thought. Ideally, this should be someone who shares your values and can provide a stable environment. Discussing this decision with potential guardians ahead of time can help ensure that everyone is on the same page.

The Importance of a Will

A will is not just for the wealthy; it’s a critical tool for any parent. A well-drafted will outlines how your assets and responsibilities will be handled if something happens to you. This includes naming guardians for your children, which is vital for their future security.

Additionally, revisiting your will as circumstances change—like the birth of another child or a change in your financial situation—is important. Ensure that your plans reflect your current wishes and family dynamics.

Power of Attorney: A Vital Document

Parents should consider establishing a Power of Attorney (POA), which allows someone to make legal decisions on your behalf, particularly in medical or financial matters. This becomes especially important if you become incapacitated. You can specify the scope of the authority, ensuring that your designated agent can act according to your wishes.

For those in Illinois, learning how to fill out Illinois POA Document template can simplify the process. It will help you designate someone you trust to handle important decisions when you cannot.

Health Care Directives: Planning for Medical Decisions

Health care directives are documents that specify your health care preferences in situations where you can't communicate them yourself. This may include decisions about life support, surgeries, and other significant medical interventions. Parents need to ensure that their children’s health is prioritized even in emergencies.

These directives can help ease the burden on family members during stressful times. It’s best to have these documents prepared while discussing them with your family to avoid confusion later.

Educational Rights and Advocacy

Understanding your child's educational rights is important, especially if they have special needs. As a parent, you are entitled to be involved in decisions regarding your child’s education. This can include Individualized Education Plans (IEPs) or other accommodations that may be necessary for your child to thrive.

Being proactive in advocating for your child's educational needs can lead to better outcomes. Familiarize yourself with local resources and support groups; they can offer guidance and assistance in navigating the educational landscape.

Creating a Child Safety Plan

Having a child safety plan can greatly enhance your peace of mind. This includes not only emergency contact information but also guidelines for situations like natural disasters or unexpected events. Make sure your child knows whom to contact and what steps to take in various scenarios.

  • List of emergency contacts.
  • Meeting places in case of evacuation.
  • Basic first aid procedures.
  • How to contact authorities if needed.

Regularly review and practice this plan with your child to ensure they feel prepared and secure.

Staying Informed About Legal Changes

Legal requirements can change, and staying informed is vital. Laws regarding child custody, guardianship, and parental rights can vary by state and can evolve over time. Engaging with local parenting groups or legal resources can keep you updated on any changes that could affect your family.

Consider consulting with a family lawyer periodically to review your legal documents and ensure they still align with your family's needs. This proactive approach can help avert potential issues down the line.