Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • in reply to: Fixed left&right sidebars #196372
     ThrewTheNevR
    Participant
    This reply has been set as private.
    in reply to: How do i add font awsome or fontello to widget title? #175604
     ThrewTheNevR
    Participant

    remeber the code `
    div#text-5 h4:before {
    content: “\f2bd”;
    font-family: fontawesome !important;
    padding-right: 10px;
    }`

    i am unable to do this with a new widget using a different icon

    COPY CODE
    div#text-7 h4:before {
        content: "\f2bd";
        font-family: fontawesome !important;
        padding-right: 10px;
    }
    
    

    any ideas?

    in reply to: Fontello icons dont show on left or right sidebars #161755
     ThrewTheNevR
    Participant

    I tried to add this code to the sidebar.php file hoping icons would show up on the main sidebar.

    COPY CODE
    <?php
    wp_register_style('fontawesome', '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css', array(), false, 'all');
    wp_enqueue_style( 'fontawesome');
    ?>

    That didn’t work.
    Idk if I should try another alternative maybe manually adding icons codes.

     ThrewTheNevR
    Participant

    Mk so I figured it out,
    The code is

    COPY CODE
    Thanks for registering,<b><?php echo $_POST["signup_username"]; ?></b> You have successfully created your account! To begin using this site you will need to activate your 
       account via the email we have just sent to <b><?php echo $_POST  ["signup_email"] ;?><b>
    

    The reason it didn’t work before was I had the arrays wrong. I used print_r to double check and now have it working.

    With that being said I have taken out my function that automatically logs in new registered users and also took out my $get current_user code.
    Everything is working as it should.
    Only if I double checked 2 weeks ago would of saved me a headach.but I’m still new and learning php and with so much documentation things easily over looked.

    Type guys.

     ThrewTheNevR
    Participant

    Just a quick update.
    I’ve been searching nonstop threw documentation/Codex and I came up with this code,

    COPY CODE
    global $wpdb;
    
    /* lets retrieve the email  of  users who signed up  $wpdb */
    function get_user_by( ‘email’,‘null’ ) 
    $user_email  = $wpdb->wpjm_signups (‘user_email’);
    if ($signups) {
        echo "sent to " . $user_email ;
    } else {
        echo "email not listed.";
    }
    //Creating a shortcode to display signup email
    add_shortcode( 'user_email');

    I placed it in my themes functions.php file but had to delete it due to the 500 error.

    Am I on the right track?

Viewing 5 posts - 1 through 5 (of 5 total)

Log in with your credentials

Forgot your details?