Contact Form 7

  • Wail

    #2355

    Hi everybody!

    I installed the Contact form 7 plugin, but there is an issue when I put the code in contact page, I have just this code appearing in the page not the contact form, If there anyone who uses this contact form please let me know how to fix this. Thanks in advance.

    Wail.

    Prasanna SP

    #19918

    Use HTML editor while inserting the code. I think this should work.. And what is the address of your site?

    Wail

    #19919

    I work in local host I think next week it will be done. Thanks a lot for your advices Prasanna, I found how to add login/logout to the the menu but not in the top bar. In the nav menu.

    Add this code to your child theme functions file and you will see :

    <?php
    add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2);
    function add_login_logout_link($items, $args) {

    ob_start();
    wp_loginout('index.php');
    $loginoutlink = ob_get_contents();
    ob_end_clean();

    $items .= '

    <li>'. $loginoutlink .'</li>
    ';

    return $items;
    }
    ?>

    Wail.

    Prasanna SP

    #19920

    I’m using this plug-in to display login form in sidebar-

    Sidebar Login: http://wordpress.org/extend/plugins/sidebar-login/

    I’m using this plugin here – http://www.vedasudhe.com/ (The site is in Kannada language)

    Prasanna SP

    #19921

    Please put the code between backticks.

    Wail

    #19922

    Please Prasanna! would you tell me please where to insert code for contact form in a specific page using HTML?

    Gendji

    #19923

    When you make a page u have 2 options, Visual and HTML view,

    on the top right hand side of where you normally put in text.

    Try putting the code in the page in HTML view.

    Code should look something like this:

    [contact-form-7 id="123456" title="Contact form 1"]

    It’s at the top when you go to the Contact plugin under:

    Copy this code and paste it into your post, page or text widget content.

    Prasanna SP

    #19924

    Wail, you’re mixing two issues here, topbar login and contact form. See the below image for HTML editor. Use that editor when inserting your contact form code. If you use visual editor to paste contact form code, you’ll see the code in your contact page instead of contact form. I think Gendji’s explanation is much better than this..

    And the second thing is, put codes in between backticks (it is located above the Tab key) here. i.e in this forum..

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

You must be logged in to reply to this topic.