Strange link behavior

Discussion in 'WordPress' started by sabahat, Jun 30, 2014.

  1. #1
    Hi I am trying to convert a HTML site to Wordpress. Its available here http://www.cannabisinvestmentmagazine.com/CIM2/

    The problem is when I click on the post title and goes to the next page. The form submission message appears on its own on right side "Thank you! your submission has been received" but nothing comes through in the inbox
    Could anyone help me sort that out please? I am beginner when it comes to wordpress.

    Thanks
    Sab
    useful info: The action of the front sign up form is set at action="index.php". and the other php code is in the same page.
     
    sabahat, Jun 30, 2014 IP
  2. TIEro

    TIEro Active Member

    Messages:
    741
    Likes Received:
    177
    Best Answers:
    5
    Trophy Points:
    70
    #2
    There's no php code in the source, at least not when I do a "view source" on it. So either it's missing entirely or my browser's hiding it (in which case it's hard to help, since I can't see it).

    Since you're working with WP, you'd probably be better off putting the function into the theme's functions.php file, instead of having it built into the front page.
     
    TIEro, Jun 30, 2014 IP
  3. sabahat

    sabahat Member

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    Hi Thanks for your reply, I believe browser never displays php code. but code is correct anyway same code is in use on other website
    In this website
    Do you reckon it could be <?php the_permalink(); ?> issue. actually when I remove this permalink tag from the post title, and set action to of the form like this action="<?php the_permalink(); ?>" form returns to normal behavior,
    I think its because of two same permalink tags on the same page causing conflict somehow. what are your thoughts?
     
    sabahat, Jun 30, 2014 IP