ID,'responsive',true); $sortorder = get_post_meta($post->ID, 'sortorder', true); $weight = get_post_meta($post->ID, 'weight', true); $show_on = get_post_meta($post->ID, 'show_on', true); $enable_responsive = get_post_meta($post->ID, 'enable_responsive', true); print_r(json_decode('',TRUE)); $img_phone = get_post_meta($post->ID, 'img_phone', true); $img_tablet = get_post_meta($post->ID, 'img_tablet', true); $resp_class=""; if ($enable_responsive == '') $enable_responsive = 0; if($enable_responsive==0) $resp_class="wd_ads_hidden"; if ($weight == '') $weight = 3; if ($sortorder == '') $sortorder = 0; if (!$show_on) { $show_on = array(); } else { $show_on = json_decode($show_on, true); } ?>
| Show on: |
/>
/>
/>
Choose device types where this advertisement will display. Leave all options unchecked if you want it to show on all devices. |
| Responsive |
/>
Check to enable mobile responsiveness for this advertisement. |
| Image For Smartphones |
Click to select an image for this advertisement, which will display on smartphones. |
| Image For Tablets |
Click to select an image for this advertisement, which will display on tablets. |
| Weight: |
/>
/>
/>
/>
/>
Choose the weight for this advertisement. If an advert has a larger weight than others in the same group, it will appear in your ad section more often. |
| Sortorder: |
Define the sortorder of this advertisement. This option is used for ordering of adverts in the same group displayed with Block type as its Mode. |