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 »

[SOLVED] Tables in posts convert to text...


  #1  
Old Feb 4, 2010, 04:10 PM
artc1209's Avatar
artc1209
 
10 posts · Nov 2009
Running 3.4.4 on WP 2.8.6

I have a number of postings that are created as tables, using the standard HTML code, and they display properly using the default zebra striping.

Here's the source code of a few rows:
<span id="more-325"></span></p>
<table>
<tr>
<td>1000001071</td>
<td>RADAR ASSIGNMENT</td>
<td>02/01/2010</td>
<td>05:23</td>
<td>LONGLEY RD / DRUMLIN HILL RD</td>
<td>131</td>
<td>Candow, Gordon A.</td>
<td></td>
</tr>
<tr>
<td>1000001070</td>
<td>RADAR ASSIGNMENT</td>
<td>02/01/2010</td>
<td>01:20</td>
<td>499 MAIN ST</td>
<td>131</td>
<td>Candow, Gordon A.</td>
<td></td>
</tr>
<tr>
<td>1000001069</td>
<td>BUILDING CHECK</td>
<td>02/01/2010</td>
<td>01 :08</td>
<td>703 CHICOPEE ROW</td>
<td>131</td>
<td>Candow, Gordon A.</td>
<td></td>
</tr>


However, after one of the posts has been viewed by itself or in a category page, the table is converted to a paragraph style format on display (this is a view of the generated source; the actual post is still retaining the correct table format:

<div class="post-bodycopy clearfix"><p>1000001075<br />
REGISTRATION/INSPECTION<br />

02/01/2010<br />
08:15<br />
BOSTON RD / SANDY POND RD<br />
127<br />
Breslin, Peter S.</p>
<p>1000001074<br />
MN COMPLAINT<br />
02/01/2010<br />
07:17<br />

6 BOSTON RD<br />
127<br />
Breslin, Peter S.</p>
<p>1000001073<br />
AREA CHECK<br />
02/01/2010<br />
06:29<br />
21 HAZEL RD<br />
129<br />

Any ideas on what's happening and how to ensure that the table format is retained?

Thanks much!

Art
  #2  
Old Feb 4, 2010, 04:19 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What is the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 4, 2010, 04:21 PM
artc1209's Avatar
artc1209
 
10 posts · Nov 2009
www.thegrotonline.com

Thanks for looking!
Art
  #4  
Old Feb 4, 2010, 05:02 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Wow, this the same issue as in another post toda (see http://forum.bytesforall.com/showthread.php?t=5641)

The issue is that the post are being displayed as excerpts - excerpts by default strip all html out of the post. Tables wreck havoc with this...or this wrecks havoc with tables.

I might look at seeing if I can come up with the '** table excluded **' code I mentioned in the other post...

What would be a good phrase to say that some table is not here because this is an excerpt?

p.s. your site seems to take forever to load, you may want to look at that.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 5, 2010 at 06:12 AM.
  #5  
Old Feb 4, 2010, 06:40 PM
artc1209's Avatar
artc1209
 
10 posts · Nov 2009
I took a look at the other post, and there certainly seems to be a family resemblance.

My first thought, though would be to ask if there's a way to disable the excerpt function... In my case, I'm not using it specifically, and I've been making it a practice to embed --more-- at an appropriate place in the text.

It seems as if it may be easier to disable the excerpts than to layer more work-around code on top.

***
Thanks for the heads up on the loading time.
This is a brand-new site that I just cracked the door on this Monday.
Haven't done any optimization yet, but I suspect I'm too widget heavy.

Any pointers would be welcome.

***
I'll send along a donation when my next unemployment check clears. ;- )

Cheers,
Art
  #6  
Old Feb 5, 2010, 06:19 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you can shut off excerpts (ATO->Configure EXCERPTS) anytime you want. If you manualy create an excerpt (Dashboard->posts->edit->your post->Excrpt) that will over ride anything else.

Maybe that is the easy solution, when you have a table, hand craft an excerpt.

as for loading time, if you are widget heavy, that will be a problem. Use firebug in firefox to take a look to see if there is a lag getting info from somewhere else. The other big thing is who is your host. Lots of hosts give you the $1.99 per month unlimited hosting! Except it is limited because they stuff so many sites on one machine that the machine runs slow
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Feb 5, 2010, 07:32 AM
artc1209's Avatar
artc1209
 
10 posts · Nov 2009
Shutting off the automatic Excerpts works -- I'm inserting --more-- manually, but in some cases it was further into the post than the 55 character cutoff. I'll play with creating an excerpt manually when I have time.

Thank you so much for taking a look at the site and your suggestions!

Cheers,
Art

Bookmarks

Tags
format changing, table, tables changing



Similar Threads
Thread Thread Starter Forum Replies Last Post
Static text/banner image before posts in "posts page" verbalicious Page & Category Menu Bars 14 Nov 12, 2010 06:27 AM
[SOLVED] How to Add Text to ALL Posts? strangelove Atahualpa 3 Wordpress theme 4 Feb 28, 2010 01:53 PM
Using tables??? jim Excerpts, Read more, Pagination 1 Jun 4, 2009 07:04 PM
Trying to convert my page menu bar to the format on my simple machines forum page.. Joelb53 Page & Category Menu Bars 1 Apr 5, 2009 04:01 PM
Using tables Ron Atahualpa 3 Wordpress theme 20 Mar 29, 2009 04:11 PM


All times are GMT -6. The time now is 12:31 AM.


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