Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #347

    Hi,

    I’ve populated the 4 columns on the main page by posting.

    Is there a means of disabling the link to the individual posts when the headline is selected?

    Thanks

    #30943

    By default, both the title and the Read More link to the permalink.

    To remove the title link, open up /framework/classes/kclass_display_box.php and change this (around line 121):

    echo'<h3><a href="'.$page_link.'">'.get_the_title().'</a></h3>'."n";

    to this:

    echo'<h3>'.get_the_title().'</h3>'."n";

    To remove the Read More link find this code (around line 124) and delete it:

    echo '<a href="'.get_permalink().'" class="more-link">Read more</a>';

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

The topic ‘Posting to Main Page’ is closed to new replies.