How to hide the Blog Posts link from the My Account area for logged in customers?

How to hide the Blog Posts link from the My Account area for logged in customers?

To hide the link in question, delete the following lines of code in the customer_account.xml file:



The customer_account.xml file can be located via one of the below paths.

1. If the module was uploaded manually:

app/code/Amasty/Blog/view/frontend/layout/customer_account.xml 

2. If the module was installed via composer:

vendor/amasty/blog/view/frontend/layout/customer_account.xml

      • Related Articles

      • Blog Pro | GraphQL methods

        Queries amBlogSetting description: get blog pro module settings amBlogPost (id: Int, urlKey: String) description: get post information about a post by ID amBlogPosts (type: AmBlogPageType, page: Int, entityId: Int) description: get an array of posts ...
      • Is it possible to include Blog posts in Google XML sitemap?

        Using the Blog Pro extension, it is possible to include pages of the module entities to the default XML Sitemap. To do so, it is necessary to install the amasty/blog-sitemap add-on provided on the subscription basis. To install the module, the ...
      • Blog Pro API

        Kindly note that the API functionality for Blog Pro is available as a part of an active product subscription or support subscription. GET /V1/amasty_blog/author/:authorId - Get one author GET /V1/amasty_blog/author/all - Get list with conditions ...
      • How to add a YouTube video to a blog post?

        With the Blog Pro extension, it is possible to add and play YouTube videos right in blog posts. To add a video to a post page, follow the steps below. Step 1. Open the required YouTube video, right-click on it, and select Copy Embed Code. Step 2. ...
      • Does the Blog Pro module support the Page Builder functionality?

        The Blog Pro module does not provide the Page Builder functionality out-of-the-box. However, there is a special submodule included in the Blog Pro package that makes the extension compatible with the Page Builder functionality and lets you use it ...