Magento WordPress Post Types & Taxonomies InstallationPost Types & Taxonomies

« Back to Post Types & Taxonomies

Before installing the Post Types & Taxonomies add-on module, you should ensure that you have the latest version of Magento WordPress Integration and all FishPig add-on modules and that you have no errors in the module configuration in the Magento Admin.

You can install the module for Magento 2 using Composer or you can manually install it using FTP.

  • Run the following commands in your Magento 2 root directory to install the module using Composer.

    # Add the FishPig Composer repo
    composer config repositories.fishpig composer https://repo.fishpig.co.uk/
        
    # Install the module using Composer
    composer require fishpig/magento2-wordpress-integration-cpt:*
    
    # Enable the module in Magento 2
    php bin/magento module:enable FishPig_WordPress_PostTypeTaxonomy
    
    # Run the Magento upgrade system
    php bin/magento setup:upgrade
  • You can download the latest version of the module from the Downloads page.

    Extract the ZIP file and upload the files to your Magento site at the directory below:

    app/code/FishPig/WordPress_PostTypeTaxonomy

    When creating the folders, ensure you use the correct capitalisation.

    To complete the installation, run the following commands in a terminal.

    # Enable the module in Magento 2
    php bin/magento module:enable FishPig_WordPress_PostTypeTaxonomy
    
    # Run the Magento upgrade system
    php bin/magento setup:upgrade

All post types created in WordPress should now be available in Magento. To test this, edit a post from one of your custom post types in the WordPress Admin and click the View link. The post should now displayed in your integrated blog.

Documentation