• Resolved Christiaan

    (@christiaan-grob)


    Hello there,
    I love your plugin it’s great and it works fine.
    Now there is one issue, on my Admin login page: https://getinked.nl/wp-admin the login form is placed direct on my background without an content box. On my Home page: https://getinked.nl you can see there is an white box with the title ‘WELKOM OP GETINKED.NL!’ and content text. What is want is the login form in an content box like that but I dont know how to do that. The code is use for the homepage is:

    [block title=”Welkom op Getinked.nl!“]

    Wij heten u van harte welkom op de website van Tattoo Studio Get Inked Amsterdam.

    Sinds 2013 is onze nieuwe shop geopend voor klanten.
    Bij ons kunt u terecht voor tatoeages in diverse stijlen.
    Onze tatoe?erders hebben ruime ervaring en werken in een schone en veilige omgeving………
    [/block]

    I need to put that code somewhere.

    [block title=”TITLE“]
    login form
    [/block]

    Maybe someone can help me?
    Thanks!

    Christiaan Grob
    Tattoo Studio Get Inked Amsterdam

    https://www.ads-software.com/plugins/wp-custom-login/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ninos

    (@ninos-ego)

    Hey there,
    you can use the provided action hooks like this:

    function wp_custom_login_header_after_replay() {
    	echo '<div class="content-block"><div class="block-content">';
    }
    add_action('wp_custom_login_header_after', 'wp_custom_login_header_after_replay');
    
    function wp_custom_login_footer_before_replay() {
    	echo '</div></div>';
    }
    add_action('wp_custom_login_footer_before', 'wp_custom_login_footer_before_replay');

    Regards,
    Ninos

    Thread Starter Christiaan

    (@christiaan-grob)

    Do i have to put this code in the wp-custom-login.css
    i now have uploaded the wp-custom-login.css to my public_html map with this code:

    function wp_custom_login_header_after_replay() {
    echo ‘<div class=”content-block”><div class=”block-content”>’;
    }
    add_action(‘wp_custom_login_header_after’, ‘wp_custom_login_header_after_replay’);

    function wp_custom_login_footer_before_replay() {
    echo ‘</div></div>’;
    }
    add_action(‘wp_custom_login_footer_before’, ‘wp_custom_login_footer_before_replay’);

    Nothing happens?

    Plugin Author Ninos

    (@ninos-ego)

    ?hh this is php^^ You have to put it into the functions.php.
    The wp-custom-login.css is only for your custom stylesheets.

    Thread Starter Christiaan

    (@christiaan-grob)

    Ohhh! Sure!
    Thanks!

    Is it possible to ad an box title and that i can see the sidebar like on the home page?

    Thread Starter Christiaan

    (@christiaan-grob)

    This is my page template that i use for the home page.

    <?php
    /*
    Template Name: Standaard
    */

    //show header
    get_header();

    //page content
    if (have_posts()) : while (have_posts()) : the_post();
    ?>
    <div id=”image1″ overflow:hidden; left:300px; top:81px; width:474px; height:139px; z-index:0″><img src=”https://getinked.nl/wp-content/uploads/2013/08/getinkedlogomainmenu.png&#8221; alt=”” title=”” border=0 width=300 height=134<div id=”image1″ overflow:hidden; left:300px; top:81px; width:474px; height:139px; z-index:0″><img src=”https://getinked.nl/wp-content/uploads/2013/08/btw.png&#8221; alt=”” title=”” border=0 width=474 height=1<div id=”image1″ overflow:hidden; left:300px; top:81px; width:166px; height:139px; z-index:0″><img src=”https://getinked.nl/wp-content/uploads/2013/08/AD1.png&#8221; alt=”” title=”” border=0 width=166 height=139></div>

    <div class=”two-third column”>
    <?php the_content(); ?>
    </div>

    <?php endwhile; endif; ?>

    <div class=”one-third last column”>

    <?php get_sidebar(); ?>

    </div>
    <?php get_footer(); ?>

    Plugin Author Ninos

    (@ninos-ego)

    Maybe like this?

    function wp_custom_login_header_after_replay() {
    ?>
    	<div class="two-third column">
    		<div class="content-block">
    			<div class="block-title">
    				<span><?php bloginfo('name'); ?></span>
    			</div>
    			<div class="block-content">
    <?php
    }
    add_action('wp_custom_login_header_after', 'wp_custom_login_header_after_replay');
    
    function wp_custom_login_footer_before_replay() {
    ?>
    			</div>
    		</div>
    	</div>
    	<div class="one-third last column">
    		<?php get_sidebar(); ?>
    	</div>
    <?php
    }
    add_action('wp_custom_login_footer_before', 'wp_custom_login_footer_before_replay');

    PS: you should learn (x)html, css & php ??

    Thread Starter Christiaan

    (@christiaan-grob)

    You right!
    Thank you for the great support!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Need some help’ is closed to new replies.