Skip to content

oriolauge/magento2-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 Blog module

This module adds options to create a blog inside Magento 2 intance. Also, this blog is inspred by Mageplaza's blog and Magefan's blog, but with the diferents that the blog content is based with EAV database model like products.

With this model, we get more featres like more easy to create new attributes, maintant blog content in different languages or create new SEO features like hreflangs.

Technologies

  • Magento 2.4.3 CE
  • Stability: Stable Build

Instalation guide

composer require oag/module-blog
php bin/magento module:enable OAG_Blog # If you upload via FTP
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

Also, you need to add the next line in .gitignore to exclude media blog files: /pub/media/blog/*

Uninstalation guide

You can execute command php bin/magento module:uninstall OAG_Blog OAG_BlogUrlRewrite to uninstall module. Also, remove the line /pub/media/blog/* in .gitignore if you added it.

Key Features

  • Hreflang in blog and post pages.
  • Opengraph attributes.
  • Configure blog content with site builder.
  • Database structured with EAV pattern.
  • Automatic blog/post urls added in sitemap.
  • Preview post functionality even the post is not enabled.
  • Use url rewrite module to create SEO urls and correct switch with differents storeview
  • Configure multiples permission to add option to admin users to manage blog posts and configurations
  • Rich snippets in blog post page

Future Features

TODO

FAQ

  • The post list admin panel show an incorrect column order. To fix this issue, you can remove in ui_bookmark mysql table the rows with namespace oag_blog_post_listing. When this rows are remove it, you can flush cache and the order will be correct