Viewing 2 replies - 1 through 2 (of 2 total)
  • At this time, Conditional Widgets doesn’t provide any logic for handling widgets on Attachment Pages. I’d suggest something like Widget Logic instead – especially given your advanced knowledge. Conditional Widgets is largely intended to be for “non-power” users.

    Thread Starter Spidergirl1979

    (@spidergirl1979)

    This problem reared its head again and I initially forgot I put in a post on this forum ??

    I went in and actually added support for the attachment pages. Only needed like a half dozen lines of code. I updated logic.php, form.php and cets_conditional_widgets.php Any of the new code I put in has a NEW beside it so it’ll be easy to find. The updated files are here if you wish to add them to a future release:
    https://jlmconsulting.ca/wp-content/uploads/2017/01/ConditionalWidgetsAttachmentUpdate.zip

    I’m currently using WordPress 4.7.2 and it works properly.

    If you have any questions or need any help, please feel free to give me a shout! Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shows all elements in attachment.php’ is closed to new replies.