TESTOVIY POST 02.05
This is a short test post for WordPress. It contains a heading, a paragraph, and a simple list to check formatting.
Quick Tips
- Always save your work.
- Check your links.
- Preview before publishing.
End of test post.
if ( ! defined( 'ABSPATH' ) ) exit; /*-----------------------------------------------------------------------------------*/ /* Start templatation Functions - Please refrain from editing this section /*-----------------------------------------------------------------------------------*/ include_once get_template_directory(). '/inc/constants.php'; // Theme constants include_once get_template_directory(). '/inc/init.php'; // Theme loading starts. /*-----------------------------------------------------------------------------------*/ /* You can put your own functions below temporarily. /*-----------------------------------------------------------------------------------*/ /** * Please note any content you write here will be overwritten with theme update. * Its recommended to use child theme instead if you want to write your own functions. */ /** * Add read_private_posts capability to subscriber * Note this is saves capability to the database on admin_init, so consider doing this once on theme/plugin activation */ add_action ('admin_init','add_sub_caps'); function add_sub_caps() { global $wp_roles; $role = get_role('subscriber'); $role->add_cap('read_private_pages'); } /*-----------------------------------------------------------------------------------*/ /* /End /*-----------------------------------------------------------------------------------*/
This is a short test post for WordPress. It contains a heading, a paragraph, and a simple list to check formatting.
End of test post.