Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • i’m having the same problem and looking for a solution too !

    Nice website, no blog-like appearance.

    Though i’m wondering :
    – How did you manage to remove cforms2 link above your form ?
    – Did you use a plugin for the animated image banner ?
    – What do you mean with “seo hacks for meta tags” ?

    Thanks, bye

    This is my error :

    Warning: is_writable() [function.is-writable]: Unable to access /cache/php.err in /mnt/146/sdb/7/c/grumotland/wpgl/wp-includes/wp-db.php on line 199

    I’ve upgraded from to 2.5.1. My host is also free.fr.

    I’ve tried to change the permalink structure and reset it to default, because customized permalink structure between 1.5 and 2.5 are not compatible. No effects.

    I tried re-uploading wp-db.php just in case he didn’t overwrite it. No effects.

    I’ve tried deactivating all plugins > that worked !

    I’m now trying to activate plugins one by one to see which one is responsible !

    Forum: Plugins
    In reply to: Docs on wp search engine
    Thread Starter speeddaryl

    (@speeddaryl)

    In order to be more precise i want the search engine to do this :

    SELECT * FROM wp_usermeta WHERE meta_value = “my_search_string”;
    SELECT * FROM wp_users WHERE user_id = “the_user_id”;

    the_user_id is of course the one retrieved with the 1st query as you guessed.
    I know there’s a way to do this with one query in SQL but i’m not very good at SQL’s queries… i will look for documentation of SQL later, when i know how to customize my query string in the search engine…

    thanks for your help !

    Forum: Plugins
    In reply to: Custom Previous Post Tag
    Thread Starter speeddaryl

    (@speeddaryl)

    hello

    thank you for your answer Kafkaesqui
    I’ve started trying to get what i want with your reply, but i dont know how, i found the code of the previous_post_link function in the link-template.php file, and i changed it in order to get what i want :

    function my_previous_post_link($format=’%link’, $link=’%title’, $in_same_cat = false, $excluded_categories = ”) {

    if ( is_attachment() )
    $post = & get_post($GLOBALS[‘post’]->post_parent);
    else
    $post = get_previous_post($in_same_cat, $excluded_categories);

    if ( !$post )
    return;

    $title = apply_filters(‘the_title’, $post->post_title, $post);
    $string = ‘&prev_id=’.$post->ID.’&prev_link=’.get_permalink($post->ID).’&prev_title=’.$post->post_title;

    echo $string;
    }

    do you think this is correct ? it works perfectly for me, though i’m not really making it reusable for another purpose… for example, i’m not using the first two parameters, because i dont need any other usage of this function…

    and i dont know what’s the use of the apply_filter function, i think maybe i can remove it in my_previous_post_link function…

    i hope this will be useful for other people !

    thanks bye
    Speed DARYL https://www.speed-daryl.com

Viewing 5 replies - 1 through 5 (of 5 total)