Holy crap, you have some very old parameters in there! do_pattern and thumbnail_selection have been deprecated for a very long time now! o.O
Anyways, you’re missing the TD tag. It should be like this:
[wpp range=weekly stats_comments=0 stats_views=0 thumbnail_width=100 thumbnail_height=100 wpp_start="<table>" post_html="<tr><td>{thumb} {text_title}</td></tr>" wpp_end="</table>"]
That’s odd. Works for me over here. Could you please post your site’s URL so I can see what’s going on?
Thread Starter
fredel
(@fredel)
sorry, my fault. for the moment its working π
thanks again!
Thread Starter
fredel
(@fredel)
sorry, me again, is there a way to change table, e.g. the width?
[wpp range=weekly stats_comments=0 excerpt_length=100 post_type=post stats_views=0 limit=50 thumbnail_width=50 thumbnail_height=50 wpp_start=”<table width=”80%”>” post_html=”<tr><td>{thumb} {title}{summary} </td></tr>” wpp_end=”</table>”]
but doesnt work out.
sorry & thanks
Thread Starter
fredel
(@fredel)
and / or the fomat of the title (e.g. bigger font”), tried
wpp_start=”<table>” post_html=”<tr><td>{thumb} <font size=”3em”> {title} </font>
{summary} </td></tr>” wpp_end=”</table>”]
thanks you are helping a neewbie π
The problem is here: wpp_start="<table width="80%">". Use single quotes when adding attributes like width, cellpadding, etc. like this: wpp_start="<table width='80%'>".
Thread Starter
fredel
(@fredel)
hey again, sorry for another question! is it possible to change the layout of <tr> or <td> within short code, i want to disable all borders…
http://www.bergtour-online.de/top-touren/beliebteste-wanderungen/
Hi there!
To remove borders, you can use the border attribute:
wpp_start="<table width='80%' border=0>"
Alternatively, you can also add the following to your theme’s stylesheet (style.css):
table {
border:none;
}
Thread Starter
fredel
(@fredel)
thanks again hector, got it via CSS.
One last Question: A numbering of the articles isnt possible, i suppose?
and / or: My theme has such a numbering integreated. you you see a fix within shortcode to display it like that or in that direction?
http://www.bergtour-online.de/top-touren/beliebteste-wanderungen/
(Site End other format)
thanks so much again!
The easiest way to have the list numbered is by using the OL tag:
[wpp range=weekly stats_comments=0 excerpt_length=100 post_type=post stats_views=0 limit=50 thumbnail_width=50 thumbnail_height=50 wpp_start="<ol>" post_html="<li>{thumb} <span style='font-weight:600; font-size:1.1em'>{title}</span> {summary}</li>" wpp_end="</ol>"]
… but then, you wouldn’t be able to use a table π