Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   [SOLVED] Disabling Link in Titles .. Revisited (http://forum.bytesforall.com/showthread.php?t=4358)

redacter Nov 9, 2009 07:01 PM

[SOLVED] Disabling Link in Titles .. Revisited
 
I was reading previously closed post on how to disable links in titles and the solution seems to have a serious flaw.

The recommendation was to delete from bfa_post_parts.php, the following code:

{ ?>

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


}

I tried that and it did disable the the title link, but it also stopped the titles from appearing on post pages and page pages...

Any other suggestions? :confused:

juggledad Nov 9, 2009 07:56 PM

What are you trying to do?

redacter Nov 9, 2009 09:27 PM

When content is posted, the title, or headline, on multi post pages such as home, archive, category,etc, automatically becomes a live link to the full post. I want to disable this feature, so the headlines are static as they are on page pages.

juggledad Nov 10, 2009 04:11 AM

you can use this hack. edit bfa_post_parts and locate line 53-56 (in version 3.4.4) which shoud be
HTML Code:

                if( !is_single() AND !is_page() ) { ?>
                       
                        <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php
                }

and replace tehm with
HTML Code:

                if( !is_single() AND !is_page() ) { ?>
                       
                        <?php the_title();
                }

This should cause the post title to NEVER be a link.

SharonJ Nov 8, 2010 04:59 PM

I will do this if I have to, but I would not mind if the links worked. They go to a page not found, even though, when I mouse over, the link in the bottom of the browser window is correct.

WP 3.0.1.
Ata 3.0.9

I tried disabling all my plugins..except for lightbox plus, since I have all my galleries built.
Plugins are:
Akismet
Bad Behaviour
Fast Secure Contact Form
Feed Burner feedsmith
Headspace 2
Lightbox Plus
Simple Page Ordering

http://gelinascarr.com

juggledad Nov 8, 2010 05:42 PM

what is your permalink set to?
which link doesn't work?

SharonJ Nov 8, 2010 06:08 PM

Oh God. I think I have to go jump off a bridge now.

It is set to /%pagename%/

It should be /%postname%/ shouldn't it???

SharonJ Nov 8, 2010 06:10 PM

I changed it, it works.

Now to head down to the bridge!!

Thank you AGAIN Juggledad


All times are GMT -6. The time now is 09:11 AM.

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