• I want to render button on header. I tried to call shortcode in header.php
    <?php echo do_shortcode([ethpress_login_button]'); ?>
    <?php echo apply_filters( 'the_content',' [ethpress_login_button] '); ?>
    No one of this methods doesnt work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author lynn999

    (@lynn999)

    Does it work on a post, then? In the “regular way”.

    Hello. I add Shortcod on page, but it did`nt shows anything.

    Same here. Cant use ethpress anymore! Is there any method for this to work?

    Plugin Author ethereumicoio

    (@ethereumicoio)

    Hi,

    The only reason the EthPress Login button is not shown is if user is already logged in:

    
    if ( \is_user_logged_in() ) {
    	return '';
    }
    

    Make sure to test it in an anonymous browser window please.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode doesnt work’ is closed to new replies.