Plugin voor Wordpress: zoekresultaten
Zaterdag, 31 maart 2007 Het was echt moeilijk, misschien wel mijn absolute mislukking, maar ik kon het niet vinden een fatsoenlijke plugin te verbeteren zoekresultaten binnen een Wordpress-blog (of mijn undolog).
Op het einde, na uitputtend onderzoek, vond ik HILITE Zoek! De documentatie is slecht gedaan omdat het niet overal expliciet dat meer dan de installatie van de plugin moet verandering in het bestand search.php van Wordpress! Dus op het eind realiseerde ik me met rust! Overdracht vervolgens de code te worden opgenomen in het bestand search.php, zodat zij kunnen zien - eindelijk - de resultaten belicht. De lijnen worden ingevoegd door de 6,7 en 8!
- : the_post ( ) ; ? > <? Php while (have_posts ()): the_post ();?>
- > <div class = "post">
- "> <a href=" < ?php the_permalink ( ) ? > " rel="bookmark" title="Permalink per < ?php the_title ( ) ; ? > "> < ?php the_title ( ) ; ? > </a> </h3> <h3 id = "post-<? php the_ID ();?>"> <a href =" <? php the_permalink ()?>" rel = "bookmark" title = "Permalink voor <? php the_title ();? >> <? Php the_title ();?> </ A> </ h3>
- ) ? > </small> <small> <? php the_time ( "j F Y ')?> </ small>
- > <div class = "entry">
- ) ; ? > <? Php the_content ( 'Doorgaan'');?>
- </ Div>
- > Pubblicato in < ?php the_category ( ', ' ) ? > <strong> | </strong> < ?php edit_post_link ( 'Modifica' , '' , '<strong> |'); ?> <?php comments_popup_link(' Nessun commento » ', ' 1 commento » ', ' % commenti » ',' ',' Commenti disabilitati '); ?> </p> <p "postmetadata" klasse => Gepubliceerd in <? php the_category (',')?> <strong> | </ strong> <? php edit_post_link ( 'Edit','',' <strong> |');? > <? Php comments_popup_link ( "No comment", "1 reactie" ','% reacties' ',' ',' Opmerkingen uitgeschakeld');?> </ P>
- </ Div>
- <? Php endwhile;?>
Als iemand weet het beter ... Laat het me weten! ![]()


















Geef een reactie