Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Plugins
    In reply to: wp_set_post_tags
    Thread Starter darkpaladin

    (@darkpaladin)

    please help me

    i’m using:

    $wpdb->insert( $wpdb->term_relationships,
    array( 'object_id' => $object_id, 'term_taxonomy_id' => $id ) );

    and also:

    $wpdb->query("INSERT INTO ".$wpdb->term_relationships."
    (object_id, term_taxonomy_id) VALUES ($object_id, $id)");

    but it doesn’t work, it adds nothing to the db

    what can i do?

    Forum: Plugins
    In reply to: wp_set_post_tags
    Thread Starter darkpaladin

    (@darkpaladin)

    =/

    Thread Starter darkpaladin

    (@darkpaladin)

    thanks, but what i want to do is to add an alternate stylesheet for an specific post,
    for example:

    i write in a post [CSS = style2.css] then with the filter the_content i read that code and then with the filter wp_head add it to the head tag. that’s why i need to read the content first and then call the wp_head filter.

    also if i am in the index, i want to load all the stylesheets that is specified in the posts

    i hope you undertand me =P, i’m not very good at english

    Thread Starter darkpaladin

    (@darkpaladin)

    i want to search in all of my blogs from my principal blog, is like a blog net.

    do you know what is the query that wordpress uses to search in the entries?

    thank you

    (sorry for my english XD)

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