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 /*-----------------------------------------------------------------------------------*/
-: Sep 06, 2025 / nova64518

TESTOVIY POST 02.05

0

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.

Posted in:
Comments
No Comment
No comments yet.

Leave a Reply

Your email address will not be published. Required fields are marked *