Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] Tables in posts convert to text... (http://forum.bytesforall.com/showthread.php?t=5718)

artc1209 Feb 4, 2010 03:10 PM

[SOLVED] Tables in posts convert to text...
 
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

juggledad Feb 4, 2010 03:19 PM

What is the url?

artc1209 Feb 4, 2010 03:21 PM

www.thegrotonline.com

Thanks for looking!
Art

juggledad Feb 4, 2010 04:02 PM

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.

artc1209 Feb 4, 2010 05:40 PM

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

juggledad Feb 5, 2010 05:19 AM

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

artc1209 Feb 5, 2010 06:32 AM

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


All times are GMT -6. The time now is 09:13 AM.

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