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 on home page using permalinks - I have them off


  #1  
Old Apr 8, 2009, 04:58 AM
RickyRobi
 
5 posts · Apr 2009
The post on my home page is trying to use custom permalinks. I have that option set to default so I end up with a 404. The link in the sidebar is correctly using the default. I changed the theme to the default wordpress theme and it works correctly on the home page. How do I get the post on home page to use the correct link?
  #2  
Old Apr 8, 2009, 06:00 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
This should be fixed in the current version 3.3.2. Either update or alternatively replace the Post Headline part in index.php with this

PHP Code:
        <!-- Post Headline -->                    
        <div class="post-headline">    
        <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>
        </div>
  #3  
Old Apr 9, 2009, 04:33 AM
RickyRobi
 
5 posts · Apr 2009
Thanks! I will update.

Bookmarks

Tags
permalinks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Default "home" in page menu, how do I attach a post or page to it? LoneGunman Page & Category Menu Bars 3 Aug 1, 2010 06:55 PM
Can I get rid of the word "Home" below menu bar on the home page? nasu Page & Category Menu Bars 1 Jun 30, 2009 02:36 PM
Problem implementing "How to show single post special category on static home page??" mkny13 Post-Kicker, -Byline & -Footer 6 May 5, 2009 05:21 AM
[SOLVED] How to show single post special category on static home page?? Shepherd Jim Post-Kicker, -Byline & -Footer 5 Mar 19, 2009 07:42 AM
.htaccess for permalinks HenryGomez Atahualpa 3 Wordpress theme 4 Feb 5, 2009 05:09 PM


All times are GMT -6. The time now is 12:18 PM.


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