Skip to content

Shortcode Settings

Five shortcodes put wallet pieces anywhere on your site. This tab is where each one is named, and all five are free.

Go to DevDiggers Plugins → Wallet → Configuration → Shortcodes.

The Shortcodes tab with the five shortcode name fields

Field Default What it renders
Balance Only [ddwcwm_wallet_balance_shortcode] The balance figure, nothing else
Balance Layout [ddwcwm_wallet_balance_layout_shortcode] The balance card, Add Money and any pending requests
Operations Hub [ddwcwm_wallet_operations_shortcode] The Send, Request, Withdraw and Refer buttons
Integrated Dashboard [ddwcwm_wallet_balance_operations_shortcode] Balance Layout and Operations Hub together
Transaction History [ddwcwm_wallet_transactions_shortcode] The paginated transaction table

The Balance Only and Transaction History shortcode fields

The My Wallet page is built from two of these, Integrated Dashboard followed by Transaction History. Renaming a shortcode here therefore changes what My Wallet renders as well.

The full My Wallet page, built from two of these shortcodes

Every one renders for the logged-in customer viewing the page. There is no user attribute and no way to show one customer’s wallet to another.

That makes them safe to drop in a header or a sidebar. A logged-out visitor sees nothing rather than someone else’s balance.

  • Balance Only in a header or a menu, so the balance is visible without a click.
  • Balance Layout on a landing page that exists to sell top-ups.
  • Operations Hub on a page about sending money to friends.
  • Integrated Dashboard to rebuild the wallet page somewhere other than My Account.
  • Transaction History on a statement page of your own design.

Type the new name into the field, brackets included. The plugin strips the brackets and any spaces before registering it, so [my_wallet] and my_wallet both work.

Rename only to resolve a clash with another plugin. Every page already using the old name goes blank the moment you save, because WordPress prints an unknown shortcode as nothing at all.