• Home
  • About
  • Performance Review Book
Grab the RSS feed

Jerm

Jerm
  • Home
  • Business
    • Entrepreneurship
    • Management
    • Performance Reviews
    • Small Business
  • Featured
  • Internet Business
    • SEO
    • Social Media
  • Personal
  • Technology
    • Certification
    • WordPress
  • That Network

Posts Tagged with "code"

  • WordPress

    Posted on September 28th, 2010

    Written by Jeremy

    Tags

    categories, category, code, custom post type, custom taxonomy, functions.php, php, snippet, source code, taxonomies, wordpress

    Custom Post Type – in a Category?

    Custom post types do not use the standard categories or tags as normal posts, but the capability is there to create a custom taxonomy – a custom set of categories for a custom post type. However, the built-in WordPress function in_category() does not work with custom taxonomies. So, to figure out if a custom post […]

  • WordPress

    Posted on September 28th, 2010

    Written by Jeremy

    Tags

    code, functions.php, php, snippet, source code, wordpress

    Removed Protected from Page Title – WordPress Password Protected Pages

    We are working with creating protected page reports for clients with a simple password protection, using the standard WordPress Password Protected functionality. Unfortunately, it adds “protected” to the page heading. This simple code, added to functions.php, removes “protected” from protected posts and pages sitewide: [php]/* Remove Protected from Title on Protected Pages */ add_filter(‘protected_title_format’, ‘blank’); […]

  • WordPress

    Posted on September 28th, 2010

    Written by Jeremy

    Tags

    code, jquery, php, plugin, snippet, source code, timeago, wordpress

    Twitter/Facebook Style “Time Ago” Dates in WordPress

    I was recently working on a project where the client wanted “time ago” date stamps, such as Posted 23 minutes ago or Posted 1 week ago. For that project, we used the very nice jQuery Timeago script which automatically formats any date/time in a properly formatted tag to a timeago, kind of like this: [html]<abbr […]

Copyright © 2023 Jerm

Powered by That Network