Skip to content

CM Gamerecipe v1.0.10 - New Shortcodes Feature

Choose a tag to compare

@DiamondStrand DiamondStrand released this 22 Oct 17:49
· 9 commits to main since this release

Release Date: October 22, 2024

Changelog:

  • New Feature: Added a new set of shortcodes to display custom game fields directly in Divi pages.
  • Shortcodes Added:
    • [cm_gamerecipe_min_players]: Displays the minimum number of players.
    • [cm_gamerecipe_max_players]: Displays the maximum number of players.
    • [cm_gamerecipe_typical_duration]: Displays the typical duration of the game in minutes.
    • [cm_gamerecipe_materials]: Displays the materials needed for the game.
    • [cm_gamerecipe_tips]: Displays gameplay tips.
    • [cm_gamerecipe_difficulty]: Displays the difficulty level of the game.
    • [cm_gamerecipe_game_type]: Displays the type of game.
    • [cm_gamerecipe_preparation]: Displays any preparation required for the game.
    • [cm_gamerecipe_img_download]: Displays a download link for the gameboard or rulebook (IMG).

Improvements:

  • Organized Structure: All shortcodes are placed in a separate file (class-shortcodes.php) for better organization and easier management.
  • Enhanced Flexibility: You can now easily integrate custom game fields into Divi pages using shortcodes.

This update introduces powerful new shortcodes for displaying game data and makes it easier to manage the code by separating shortcodes into a dedicated file.