Calais97
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can I auto link prices? Eg $5.50I got numbers to auto link using SEO Auto Linker.
Eg 1.50.
But it wont auto link $1.50. Is there any way to make the plugin autolink $ signs?Forum: Fixing WordPress
In reply to: How can I auto link prices? Eg $5.50the prices are bookmaker odds. When clicked they are linked to a local redirect address then through to the bookmaker.
I want every $*.** or $** to be linked to one internal address.
There are no custom fields just text articles with odds within
Thanks for the replyForum: Fixing WordPress
In reply to: excerpt_length on manual excerptsThanks, worked perfect
Forum: Fixing WordPress
In reply to: excerpt_length on manual excerptsThanks for the reply. I found some code that did the trick.
<?php $len = 200; //Number of words to display in excerpt $newExcerpt = substr($post->post_excerpt, 0, $len); //truncate excerpt according to $len if(strlen($newExcerpt) < strlen($post->post_excerpt)) { $newExcerpt = $newExcerpt."[...]"; } echo "<p>".$newExcerpt."</p>"; //finally display excerpt ?>What can I do to add
<?php the_excerpt(); ?>
to the code so if there isn’t a manual excerpt it will display the auto excerpt?Forum: Fixing WordPress
In reply to: Two Different Excerpt Length'sOr is there a code I can use that will set the word count of the manual excerpt only for the featured position?
Forum: Fixing WordPress
In reply to: Two Different Excerpt Length'sYour 2nd code sets the word number for the featured section but shows the full excerpt of the same post in the read more lower excerpt section.
Maybe it would be easier to only have the featured post in the featured section and not anywhere else on the page? Is there a code for this?