I added a button "New Post" in the blog category to add posts to this category. (http://onlytest.ru/1-categories-blog)
But I set a condition that it appeared only for those who can create command blogs.
/components/com_easyblog/themes/wireframe/blogs/categories/item.php


<?php if ($this->acl->get('create_team_blog')) { ?>
<a href="/blog/composer?category=&lt;?php_echo_$category-=&gt;id;_?=&gt;=" class="btn btn-primary">
<?php echo JText::_('COM_EASYBLOG_NEW_POST'); ?></a>
<?php } ?>


How to write a condition that whether there was a check the user has the right to create posts in this category of the blog.

This section can only be seen by users with a valid subscription.
If you have a valid subscription, please login now

Support is
Online

The support team is online and will be able to answer your inquiries. Please stay calm, follow the rules and do not cross post.

We will attend to you as soon as we can.

Your time
Stack Ideas time