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 » Post-Kicker, -Byline & -Footer »

[SOLVED] Disabling Link in Titles .. Revisited


  #1  
Old Nov 9, 2009, 07:01 PM
redacter
 
14 posts · Oct 2009
[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?
  #2  
Old Nov 9, 2009, 07:56 PM
juggledad's Avatar
juggledad
 
23,765 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, 09: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 09:43 PM.
  #4  
Old Nov 10, 2009, 04:11 AM
juggledad's Avatar
juggledad
 
23,765 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, 04:59 PM
SharonJ's Avatar
SharonJ
 
644 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, 05:42 PM
juggledad's Avatar
juggledad
 
23,765 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

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 04:36 PM
Can I reduce load time by disabling rotating header? lhanft Header configuration & styling 5 Jan 31, 2010 10:20 AM
Category Page Revisited gungo Plugins & Atahualpa 12 Jul 28, 2009 12:36 PM
Disabling the LEFT BORDER for LINKS in the Sidebar ianuy Sidebars & Widgets 3 May 17, 2009 05:17 AM
disabling left navigation silentone Atahualpa 3 Wordpress theme 3 Mar 9, 2009 07:38 AM


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


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