WordPress.org

Profiles

Profile picture of
  • Member Since: April 28th, 2010
  • Find me on:

  • Posted a reply to "Counting the number of images in a post", on the site WordPress Support Forums:
    Try this: $pid=get_the_ID(); $images =& get_children( "post_type=attachment&post_mime_type=image&post_parent=$pid" ); $count = count($images); I think the code…

    3 years ago

  • Posted a reply to "Media gallery empty after update", on the site WordPress Support Forums:
    Nothing is being listed in the Media Library at all. However, when I uploaded images…

    4 years ago

  • Created a topic, Media gallery empty after update, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "3.0.2 Upgrade Problems in Admin (Posts, Add New)", on the site WordPress Support Forums:
    You could try to repair you wp_posts table. This seems to have worked for some…

    4 years ago

  • Posted a reply to "3.0.2 Upgrade Problems in Admin (Posts, Add New)", on the site WordPress Support Forums:
    Yes, this just happened to me as well, on all of the wordpress installs on…

    4 years ago

  • Posted a reply to "In wordPress comment loop: link to author template page", on the site WordPress Support Forums:
    I figured it out. <?php $aid = $comment->user_id; $urlHome =get_bloginfo('template_directory'); if($aid != '0'){ echo "<a…

    5 years ago

  • Created a topic, In wordPress comment loop: link to author template page, on the site WordPress Support Forums

    5 years ago

  • Posted a reply to "Function like 'is_child_of_category'", on the site WordPress Support Forums:
    thanks, a combination of both i think: first a function to get the category id:…

    5 years ago

  • Created a topic, Function like 'is_child_of_category', on the site WordPress Support Forums

    5 years ago

  • Created a topic, Tooltip plugin, on the site WordPress Support Forums

    5 years ago

  • Created a topic, WordPress: get author info from post id, on the site WordPress Support Forums

    5 years ago

  • Created a topic, previous_post_link() : placeholder if first post, on the site WordPress Support Forums

    5 years ago

  • Posted a reply to "[Plugin: Add Local Avatar] Avatar upload and Customize Your Community plugin", on the site WordPress Support Forums:
    The above solution is wrong. It causes other troubles. I think this is correct. Around…

    5 years ago

  • Posted a reply to "[Plugin: Add Local Avatar] Avatar upload and Customize Your Community plugin", on the site WordPress Support Forums:
    I have added the code if ( IS_PROFILE_PAGE ) { $current_user = wp_get_current_user(); $uid =…

    5 years ago

  • Created a topic, Adding the "tinymce plugin" paste, on the site WordPress Support Forums

    5 years ago