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 »

Headline on post page displays as "Auto Draft"


  #1  
Old Jun 20, 2010, 08:12 PM
cytaylor
 
4 posts · Jun 2010
Exclamation Headline on post page displays as "Auto Draft"

I just downloaded 3.4.9 version and trying to get the headline to render properly on the post page.

The headline renders on the index page, but not on the actual post page. I figured out how to get the kicker to display but underneath it are the words "Auto Draft" then under that the author and date is displayed.

How do I correct this?
  #2  
Old Jun 21, 2010, 04:01 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
first I suggest you use 3.5.1 (http://wordpress.bytesforall.com/?p=920
second search the forums, this has been answered already
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 21, 2010, 12:06 PM
johanM
 
16 posts · Jun 2010
I think it has nothing to do with atahualpha theme. I am using ATA 3.5.1 and it continuous created a new 'Auto Draft' to post table every time no matter what I update, save or do not save the page. Turing off post/page option doesn't solve this issue. I think it is related to wordpress 3's new feature auto-draft, I just don't know how to solve it.
Attached Thumbnails
Click image for larger version

Name:	wp-auto-draft.jpg
Views:	2460
Size:	13.2 KB
ID:	549  

Last edited by johanM; Jun 21, 2010 at 12:38 PM.
  #4  
Old Jun 21, 2010, 02:33 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
johanM:
Do the posts that this is happening to have any custom fields starting with 'bfa'?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 21, 2010, 06:45 PM
cytaylor
 
4 posts · Jun 2010
Sorry, I'm not a developer so your question is difficult to answer. Can you restate in laymen's terms please?
  #6  
Old Jun 21, 2010, 06:50 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Go edit one of your posts that exhibits this issue
Look below the area you type the post, you may see an area of custom fields.
If you see the custom fields, do any start with bfa?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jun 22, 2010, 11:16 PM
cytaylor
 
4 posts · Jun 2010
yep.

bfa_ata_body_title

'Auto Draft' is in the 'value' field. So I deleted it and now my headline shows up.

Does that fix the problem indefinitely or will I have to check w/ every post?

Thanks so much!
  #8  
Old Jun 22, 2010, 06:28 PM
jessrip
 
2 posts · Apr 2009
Quote:
Originally Posted by cytaylor
Sorry, I'm not a developer so your question is difficult to answer. Can you restate in laymen's terms please?
Me too - I've read through several posts in the forum but I'm afraid I'm terribly confused. I just want to be able to post to my blog with the actual title again. Also I've uploaded the 3.5.1 version to my host but can't figure out why it's not activating?

Thanks so much for your time and any assistance.

ETA: Finally, figured it out... what worked for me was figuring out how to upgrade to 3.5.1 (if it would have been a bear it would have bit me), and then deleting the custom fields at the end of the offending post that had "bfa". Thank you.

Last edited by jessrip; Jun 22, 2010 at 06:38 PM.
  #9  
Old Jun 22, 2010, 11:30 PM
cytaylor
 
4 posts · Jun 2010
"ETA: Finally, figured it out... what worked for me was figuring out how to upgrade to 3.5.1 (if it would have been a bear it would have bit me), and then deleting the custom fields at the end of the offending post that had "bfa". Thank you."

So do tell about activating 3.5.1. I'd like to unzip it too but haven't a clue. :-)
  #10  
Old Jun 21, 2010, 06:51 PM
johanM
 
16 posts · Jun 2010
Nope. I meant there is NO effects on bfa_meta data unless the post/page has been saved AND the title is untouched.

The first post title 'Auto Draft', in fact, is created at the same time whenever a 'new page' created and wp will give a new post id to that empty data, when I change that 'default' title, and click 'update', it changed, but wp 3, created another empty line of 'Auto Draft' in the post table, following every update, it created another one...and so on.

a little research here

wp add to 3.0 on purpose, see http://core.trac.wordpress.org/ticket/11889

Quote:
  1. creates a post with post_status=auto-draft
  2. First auto- or manual save turns it into a real draft
  3. when auto-drafts are created, it deletes ones older than one week
  4. you now always have a post ID on the post edit screen, which fixes all those attachment- and meta-related bugs. No more fetching new nonces. No more negative post IDs.
and http://wordpress.org/support/topic/411355

Quote:
Auto drafts are what is created when you first visit the edit page so as to ensure any action you take on the page gets correctly associated with the post.
Previously there were issues if you tried to upload images before setting any other attributes on a post and thereby creating a draft post.
On save it will become a real draft and after a while the old ones will be deleted.
To skip with save it as 'Auto Draft', you can made a little modification on the ata's function.php to remove that 'Auto Draft', the funny title will be gone as wished, but this data still create on the db table.

Code:
 (template_dir/function.php, about line 603)
$title = ($post_id->post_title !== 'Auto Draft') ? $post_id->post_title : '';

Last edited by johanM; Jun 21, 2010 at 07:10 PM. Reason: period
  #11  
Old Jun 22, 2010, 11:58 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I was getting this same issue on all my WP 3 sites. johanM's solution fixed it.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #12  
Old Jun 28, 2010, 02:33 PM
adum's Avatar
adum
 
85 posts · Jun 2009
Quote:
Originally Posted by johanM
....

To skip with save it as 'Auto Draft', you can made a little modification on the ata's function.php to remove that 'Auto Draft', the funny title will be gone as wished, but this data still create on the db table.

Code:
 (template_dir/function.php, about line 603)
$title = ($post_id->post_title !== 'Auto Draft') ? $post_id->post_title : '';
Where do you put the mod exactly? Like before / after which lines? I've edited my functions.php file before and depending on what version of atahualpa you're using, line 603 is probably going to be different.

Thanks in advance for the help!
  #13  
Old Jun 28, 2010, 07:50 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
In functions.php replace
HTML Code:
$title = $post_id->post_title;
with
HTML Code:
 $title = ($post_id->post_title !== 'Auto Draft') ? $post_id->post_title : '';
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #14  
Old Jan 21, 2011, 01:44 PM
athriftymom
 
2 posts · Jan 2011
Quote:
Originally Posted by johanM
Nope. I meant there is NO effects on bfa_meta data unless the post/page has been saved AND the title is untouched.

The first post title 'Auto Draft', in fact, is created at the same time whenever a 'new page' created and wp will give a new post id to that empty data, when I change that 'default' title, and click 'update', it changed, but wp 3, created another empty line of 'Auto Draft' in the post table, following every update, it created another one...and so on.

a little research here

wp add to 3.0 on purpose, see http://core.trac.wordpress.org/ticket/11889

and http://wordpress.org/support/topic/411355

To skip with save it as 'Auto Draft', you can made a little modification on the ata's function.php to remove that 'Auto Draft', the funny title will be gone as wished, but this data still create on the db table.

Code:
 (template_dir/function.php, about line 603)
$title = ($post_id->post_title !== 'Auto Draft') ? $post_id->post_title : '';
Ok so I tried to find that code and its not there. My functions.php only has like 450 lines.. and in the title area there is no word Auto Draft..
any idea of what to do?

also I tried to update manually and it spit out tones of errors on my site and my site went down.. so for now i'm sticking with:

Atahualpa 3.4.1
  #15  
Old Jan 21, 2011, 01:52 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You wouldn't see the words Auto Draft in the functions.php. The code shown is what that line needs to be changed to. I would also suggest making a copy of the functions.php file in case the edit messes something up.

Also what do you mean you got tons of errors when you manually upgraded? How did you do the manual upgrade?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create in text headline format for "pages" trilliumcreek Center area post/pages 3 Dec 30, 2011 02:44 PM
[SOLVED] Auto Draft appears instead of post title pvelte Center area post/pages 12 Jun 21, 2010 05:04 AM
[SOLVED] Auto-draft symarch Atahualpa 3 Wordpress theme 0 Jun 20, 2010 06:14 AM
How to select "Only Exerpts"/"Full Posts" for certain post? shus Center area post/pages 4 Jan 19, 2010 01:41 PM
How to style "post icon" and "post comments" text Whatsthatcat? RSS, Feeds & Subscribing 3 Apr 1, 2009 09:41 AM


All times are GMT -6. The time now is 03:52 AM.


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