Widget Rules on specific format type

January 2013 WordPress Theme
GK User
Thu Nov 07, 2013 11:35 am
Hi!

I'd like to know, how could I add the rule for a widget to not show while the post format type is different from normal post.

1. When I choose video format type, I'd like to not show some specific widgets.

2. I'd like to customize the content-video.php to not show a specific area (like sidebar, ecc)

3. Is there any way how to not show the widget name? (I use WPML and this "Search" name comes out sometimes)

ps: when I choose video format type, my Video Embed Code does not show on the post (only when I switch again to standart format type my embed video is shown on the frontend)
User avatar
Fresh Boarder

GK User
Fri Nov 08, 2013 2:38 pm
Hi,

Unfortunately our widget rules don't support post format type. But you can try widget logic plugin and has_post_format conditional tag: http://codex.wordpress.org/Function_Ref ... ost_format.

If you don't want to show widget's title, use this syntax in widget title field:
Code: Select all
!Your_title
and your_title will be hidden.

In regards to the problem with Embed Video, could you provide an URL to your post with this code? (here or via PM)
User avatar
Moderator


cron