WordPress.org

Ready to get started?Download WordPress

Profiles

Joseph

Profile picture of Joseph
  • Member Since: December 3rd, 2008
  • Posted a reply to "Remove "Powered by WordPress"", on the site WordPress Support Forums:
    Hi monikad, The "Powered by WordPress" part is hard-coded in the theme template file, specifically…

    6 months ago

  • Posted a reply to "How to create form in page", on the site WordPress Support Forums:
    It works for me. Why don't you post the code you're using so we can…

    3 years ago

  • Posted a reply to "I'm using WordPress; not sure how to disable Google to crawl non-existent URLs ?", on the site WordPress Support Forums:
    If the URLs restricted by robots.txt are the ones you want to block then it's…

    3 years ago

  • Posted a reply to "I'm using WordPress; not sure how to disable Google to crawl non-existent URLs ?", on the site WordPress Support Forums:
    The URL of those 3000 pages must have some patterns right? robot.txt uses * wildcard…

    3 years ago

  • Posted a reply to "Changing the Content Width of a Single Page", on the site WordPress Support Forums:
    Edit: Answered

    3 years ago

  • Posted a reply to "Adding a background image to a background", on the site WordPress Support Forums:
    I'm not familiar with the CSS3 stuff but what about cropping the background image to…

    3 years ago

  • Posted a reply to "I'm using WordPress; not sure how to disable Google to crawl non-existent URLs ?", on the site WordPress Support Forums:
    Make a robot.txt to block bots. Webmaster tool -> Site configuration -> Crawler access ->…

    3 years ago

  • Posted a reply to "Changing the Content Width of a Single Page", on the site WordPress Support Forums:
    You're welcome. It was a great moment indeed :)

    3 years ago

  • Posted a reply to "Changing the Content Width of a Single Page", on the site WordPress Support Forums:
    Open header.php and find <body> replace it with <body <?php body_class(); ?>> Find the page…

    3 years ago

  • Posted a reply to "Requesting Some Help with Simple Coding", on the site WordPress Support Forums:
    Currently you have it like: <div id="banner">...</div> <div id="col-left"> <div id="featured">...</div> </div> Make it so…

    3 years ago

  • Posted a reply to "NextGen: templates for specific albums", on the site WordPress Support Forums:
    You can modify album-compact.php so that it checks maybe the title of the albums and…

    3 years ago

  • Posted a reply to "How to create form in page", on the site WordPress Support Forums:
    http://www.w3schools.com/php/php_forms.asp

    3 years ago

  • Posted a reply to "If there is only one post in a category, redirect to that post.", on the site WordPress Support Forums:
    You're welcome. I really like this idea of yours. I might add this to my…

    3 years ago

  • Posted a reply to "If there is only one post in a category, redirect to that post.", on the site WordPress Support Forums:
    I've just tried it on my test blog and it works for me. I added…

    3 years ago

  • Posted a reply to "Yashfa Changing text colours", on the site WordPress Support Forums:
    Try clearing your browser cache.

    3 years ago

  • Posted a reply to "how to list only child category", on the site WordPress Support Forums:
    The 2nd parameter of get_term_children is the taxonomy name. see http://codex.wordpress.org/Function_Reference/get_term_children

    3 years ago

  • Posted a reply to "Yashfa Changing text colours", on the site WordPress Support Forums:
    Looks like you've already changed the post title colour. For the sidebar headings, see line…

    3 years ago

  • Posted a reply to "how to list only child category", on the site WordPress Support Forums:
    <?php wp_list_categories('include=24,'.implode(',',get_term_children(24, 'category'))); ?> Replace 24 with your category ID.

    3 years ago

  • Posted a reply to "Am I doing something wrong, or is this a bug?", on the site WordPress Support Forums:
    You've misplaced the closing bracket: register_taxonomy( 'videogenre', array('video', $args) ); should be register_taxonomy( 'videogenre', array('video'),…

    3 years ago

  • Posted a reply to "If there is only one post in a category, redirect to that post.", on the site WordPress Support Forums:
    Look in the WP_Query class: if ($wp_query->found_posts == 1)

    3 years ago

  • Posted a reply to "List parent category with child categories?", on the site WordPress Support Forums:
    Two easier methods I can think of: 1. Depending on how it's highlighted, you can…

    3 years ago

  • Posted a reply to "List parent category with child categories?", on the site WordPress Support Forums:
    Use this: <?php wp_list_categories('include=24,'.implode(',',get_term_children(24, 'category')).'&title_li='); ?>

    3 years ago

  • Posted a reply to "Logged in on dashboard but not on site", on the site WordPress Support Forums:
    After further testing, it appears to be a PHP problem. The setcookie function converts the…

    3 years ago

  • Posted a reply to "Logged in on dashboard but not on site", on the site WordPress Support Forums:
    I've done some testing on wamp and it appears the values for the wordpress_logged_in_, wordpress_…

    3 years ago

  • Created a topic, Logged in on dashboard but not on site, on the site WordPress Support Forums

    3 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Sure it's a plugin but the inside is still the same so it's not going…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Hmmm... That's what we started with isn't it? I've already explained why it doesn't work.…

    4 years ago

  • Posted a reply to "[Plugin: NextGEN Gallery] Link to original zip file?", on the site WordPress Support Forums:
    Sorry, I meant making the link dynamic. Try this: <a href="<?php echo site_url('/' . $images[0]->path);…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Yes, it's present on pages that matches the conditions.

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Yes, it works for me. Edit: Just so there's no confusion, what I mean by…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Ok, seems like like wordpress runs through the filter twice, once somewhere in the head…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Sorry, my mistake... I forgot to remove the code in footer.php so I thought the…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    That's odd.. I've tried it with the plugin (WP-prettyPhoto) installed and the script is been…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Ok, try this: function my_prettyphoto_script($content) { if ((is_single() || is_page()) && (strpos($content, 'rel="prettyPhoto') > 1))…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    I had assume your condition was correct from the start so it's never crossed my…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Well, like I've said, if using the following code after wp_footer(); in footer.php (not in…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Then that means there's something wrong with your if statement condition. You wrote Only for…

    4 years ago

  • Posted a reply to "[Plugin: NextGEN Gallery] Link to original zip file?", on the site WordPress Support Forums:
    Just add a link in gallery.php template and make the file name dynamic depending on…

    4 years ago

  • Posted a reply to "[Plugin: NextGEN Gallery] fix size", on the site WordPress Support Forums:
    Resize your images to the desire size before uploading or use NGG's automatic resize function…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Try checking $wp_scripts global variable. So doing a simple if statement in the footer doesn't…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    If the hooks doesn't work, you could just do the if statement in your footer.php…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Have you tried using the template_redirect hook instead of wp_print_scripts?

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    http://codex.wordpress.org/Function_Reference/wp_enqueue_script says to not use wp_print_scripts. This function will not work if it is called…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Are you using that code in a function? If you are, did you declare global…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    This: if ((is_single() || is_page()) && (strpos($post->post_content, 'rel="prettyPhoto"') > 1)) { ?> <script type="text/javascript" src="<?php…

    4 years ago

  • Posted a reply to "Load javascript only when specify.", on the site WordPress Support Forums:
    Try $pretty = ($pretty || ((is_single() || is_page()) && (strpos($post->post_content, 'rel="prettyPhoto"') > 1))); if ($pretty)…

    4 years ago

  • Posted a reply to "How to Style all levels of threaded comments with same font size", on the site WordPress Support Forums:
    Threaded comments are unordered lists inside ordered list so that won't work.

    4 years ago

  • Posted a reply to "How to Style all levels of threaded comments with same font size", on the site WordPress Support Forums:
    Use this: div#single-body ol li li { font-size: 1em; }

    4 years ago

  • Posted a reply to "How to fetch Default category", on the site WordPress Support Forums:
    Use get_option('default_category') to get the ID of the default category and pass that into whichever…

    4 years ago

  • Posted a reply to "Stupidly changed the URL path and now can't get into my dashboard", on the site WordPress Support Forums:
    http://codex.wordpress.org/Changing_The_Site_URL

    4 years ago