Wsparcie » Używanie i konfiguracja WordPressa » Najnowsze wpisy widget
Najnowsze wpisy widget
-
Witam
Mam pytanie: mam uruchomiony WIDGET najnowsze wpisy ale chciałbym oprócz daty aby pojawiał się tekst 2 ostatnich wpisów tzn. jakieś 30 znaków. Jak to zrobić? Może już coś takiego istnieje?
Pozdrawiam 🙂
Viewing 2 replies - 1 through 2 (of 2 total)
-
z odnośnikiem więcej oczywiśćie 😉
uzylem juz wtyczki dostepnej w internecie ale mam jeden problem:
<html> <head> <style> /** * Strona Główna CSS * 2013.06.06 */ /*---[ Resets ]------------------------------------------------------*/ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, big, em, img, q, small, strong, tt, var, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { border:0; margin:0; outline:0; padding:0; vertical-align:baseline } h1, h2, h3, h4, h5, h6 { font-weight: normal } a img, :link img, :visited img, :active img, :hover img, fieldset, abbr, acronym { border:0 } a{text-decoration:none;} a:hover { text-decoration:underline } table { border-collapse:collapse; border-spacing:0 } th, caption { text-align:left } form { display:inline; margin:0; padding:0 } input, select { font:1em/1.25 Arial, Helvetica, sans-serif } input[type="button"] { cursor:pointer } blockquote, q { quotes: none } :focus { outline: 0 } label:hover { cursor:pointer } ol, ul { list-style: none } .bx { margin-bottom:10px } .block { display:block } .nowrap { white-space:nowrap !important } .hlink { text-decoration:none !important } .hlink:hover { text-decoration:underline !important } .clr { font-size:0; clear:both; height:0; line-height:0 } .red { color:#d10000 !important } .gray { color:#777 !important } .black { color:#000 !important } .orange { color:#f63 !important } .green { color:#429706 !important } section, header, footer, nav { display:block } form input[type=text] { color:#565c62 } form input[type=submit] { cursor:pointer } form input[type=submit]:hover { opacity:.9 } form input.placeholder { font:bold 12px Arial; color:#bbb !important } /*---[ Conteiner ]------------------------------------------------------*/ /*---[ menu tresc ]------------------------------------------------------*/ #tresc{padding-top:20px;} #tresc h2{font-family:'Aller_Lt',Arial,sens-safir;font-size: 26px; color:#252525;font-weight:bold; } div.news_homepage{width:695px;float:left;} div.news_homepage img{float:left;margin-right:20px;padding-top:15px;} div.news_homepage p{padding-top:20px;font-family:'CALIBRI',Arial,sens-safir;font-size:15px;color:#555555;text-align:justify;} #widget{width:223px;float:right;padding:0px 20px 0px 20px;} div.srp-content-box{padding:20px 0px 20px 0px;border-bottom: 1px dashed #9e9e9e;} a.srp-post-title-link{font-family:'CALIBRI',Arial,sens-safir;font-size:16px;color:#9e0b0f;text-align:justify;width:auto;} p.srp-widget-date{color:#898989;font-size:14px;font-family:'CALIBRI',Arial,sens-safir;} p.srp-widget-excerpt{padding-top:10px;font-family:'CALIBRI',Arial,sens-safir;font-size:11px;color:#555555;text-align:justify;} a.srp-widget-stringbreak-link{color:#9e0b0f;} </style> </head> <body> <div id="widget"> <div id="wdg_specialrecentpostsfree-2" class="widget widget_specialrecentpostsFree"><!-- BOF Special Recent Posts FREE Edition ver1.9.9 --><h2 class="widget-title srp-widget-title aktualnosci_blok">Aktualności:</h2> <div class="srp-widget-container"><div id="wdg_specialrecentpostsfree-2-srp-singlepost-1" class="srp-widget-singlepost"> <div class="srp-content-box"> <h4 class="srp-post-title"> <a class="srp-post-title-link" href="http://localhost/nowy/cagasg-laureatem-prestizowej-nagrody/" title="adgagasg laureatem prestiżowej nagrody.">sadasd laureatem prestiżowej nagrody.</a></h4><p class="srp-widget-date">2013-06-10</p><p class="srp-widget-excerpt">Ogólnie znana teza głosi, iż użytkownika może rozpraszać zrozumiała zawarto<a class="srp-widget-stringbreak-link" href="http://localhost/nowy/asdgsag-laureatem-prestizowej-nagrody/" title="sfddfs laureatem prestiżowej nagrody.">...Wiecej</a></p></div><div style="clear:both; height: 0px;"></div></div><div id="wdg_specialrecentpostsfree-2-srp-singlepost-2" class="srp-widget-singlepost"><div class="srp-content-box"><h4 class="srp-post-title"><a class="srp-post-title-link" href="http://localhost/nowy/witaj-swiecie/" title="Witaj, świecie!">Witaj, świecie!</a></h4><p class="srp-widget-date">2013-06-10</p><p class="srp-widget-excerpt">Witaj w WordPressie. To jest Twój pierwszy wpis. Zmodyfikuj go lub usuń, a <a class="srp-widget-stringbreak-link" href="http://localhost/nowy/witaj-swiecie/" title="Witaj, świecie!">...Wiecej</a></p></div><div style="clear:both; height: 0px;"></div></div><div style="clear:both; height: 0px;"></div></div><!-- EOF Special Recent Posts FREE Edition ver1.9.9 --></div> </div> </body> </html>
chodzi o to aby tekst był obok daty, chodzi o klasę srp-widget-date, z gory dzieki 🙂
Viewing 2 replies - 1 through 2 (of 2 total)
- Temat ‘Najnowsze wpisy widget’ jest zamknięty na nowe odpowiedzi.