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 » Montezuma Theme »

Author name below post doesn't work


  #1  
Old Apr 22, 2013, 10:46 AM
Narenp
 
3 posts · Apr 2013
Unhappy Author name below post doesn't work

I'm having an issue with placing the author name in the right place on a parse_php.php.

( PATCH 113-06: the_author and other 'Limited PHP code' don't all work )

Even i follow by referring this solved thread im still facing the same problem.
Am I missing something?
  #2  
Old Apr 22, 2013, 11:08 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version?
  #3  
Old Apr 22, 2013, 11:20 AM
Narenp
 
3 posts · Apr 2013
WordPress 3.5.1.
Montezuma 1.1.8
  #4  
Old Apr 22, 2013, 03:16 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the patch was for version 1.1.3 of montezuma, the patch - this is why it is called 'PATCH 113-06' it is the 6th patch for version 1.1.3

Quote:
I'm having an issue with placing the author name in the right place on a parse_php.php
why are you touching 'parse_php.php'?

where are you trying to use the author function? what virtual template?
  #5  
Old Apr 22, 2013, 10:16 PM
Narenp
 
3 posts · Apr 2013
I reset back to original content . Even in latest version the author name doesn't shown below the post title. I would like to have the author name listed next to the date on the pages that list "posted by myname".


This is the parse.php code of latest version of montezuma. I think everything is fine.


PHP Code:
// the following line changed by Patch 113-06        
//    $need_loop = array( 'the_content' );
    
$need_loop = array( 'the_author',
                        
'the_author_meta',
                        
'the_author_post_links',
                        
'the_content'
                        
'the_date'
                        
'the_excerpt' 
                         
);
    
// functions that needs the loop
// the following line changed by Patch 113-02        
//    if (have_posts()) 
    
if( !in_the_loop() && in_array$function_name$need_loop ) ) { 

Last edited by Narenp; Apr 22, 2013 at 11:33 PM.
  #6  
Old Apr 23, 2013, 12:42 AM
Andrewp
 
3 posts · Apr 2013
im also using montezuma 1.1.8. the author name does not show underneath the post title.

Also Google Authorship can't working. im really frustated.
need help ASAP

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
link on he post (title/author and read more) are not working in newest post las77 Excerpts, Read more, Pagination 1 Dec 11, 2012 05:00 AM
post author gravatar SouthernSentiment Center area post/pages 0 Sep 3, 2012 08:50 AM
How to add author name to post johnny2x Forum How-To 1 Jan 14, 2012 04:17 PM
Author info for Post mikesmillions New Versions, & Updating 1 May 9, 2009 08:43 PM
3.2 to 3.3.2 Update: %author-linked% in ByLine does not longer work Mariosagt Post-Kicker, -Byline & -Footer 3 Apr 14, 2009 08:25 PM


All times are GMT -6. The time now is 07:40 PM.


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