Download the PHP package humanmade/hm-mega-menu-block without Composer

On this page you can find all versions of the php package humanmade/hm-mega-menu-block. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hm-mega-menu-block

How to Use the HM Mega Menu Block Plugin

https://www.loom.com/embed/b91514e4eb2b4d939f128ac194b13c7d?sid=58fd2f1e-5b2b-4e40-ba1a-da8210c8c54c

This guide explains how to create and customize a mega menu using the HM Mega Menu Block plugin.


Installation and usage

Step 1: Install and Activate the HM Mega Menu Block Plugin

  1. Install the Plugin:
    • If the plugin is not installed yet, upload or install it from the plugin directory.
  2. Activate the Plugin:
    • Go to Plugins > Installed Plugins and activate the HM Mega Menu Block plugin.

Step 2: Add a New Mega Menu Template Part

  1. Open the Site Editor:
    • Go to Appearance > Editor to access the block editor.
  2. Create a New Template Part:
    • In the editor, click Add New to create a new pattern or template part.
    • Assign a name to the template part (e.g., "Mega Menu").
    • Designate it as a Mega Menu type.

Step 3: Build the Mega Menu Layout

  1. Add Groups:
    • In the newly created template part, use Group blocks to structure the menu.
    • Add nested groups for creating multi-level menus.
  2. Add Content:
    • Insert blocks like:
      • Navigation Block for menu links.
      • Heading Block for section titles.
      • Other blocks (e.g., images, buttons) to customize the layout.
  3. Customize:
    • Add any colors, styles, or additional elements to personalize the mega menu.

Step 4: Link the Mega Menu to the Header

  1. Edit the Header Template Part:
    • In the Site Editor, open the Header template part.
  2. Insert the HM Mega Menu Block:
    • Add the HM Mega Menu Block to the header inside the Navigation Block.
    • Add a label to the Mega Menu uat the block section, on the right side of your screen.
    • Link it to the template part created for the mega menu (e.g., "Mega Menu").
  3. Save Changes

Step 5: Test the Mega Menu

  1. Preview on the Front-End:
    • Visit your site's homepage to see the mega menu in action.

Step 6: Make Final Adjustments

  1. Fix Positioning Issues:
    • Ensure the mega menu is properly aligned and sticky (if needed).
  2. Enhance Styling:
    • Customize colors, spacing, and other design elements to match your site.

Notes and Tips

This plugin provides a flexible, code-light way to build and customize mega menus in WordPress!

Release Process

Merges to main will automatically build to the release branch.

Commits in the release branch may be tagged for installation via packagist and composer, and optionally marked as releases in GitHub for download. A project may also be set up to track the dev-release branch to always pull in the latest built beta version.

Changelog

1.0.0 / 1.0.1

Initial Release. v1.0.1 created to work around a mis-targeted tag pushed to Composer.


All versions of hm-mega-menu-block with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package humanmade/hm-mega-menu-block contains the following files

Loading the files please wait ....