WordPress.org

Ready to get started?Download WordPress

Profiles

Capn Code

Profile picture of Capn Code
  • Member Since: April 23rd, 2009
  • Posted a reply to "Breadcrumb trail", on the site WordPress Support Forums:
    I jumped the gun a little there. Here's a more robust version: $breadcrumb = array();…

    4 years ago

  • Created a topic, Breadcrumb trail, on the site WordPress Support Forums

    4 years ago

  • Posted a reply to "W3 Total Cache & PHP readfile function", on the site WordPress Support Forums:
    Okay, thanks for the advice, Frederick.

    4 years ago

  • Posted a reply to "W3 Total Cache & PHP readfile function", on the site WordPress Support Forums:
    That would probably be a good idea. ;-) I'm testing on a fresh WordPress 2.9.1…

    4 years ago

  • Posted a reply to "W3 Total Cache & PHP readfile function", on the site WordPress Support Forums:
    Same result. Mind you, I'm using 0.8.5, not 0.8.5.1.

    4 years ago

  • Posted a reply to "Breadcrumb trail", on the site WordPress Support Forums:
    Seems like a very sensible spot for it, JimmyJack. ;-) Here's the latest, reworked version:…

    4 years ago

  • Posted a reply to "W3 Total Cache & PHP readfile function", on the site WordPress Support Forums:
    Thank you for your timely - much appreciated - reply, Frederick. I tried your suggestion…

    4 years ago

  • Posted a reply to "Breadcrumb trail", on the site WordPress Support Forums:
    Thanks, ancawonka. I appreciate your feedback. I condensed the following line further after noticing the…

    4 years ago

  • Created a topic, W3 Total Cache & PHP readfile function, on the site WordPress Support Forums

    5 years ago

  • Posted a reply to "Adding special characters between menu items using WP_LIST_PAGES", on the site WordPress Support Forums:
    Hi Peter, It's accomplished much the same way: $categories = wp_list_categories('title_li=&echo=0'); $categories = explode('</li>', $categories);…

    5 years ago

  • Posted a reply to "Adding special characters between menu items using WP_LIST_PAGES", on the site WordPress Support Forums:
    dpcalhoun, Always happy to lend a hand :-). Good luck in your travels.

    5 years ago

  • Posted a reply to "Adding special characters between menu items using WP_LIST_PAGES", on the site WordPress Support Forums:
    dpcalhoun, This should do the trick: $links = wp_list_bookmarks('title_li=&categorize=0&sort_column=menu_order&echo=0'); $bookmarks = explode('</li>', $links); //create array…

    5 years ago

  • Posted a reply to "[Plugin: W3 Total Cache] Maximum lifetime of cache objects [Feature Request].", on the site WordPress Support Forums:
    Was worth a try ;-). That's what I ended up doing anyways. Thanks, Frederick, your…

    5 years ago

  • Created a topic, [Plugin: W3 Total Cache] Maximum lifetime of cache objects [Feature Request]., on the site WordPress Support Forums

    5 years ago

  • Posted a reply to "Adding special characters between menu items using WP_LIST_PAGES", on the site WordPress Support Forums:
    Cor blimey! Thanks for pointing out that oversight, eassae. This will do the trick: array_unshift($links,…

    5 years ago

  • Posted a reply to "Shortcodes & apostrophe", on the site WordPress Support Forums:
    D'oh! I forgot that Shortcode attributes can be enclosed in double quotes. So: [callout title="Why…

    5 years ago

  • Created a topic, Shortcodes & apostrophe, on the site WordPress Support Forums

    5 years ago

  • Posted a reply to "WordPress adds extra <p> tags and its screwing up my design", on the site WordPress Support Forums:
    Try the following syntax for comments: <!-- Hidden! --> Discussed in this thread.

    5 years ago

  • Posted a reply to "Breadcrumb trail", on the site WordPress Support Forums:
    Silly me, I missed adding a space on this line: echo ' > <a href="'.$dir.'">'…

    5 years ago

  • Posted a reply to "Breadcrumb trail", on the site WordPress Support Forums:
    *Added functionality to capitalize trail items & remove underscores & hyphens: <?php // breadcrumb trail…

    5 years ago

  • Replied to an idea, Trust me when I edit HTML

    5 years ago

  • Created a topic, Breadcrumb trail, on the site WordPress Support Forums

    5 years ago

  • Posted a reply to "Menu Bar Separators", on the site WordPress Support Forums:
    You can add a link to the index by adding the following: array_unshift($links, '<li class="page-item"><a…

    5 years ago

  • Posted a reply to "Help with wp_list_pages on horizontal menu bar", on the site WordPress Support Forums:
    You can add a link to the index by adding the following: array_unshift($links, '<li class="page-item"><a…

    5 years ago

  • Posted a reply to "Adding special characters between menu items using WP_LIST_PAGES", on the site WordPress Support Forums:
    You can add a link to the index by adding the following: array_unshift($links, '<li class="page-item"><a…

    5 years ago

  • Posted a reply to "Adding special characters between menu items using WP_LIST_PAGES", on the site WordPress Support Forums:
    Glad it worked out for you, Andrew.

    5 years ago

  • Posted a reply to "Help with wp_list_pages on horizontal menu bar", on the site WordPress Support Forums:
    Glad it worked out for you, alevs.

    5 years ago

  • Posted a reply to "Getting a WP user's role", on the site WordPress Support Forums:
    Yet another method: global $current_user; get_currentuserinfo(); if($current_user->user_level == 0){ /* Is user subscriber? */ }…

    5 years ago

  • Posted a reply to "Menu Bar Separators", on the site WordPress Support Forums:
    The following snippet in your template will output the desired effect, just change | character…

    5 years ago

  • Posted a reply to "Extra characters in the wp_list_pages", on the site WordPress Support Forums:
    Alternatively, the following snippet in your template will output the desired effect: <?php $links =…

    5 years ago

  • Posted a reply to "Adding special characters between menu items using WP_LIST_PAGES", on the site WordPress Support Forums:
    The following snippet in your template will output the desired effect: <?php $links = get_pages();…

    5 years ago

  • Posted a reply to "Help with wp_list_pages on horizontal menu bar", on the site WordPress Support Forums:
    The following snippet in your template will output the desired effect: <?php $links = get_pages();…

    5 years ago

  • Posted a reply to "Odd question: separator for a list generated by wp_list_pages", on the site WordPress Support Forums:
    The following snippet in your template will output the desired effect: <?php $links = get_pages();…

    5 years ago