Пример #1
0
					</td>
				</tr>
			</tbody>
		</table>
		<?php 
// theme specific options - can be added from theme functions.php file
foreach ($themes as $theme => $theme_details) {
    ?>
		<div id="slider-images-settings-<?php 
    echo esc_attr($theme);
    ?>
" class="slider-images-settings theme-settings <?php 
    echo esc_attr($theme);
    ?>
" <?php 
    fa_hide($theme != $active);
    ?>
>
			<?php 
    /**
     * Action to allow slider themes to add new settings for images.
     * Settings will be displayed under *Media options* tab when editing a slider.
     * 
     * @param $post - the slider post being edited
     */
    do_action('fa_slider_images_settings-' . $theme, $post);
    ?>
		</div>
		<?php 
}
?>
Пример #2
0
?>
							<span style="<?php 
echo $hide_desc;
?>
" class="description" id="fa-all-display-posts"><?php 
_e('Slides will not be displayed on any posts or pages.', 'fapro');
?>
</span>
						</div>
					</td>
				</tr>
				<?php 
$publish_categories = $publish_everywhere ? $publish_everywhere : $options['display']['all_categories'];
?>
				<tr class="publish-settings publish-categories"<?php 
fa_hide($publish_categories);
?>
>
					<th>
						<label for="display-tax"><?php 
_e('Display on categories', 'fapro');
?>
:</label><br />
						(<a id="fa-display-posts-categories" class="fapro-modal-trigger" data-target="fapro-modal" href="<?php 
fa_iframe_admin_page_url('fa-tax-modal', array('show_all' => 'true'));
?>
"><?php 
_e('click to select', 'fapro');
?>
</a>)
					</th>