• Resolved aaronrene

    (@aaronrene)


    How can I remove ‘Mint a new item’ from the NFT Collections page?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPSmartContracts

    (@wpsmartcontracts)

    Hi,

    There is no way to deactivate this using the UI, but you can customize the template in your own theme.

    For example, if you are using the skin #2 and the WP theme twentytwnetyone you can run the following

    cd [path-to-your-wordpress-folder]/wp-content/themes/twentytwentyone/
    mkdir wpsc-views
    cd wpsc-views/
    cp ../../../plugins/wp-smart-contracts/skins/wpsc-theme-light-2/wpsc-views/nft-view-menu.mustache .

    Then, using a text editor open the file:

    wp-content/themes/twentytwentyone/wpsc-views/nft-view-menu.mustache

    and remove the following block:

    <div class="the-tag yellow-tag right-aligned black-color">
        <a href="{{mint-link}}">
            <span class="tag-main-text">Mint a new Item</span>
        </a>
    </div>

    That should do the trick

    Plugin Author WPSmartContracts

    (@wpsmartcontracts)

    Depending on the skin you are using the path can be different, the possible paths are:

    Default skin:
    wp-content/plugins/wp-smart-contracts/views

    Skins #1, #2 and #3:

    plugins/wp-smart-contracts/skins/wpsc-theme-light-1/wpsc-views/
    plugins/wp-smart-contracts/skins/wpsc-theme-light-2/wpsc-views/
    plugins/wp-smart-contracts/skins/wpsc-theme-light-3/wpsc-views/
    Thread Starter aaronrene

    (@aaronrene)

    THANKS!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove ‘Mint a new item’ from front end’ is closed to new replies.