Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Comments, trackbacks & pings »

[SOLVED] Trying to insert a link into the comment form...


 
Prev Previous Post   Next Post Next
  #1  
Old Aug 7, 2012, 11:20 AM
deepskyblue
 
2 posts · Dec 2011
[SOLVED] Trying to insert a link into the comment form...

Hi All,

I've been browsing around here for quite some time since starting my website and this forum has been increadibly helpful. I've run into something though that is a bit above my skill level, as I no nothing about php coding.

I'm trying to add a small amount of text with a link to the comment form. My site is www.diyallday.com

From reading another post where someone was trying to do something similar it looks like the way to do it is by editing the comments.php file in this code:

PHP Code:
if ($bfa_ata['show_xhtml_tags'] == "Yes") {    
    
$comment_notes_after '
        <p class="thesetags clearfix">' 

        
sprintf(__('You can use %1$sthese HTML tags</a>','atahualpa'),
        
'<a class="xhtmltags" href="#" onclick="return false;">') . '</p>
        <div class="xhtml-tags"><p><code>' 
allowed_tags() . '
        </code></p></div>'
;
} else {
    
$comment_notes_after '';


I'm trying to add the text "Please review our Comment Rules" with "comment rules" linked to my comment rules page.

I want that sentence to appear immediatly before the sentence "you can use these html tags."

Also is it wise to update the code in the editor in wordpress or is there a better way to do it?

Any help is much appreciated.

-deepskyblue
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Website in comment form leads to author name as a link in the comment list --yeah--wow Comments, trackbacks & pings 2 Jun 2, 2011 08:34 PM
Problem with Comment Form Anchor Link adum Comments, trackbacks & pings 11 Dec 9, 2010 07:11 PM
How do I insert a "Leave a Comment" form after every post KimMaxwell Comments, trackbacks & pings 5 Aug 14, 2010 05:52 AM
Skip to Comment Form Link KenL Comments, trackbacks & pings 3 Mar 26, 2010 06:01 AM


All times are GMT -6. The time now is 06:12 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.