WordPress.org

Ready to get started?Download WordPress

Profiles

kc11

Profile picture of kc11
  • Member Since: October 7th, 2010
  • Posted a reply to "Backing up wp tables in test environment", on the site WordPress Support Forums:
    in phpmyadmin the privileges table looks like: Users having access to "wordpress" User Host Type…

    4 years ago

  • Posted a reply to "Backing up wp tables in test environment", on the site WordPress Support Forums:
    Hello, I've come up with the following function: function resetdatabase($tablename,$backup_tablename) { global $wpdb; //$tablename='wp_posts'; print…

    4 years ago

  • Posted a reply to "Confusion over relationship of wp_post and wp_postmeta tables", on the site WordPress Support Forums:
    Thanks Mark KC

    4 years ago

  • Created a topic, Backing up wp tables in test environment, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "Confusion over relationship of wp_post and wp_postmeta tables", on the site WordPress Support Forums:
    Thank you. That worked! Regards, KC

    4 years ago

  • Created a topic, Confusion over relationship of wp_post and wp_postmeta tables, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "How to set a global condition flag", on the site WordPress Support Forums:
    Hi Guys, I think I figured out the syntax. The following appears to work: $new1…

    4 years ago

  • Posted a reply to "How to set a global condition flag", on the site WordPress Support Forums:
    Hi Mark, As always, you have a valid point. I am doing this as an…

    4 years ago

  • Posted a reply to "How to set a global condition flag", on the site WordPress Support Forums:
    Hi Mark, following your directions, I was able to create a custom field for my…

    4 years ago

  • Created a topic, How to set a global condition flag, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "how to use mysql instr function in wordpress", on the site WordPress Support Forums:
    Hi Mark, That's very helpful. KC

    4 years ago

  • Posted a reply to "how to use mysql instr function in wordpress", on the site WordPress Support Forums:
    Thanks Mark, I had originally used : $start = '['; $postID = $wpdb->get_results( "SELECT ID…

    4 years ago

  • Created a topic, how to use mysql instr function in wordpress, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "need hep writing specific SQL query for $WPDB object", on the site WordPress Support Forums:
    Wow! There's obviously a lot more in the codex than I thought. Thank you Mark.…

    4 years ago

  • Posted a reply to "need hep writing specific SQL query for $WPDB object", on the site WordPress Support Forums:
    Mark, Thank you. That worked. One last question on this topic: I would never have…

    4 years ago

  • Posted a reply to "need hep writing specific SQL query for $WPDB object", on the site WordPress Support Forums:
    Hi Joseph, That works! Thank you. However I now have another problem. Using your code…

    4 years ago

  • Created a topic, need hep writing specific SQL query for $WPDB object, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "help with $WPDB object", on the site WordPress Support Forums:
    Thank you Mark. That clears it up. KC

    4 years ago

  • Created a topic, help with $WPDB object, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "How can I access the first post from a plugin", on the site WordPress Support Forums:
    Hi Mark, Thank you. I'm going to mark this topic as resolved. Once again, I…

    4 years ago

  • Posted a reply to "How can I access the first post from a plugin", on the site WordPress Support Forums:
    That's good to know. I picked 'init' as a hook because I was sure that…

    4 years ago

  • Posted a reply to "How can I access the first post from a plugin", on the site WordPress Support Forums:
    Thanks again Mark, That is great to know. But ( just to confirm )these 3…

    4 years ago

  • Posted a reply to "How can I access the first post from a plugin", on the site WordPress Support Forums:
    Thanks Mark, Thats good to know. I didn't realize you could hook onto individual queries.…

    4 years ago

  • Posted a reply to "How can I access the first post from a plugin", on the site WordPress Support Forums:
    Hi Mark, I'm new to plugins, but what I think you are saying is that…

    4 years ago

  • Posted a reply to "How can I access the first post from a plugin", on the site WordPress Support Forums:
    Hi Mark, Yes, I am trying to get the content of the first post, before…

    4 years ago

  • Created a topic, How can I access the first post from a plugin, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    Mark, BTW , I liked the following slide presentation. http://www.slideshare.net/aizatto/beginning-wordpress-plugin-development He talks about passing an…

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    Hi Mark, So I'd like to ask your advice on how to structure my plugin.…

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    Hi Mark, I am glad to hear I'm not alone in this. So just to…

    4 years ago

  • Posted a reply to "how can I access the stdClass in a plugin", on the site WordPress Support Forums:
    Xephan, Thanks, that worked. KC

    4 years ago

  • Posted a reply to "how can I access the stdClass in a plugin", on the site WordPress Support Forums:
    Hi Xephan,` Thanks again, my code is add_filter('the_post', ds_add_to_content); function ds_add_to_content($content) { echo ($content->post_content); but…

    4 years ago

  • Created a topic, how can I access the stdClass in a plugin, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "$post variable = NULL", on the site WordPress Support Forums:
    Xephan, following your recommendations, I reinstalled my test environment, and was able to get your…

    4 years ago

  • Posted a reply to "$post variable = NULL", on the site WordPress Support Forums:
    Hi Xephan, I inserted your code and get nothing when I run it. I am…

    4 years ago

  • Posted a reply to "$post variable = NULL", on the site WordPress Support Forums:
    Much obliged Xephan, OK so I have fixed the function call ( I think ).…

    4 years ago

  • Posted a reply to "$post variable = NULL", on the site WordPress Support Forums:
    Oh yeah - The plugin as is appears to produce no printed output

    4 years ago

  • Posted a reply to "$post variable = NULL", on the site WordPress Support Forums:
    Hi Guys, Thanks for your help again. I have deleted everything in my plugin to…

    4 years ago

  • Posted a reply to "$post variable = NULL", on the site WordPress Support Forums:
    Xephan, Thanks for the feedback. Now I have been trying a lot of things including…

    4 years ago

  • Posted a reply to "$post variable = NULL", on the site WordPress Support Forums:
    Hi Xephan, Thanks for your advice. OK, so I modified the index file of my…

    4 years ago

  • Created a topic, $post variable = NULL, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    David , Thanks again, Sorry about the delay in getting back. I was able to…

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    include 'extractkeyword.php'; // this extracts a keyword from between single quotes $keyword2= extractkeyword($keyword1,"'","'"); add_filter('the_content', printkeyword);…

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    Hi Xephan, Thanks for your input KC

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    <?php add_filter( 'the_content', 'ds_add_to_content' ); function ds_add_to_content($content) { $add_stuff = '<h2>Blah, blabity, blab.</h2>'; $content =…

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    David, I'll read up on this some more. Thanks for clarifying this for me. KC

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    Hi David, So now I have 2 problems: 1) how do you search the core…

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    Hi again David, I initially missed your comment under the code above. again its not…

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    David , Thank you for that. It will help a lot. KC

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    Hi Xephan, I looked up 'apply filters' in the codex but do not see how…

    4 years ago

  • Posted a reply to "how to use filter hooks with multiple arguments in the function", on the site WordPress Support Forums:
    P.S. I am running WP 3.01

    4 years ago