Filip
Forum Replies Created
-
still not solved…anyone has a solution for this? thank you in advance.
Forum: Hacks
In reply to: Order events by custom date (todays date not displaying)wow, wour snippet works just great! thank you for that!
as a side thing, just wondering, do you have any idea if it’s possible to use multiple ‘data’ fields? for example if an event is happening in 2 or 3 days?
anyway, thank you, i really apreciate your given help!
Forum: Hacks
In reply to: Order events by custom date (todays date not displaying)hey bcworkz, thank you very much for your answer, i’m going to try that right now and i’ll be back with the result.
thank you again
Forum: Hacks
In reply to: Solution to display recent posts from blog to websiteHello, thank you for this snippet, works great with recent posts.
i was wondering do you have any idea how could i make it work if i have a custom query?
thank you very much in advance
Forum: Networking WordPress
In reply to: Creating sub-dir blogs under one parent diroh now i understand! i didnt pay attention to the multi network plugin. that allows me to create secondary multi sites 😀 got it!
thank you very much Ipstenu for your help.
Forum: Networking WordPress
In reply to: Creating sub-dir blogs under one parent diri guess that’s the only way that would work with what i want.. although i won’t like having 2 wp installed. my main (single site) and the multi-site…
thank you for your answer
Forum: Fixing WordPress
In reply to: Problem with the excerpthello, thank you for your answer… taht didn’t work either… i don’t know why… i managed to resolve this issue with copying a fragment of better excerpt plugin in functions.php:
add_option("better_excerpt_length", '250', '', 'yes'); add_option("better_excerpt_ellipsis", '...', '', 'yes'); add_option("better_excerpt_before_text", '<p>', '', 'yes'); add_option("better_excerpt_after_text", '</p>', '', 'yes'); add_option("better_excerpt_keep_line_breaks", '0', '', 'yes'); function get_options(){ $options = array(); $options['length'] = get_option(better_excerpt_length); $options['ellipsis'] = get_option(better_excerpt_ellipsis); $options['before_text'] = get_option(better_excerpt_before_text); $options['after_text'] = get_option(better_excerpt_after_text); return $options; } function better_excerpt($length, $ellipsis, $before_text, $after_text) { $permalink = get_permalink($post->ID); $text = get_the_content(); $text = preg_replace(" (\[.*?\])",'',$text); if ($keep_line_breaks == 0) { $text = strip_tags($text); } else { $text = strip_tags($text, '<p><br>'); } $text = substr($text, 0, $length); $text = substr($text, 0, strripos($text, " ")); $text = trim(preg_replace( '/\s+/', ' ', $text)); $text = stripslashes($before_text).$text.$ellipsis; $text .=stripslashes($after_text); return $text; } function get_better_excerpt() { $options = get_options(); extract($options); return better_excerpt($length, $ellipsis, $before_text, $after_text); } remove_filter('get_the_excerpt', 'wp_trim_excerpt'); add_filter('get_the_excerpt', 'get_better_excerpt');and now it works…
Thank you again!
Forum: Plugins
In reply to: Highlight unread articlesI use wp-sifr…in this case, i have to disable it…right? and use the default titles…
Forum: Plugins
In reply to: Highlight unread articles…so…i can add an icon to an unvisited link from css? (i did
t think of that...) i should try...cuzit’s not that hard…i guess…it sounds like a good ideea…Thanks a lot 🙂Forum: Installing WordPress
In reply to: Simple question……i wanted to ask just to be sure i don’t mess up something…Thanks a lot for your answer…the “new” blog will be the exact copy of the “old” one…just copy-paste from ftp …
Thanks again and have a nice day!