Making widgets visible on specific tags ?

Posted in: Newsmag
Post count: 161

Hi there,

I am looking to make the [tagdiv] adbox widget visible on articles with specific tags. Do you have a plugin without any compatibility issue to recommand ?

Thanks in advanced.

Post count: 6535

Hi

We didn’t tested any plugin with a similar functionality so I can’t make any recommendation in this regard. However this can be achieved by editing the theme file like here:
– to display the header ad only on posts which have certain tags add this condition in ads.php file like here: http://screencast.com/t/tAOgPIcYDvqY Here is the new file with the new code: http://pastebin.com/BThpU9QX
– to get the same result for post content you have to edit the td_module_single_base.php, replace the original code with this one: http://pastebin.com/z5t4qmwM and replace the initial tags with your tags: http://pastebin.com/z5t4qmwMhttp://screencast.com/t/ls0YR9FWN8S

Hope this help
Thanks!

Post count: 161

Thanks Andrei. Actually the “display widget by tag” function exists with jetPack. Does Newsmag theme have any knowned conflict with jetPack ?

Thanks in advanced.

Post count: 6535

Hi

Jetpack it’s a very complex plugin and we couldn’t test and implement support for all its features. At the moment we know about two issues of our theme with Jetpack plugin: the mobile theme and the photon module don’t work fine. About the others features and modules of Jetpack we don’t have negative reports yet and they should work fine with the theme.

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.