Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

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


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 4, 2010, 03: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, 03:19 PM
juggledad's Avatar
juggledad
 
22,099 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
What is the url?
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Feb 4, 2010, 03:21 PM
artc1209's Avatar
artc1209
 
10 posts · Nov 2009
www.thegrotonline.com

Thanks for looking!
Art
  #4  
Old Feb 4, 2010, 04:02 PM
juggledad's Avatar
juggledad
 
22,099 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 5, 2010 at 05:12 AM.
  #5  
Old Feb 4, 2010, 05: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, 05:19 AM
juggledad's Avatar
juggledad
 
22,099 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #7  
Old Feb 5, 2010, 06: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 05:27 AM
[SOLVED] How to Add Text to ALL Posts? strangelove Atahualpa 3 Wordpress theme 4 Feb 28, 2010 12:53 PM
Using tables??? jim Excerpts, Read more, Pagination 1 Jun 4, 2009 06: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 03:01 PM
Using tables Ron Atahualpa 3 Wordpress theme 20 Mar 29, 2009 03:11 PM


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


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