WordPress.org

Ready to get started?Download WordPress

Forums

discover
disable welcome button in discover theme (7 posts)

  1. ClausLSC
    Member
    Posted 1 year ago #

    I am wondering whether the welcome button (standard text "Download") can be disabled on the start page in the discover template. If yes, any help to delete this "welcome button" would be highly appreciated!

    Cheers,
    Claus

  2. manish_gori
    Member
    Theme Author

    Posted 1 year ago #

    the code is in template-home.php line 20 to 23, remove that, keep BACKUP

  3. Advertorial.dk
    Member
    Posted 1 year ago #

    I have the same problem, but it doesn't seem to work.

    I remove:

    <?php if(esc_html(of_get_option('welcome_button')) != NULL){ ?>
    "><?php echo esc_html(of_get_option('welcome_button')); ?>
    <?php } else { ?> "> <?php echo "Download Now!" ?> <?php } ?>

    What have I missed?

  4. Advertorial.dk
    Member
    Posted 1 year ago #

    ah, don't bother, I found it in the main index

  5. jawedsamsor
    Member
    Posted 1 year ago #

    comment out lines 20 to 23 in template-home.php. should work.

  6. mr.kennethtoh
    Member
    Posted 1 year ago #

    Hi I'm kind of new to word press hope you guys can help me out.

    I'm trying to remove the download now!

    I had to remove the following but it does not work.

    <?php if(esc_html(of_get_option('welcome_button')) != NULL){ ?>
    "><?php echo esc_html(of_get_option('welcome_button')); ?>
    <?php } else { ?> "> <?php echo "Download Now!" ?> <?php } ?>

  7. manish_gori
    Member
    Theme Author

    Posted 1 year ago #

    Make sure to remove the code from index.php as well..

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic