Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   How do I remove the link from a post title? (http://forum.bytesforall.com/showthread.php?t=12522)

DailoDanyo Jan 29, 2011 06:18 PM

How do I remove the link from a post title?
 
Hello all,

I am trying to remove the link in the title of my posts...

I've searched the wordpress support forum and was told to edit the index.html of Atahualpa and they suggested that I edit index.html for Atahualpa to disable the link but this is what I get when I look at the index.html file.


<?php # error_reporting(-1);
list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options();
get_header();
extract($bfa_ata);

?>

<?php /* If there are any posts: */
if (have_posts()) : $bfa_ata['postcount'] = 0; /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>

<?php include 'bfa://content_above_loop'; ?>

<?php while (have_posts()) : the_post(); $bfa_ata['postcount']++; ?>

<?php include 'bfa://content_inside_loop'; ?>

<?php endwhile; ?>

<?php include 'bfa://content_below_loop'; ?>

<?php /* END of: If there are any posts */
else : /* If there are no posts: */ ?>

<?php include 'bfa://content_not_found'; ?>

<?php endif; /* END of: If there are no posts */ ?>

<?php # center_content_bottom does not exist
# if ( $bfa_ata['center_content_bottom'] != '' ) include 'bfa://center_content_bottom'; ?>

<?php get_footer(); ?>

Here is the link to the website I'm building:
www.luckycarwash.com

Thanks for the help!!
-Dan

juggledad Jan 30, 2011 04:57 AM

You can go into the code to remove the link, but why?

Your are only displaying single pages and the titles are not currently links. The reason for the underline is because you have set the post/page title to be underline (ato->Style POSTS & PAGES->HEADLINE Box: Text)

SharonJ May 12, 2013 11:11 AM

I had this written down on a cheat sheet which I just found.

Remove link from post title. Go to edit/ bfa_post_parts.php and delete lines 52-54

<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php }

Not sure if I have ever done this or if it worked when I did.


All times are GMT -6. The time now is 02:57 AM.

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