Skip to main content

Timeline for Widget logic conditional widget

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Jun 22, 2015 at 13:17 comment added Anand please check this if(in_array('tag-name',get_the_tags()) && get_post_type()=="custom-post-type")
Jun 22, 2015 at 13:14 comment added Pieter Goosen Whatever. Please see the revision history if you think I'm lying. As I said, I have corrected it
Jun 22, 2015 at 13:12 comment added Anand i have write for has_tag() function not gas_tag() function.
Jun 22, 2015 at 12:25 comment added Pieter Goosen Also note, there is no gas_tag() function. I have corrected that
Jun 22, 2015 at 12:23 history edited Pieter Goosen CC BY-SA 3.0
added 4 characters in body
Jun 22, 2015 at 12:23 comment added Pieter Goosen has_tag() will not work. It works for the build in taxonomy post_tag, not a custom taxonomy
Jun 22, 2015 at 11:35 history answered Anand CC BY-SA 3.0