WordPress.org

Ready to get started?Download WordPress

Profiles

rtoads

Profile picture of rtoads
  • Member Since: March 7th, 2013
  • Posted a reply to "True condition that fails", on the site WordPress Support Forums:
    This code appears to work properly! global $post;$term_list = wp_get_post_terms($post->ID, 'Placement', array("fields" => "all"));$primary_placement =…

    1 year ago

  • Posted a reply to "True condition that fails", on the site WordPress Support Forums:
    Thanks. Sorry to be dense, but would the syntax of a compound test then be…

    1 year ago

  • Posted a reply to "True condition that fails", on the site WordPress Support Forums:
    OK, I guess I don't understand what the semicolon rules are in Widget Logic tests.…

    1 year ago

  • Posted a reply to "True condition that fails", on the site WordPress Support Forums:
    This really seems to be a parsing error. The PHP code works when I execute…

    1 year ago

  • Posted a reply to "True condition that fails", on the site WordPress Support Forums:
    This code: global $post;$term_list = wp_get_post_terms($post->ID, 'Placement', array("fields" => "all"));$primary_placement = $term_list[0]->slug;if($primary_placement == "home"){$primary_placement =…

    1 year ago

  • Posted a reply to "True condition that fails", on the site WordPress Support Forums:
    I took a look at the PHP error log, and here's what I get when…

    1 year ago

  • Posted a reply to "True condition that fails", on the site WordPress Support Forums:
    Hi. Back again with another true condition that fails. It may be failing because I've…

    1 year ago

  • Posted a reply to "True condition that fails", on the site WordPress Support Forums:
    Aha. I see now I need to global in $post. Thank you. But since $terms…

    1 year ago

  • Created a topic, True condition that fails, on the site WordPress Support Forums

    1 year ago