Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36633, comment 2


Ignore:
Timestamp:
04/22/2016 12:48:47 PM (8 years ago)
Author:
kuus
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36633, comment 2

    initial v1  
    22
    33In your specific case I guess you should simply show the social box unless the value retrieved is true, for instance (pseudo code): `<?php if ( ! get_theme_mod('hide_box') ) { ?>box template<?php } ?>`
     4
     5feel free to reopen if I misunderstood your ticket