spida2
Forum Replies Created
-
Hey, your plugin is brilliant! It works very reliable and offers an easy approach to customizing.
Yet, I have a problem with trimming posts. The theme I use doesn’t have archive.php nor single.php. It just offers head.php, index.php and footer.php.
I added the aforesaid function to function.php, but changing
the_content();in index.php toecho custom_trim_excerpt(200);worked only partially: the text was trimmed to 200 words, but the link to the original URL as specified in the WPMatico template wasn’t generated anymore. My WPMatico template looks like this:{content} <a href="{feedurl}">Source ({feeddescription})</a>Switching back to
the_content();enables the link to the source again, but then again I get no trimming.Do you have a suggestion what else I could try?
Forum: Plugins
In reply to: Problem with wp-captcha-freePlugin doesn’t work on my blog either. After sending an error message is shown, saying that the data is insufficient.
Forum: Themes and Templates
In reply to: how to make inove speak another languageBut I cannot put php into php, can I?
Or should it be like this:
<?php
if (is_single()) {
echo '<h2><?php _e($posts_widget_title); ?></h2>';
} else {
echo '<h2><?php _e($posts_widget_title); ?></h2>';
}
?>But this would not make sense, since both times the same widget title will be given. Or am I on the wrong track?
Cheers,
LukaForum: Themes and Templates
In reply to: how to make inove speak another languageYeah, wow, it works!
Thank you for your help!EDIT:
Just this one’s a problem:
<?php
if (is_single()) {
$posts_widget_title = 'Recent Posts';
} else {
$posts_widget_title = 'Random Posts';
}
?>
How do I handle it best?