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 »

Post headers on homepage - Link to pages instead?


 
Prev Previous Post   Next Post Next
  #1  
Old Mar 10, 2009, 04:14 AM
ray-zin
 
14 posts · Mar 2009
Post headers on homepage - Link to pages instead?

Hi Is it possibel to change this piece of code in the index.php to point to relevant page slugs instead of post slugs?
Code:
		<h2><?php 
		if( !is_single() AND !is_page() ) { ?>
			 <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php
			if (function_exists('the_title_attribute')) { 
				the_title_attribute();
			} 
			elseif (function_exists('the_title')) { 
				the_title();
			} ?>"><?php 
		} the_title(); 
		if( !is_single() AND !is_page() ) { ?>
			</a><?php 
		} ?>
		</h2>
Thanks in advance for your help.
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest Comment From Each Post on Homepage And Multi-page pages noyell Post-Kicker, -Byline & -Footer 3 Aug 8, 2009 01:39 PM
multiple pages... (homepage) designer666 Atahualpa 3 Wordpress theme 1 May 12, 2009 09:43 AM
how do i get comments to show up on homepage for each post??? drewjones Comments, trackbacks & pings 2 Apr 15, 2009 07:04 PM
Post PHP on one page only, and not homepage blueprairie Plugins & Atahualpa 2 Apr 2, 2009 07:28 AM
Dreamweaver homepage link problem Dealer Bicycles Atahualpa 3 Wordpress theme 4 Jan 31, 2009 04:38 PM


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


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