Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter miholmes

    (@miholmes)

    Sorry Digilodger that previous follow-up question was for Andrew about using the validate website and direct input. My screen hadn’t refreshed with your suggestion until after I submitted the question.

    Thread Starter miholmes

    (@miholmes)

    Digilodger – Thank you SO much!!!

    That fixed it for me! I used Method #1.

    THANK YOU!

    ~Michael

    Thread Starter miholmes

    (@miholmes)

    Okay so you mean copy my index.php and have it check that?

    I apologize for not having a great knowledge of WordPress…so if that sounds like a stupid question…it’s my fault 😀

    ~M

    Thread Starter miholmes

    (@miholmes)

    [ Moderator note: please wrap code in backticks or use the code button. ]

    Nevermind I think I figured it out. The error line was from the last row in the php file. I removed it and it appeared to have fixed the issue. 🙂

    WAS:

    <?php if ($altop_xhtml_tags == "true") { ?>
    	<p class="comment-tags">	<small><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s', 'altop'), allowed_tags()); ?> </small> </p>
    	<?php } ?>
    
    			<div>
    			<textarea class="commenttext" name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea>
    			<div id="cancel-comment-reply">	<?php cancel_comment_reply_link() ?> </div>
    			</div>
    
    			<p>
    				<input class="commentsubmit" name="submit" type="submit" id="submit" tabindex="5" value="<?php esc_attr_e(__('Submit', 'altop')); ?>" />
    				<?php comment_id_fields(); ?>
    			</p>
    
    			<?php do_action('comment_form', $post->ID); ?>
    			</form>
    			<?php endif; ?>
    			</div>
    
    <?php endif; ?>

    NOW:

    <?php if ($altop_xhtml_tags == "true") { ?>
    	<p class="comment-tags">	<small><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s', 'altop'), allowed_tags()); ?> </small> </p>
    	<?php } ?>
    
    			<div>
    			<textarea class="commenttext" name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea>
    			<div id="cancel-comment-reply">	<?php cancel_comment_reply_link() ?> </div>
    			</div>
    
    			<p>
    				<input class="commentsubmit" name="submit" type="submit" id="submit" tabindex="5" value="<?php esc_attr_e(__('Submit', 'altop')); ?>" />
    				<?php comment_id_fields(); ?>
    			</p>
    
    			<?php do_action('comment_form', $post->ID); ?>
    			</form>
    			<?php endif; ?>
    			</div>

    Thread Starter miholmes

    (@miholmes)

    Hello there,

    I recently updated my WP and Spam Free WordPress and now I’m getting the below error. Please let me know if you are able to assist with this issue, and as always what the fee might be to do so. 🙂

    Error:
    Parse error: syntax error, unexpected T_ENDIF in /home/content/13/8557213/html/charismascorner/wp-content/themes/a-little-touch-of-purple/comments.php on line 68

    Thread Starter miholmes

    (@miholmes)

    PERFECT! Thank you, thank you, THANK YOU! 🙂

    Appriciate your assistance and your great product!

Viewing 6 replies - 1 through 6 (of 6 total)