Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] Disabling Link in Titles .. Revisited


  #1  
Old Nov 9, 2009, 08:01 PM
redacter
 
14 posts · Oct 2009
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?
  #2  
Old Nov 9, 2009, 08:56 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What are you trying to do?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Nov 9, 2009, 10:27 PM
redacter
 
14 posts · Oct 2009
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.

Last edited by redacter; Nov 9, 2009 at 10:43 PM.
  #4  
Old Nov 10, 2009, 05:11 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Nov 8, 2010, 05:59 PM
SharonJ's Avatar
SharonJ
 
637 posts · Sep 2010
Duncan BC Canada
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
  #6  
Old Nov 8, 2010, 06:42 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is your permalink set to?
which link doesn't work?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Nov 8, 2010, 07:08 PM
SharonJ's Avatar
SharonJ
 
637 posts · Sep 2010
Duncan BC Canada
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???
  #8  
Old Nov 8, 2010, 07:10 PM
SharonJ's Avatar
SharonJ
 
637 posts · Sep 2010
Duncan BC Canada
I changed it, it works.

Now to head down to the bridge!!

Thank you AGAIN Juggledad

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling sidebar for specific post-page vi8084 Sidebars & Widgets 3 Mar 10, 2010 05:36 PM
Can I reduce load time by disabling rotating header? lhanft Header configuration & styling 5 Jan 31, 2010 11:20 AM
Category Page Revisited gungo Plugins & Atahualpa 12 Jul 28, 2009 01:36 PM
Disabling the LEFT BORDER for LINKS in the Sidebar ianuy Sidebars & Widgets 3 May 17, 2009 06:17 AM
disabling left navigation silentone Atahualpa 3 Wordpress theme 3 Mar 9, 2009 08:38 AM


All times are GMT -6. The time now is 01:21 AM.


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