if (!empty($settings['links']) && is_array($settings['links'])) { foreach ($settings['links'] as $link) { if (is_array($link)) { cfct_template_file('functions/about/views', 'link-item', compact('link')); } } } ?> </ul> </div><!--.cfp-link--> <a href="#cfp-link-edit-popover" class="cfp-add-link" id="cfp-add-link"><?php _e('Add', 'favepersonal'); ?> </a> </div> </fieldset> <p class="submit"><input class="button button-primary" type="submit" name="submit" value="<?php _e('Save Settings', 'favepersonal'); ?> " /></p> </form> </div><!--#cfp-about--> </div><!-- / cf-about-wrap --> <?php // images popover echo cfcp_get_popover_html('cfp-img-search-popover', array('html' => cfct_template_content('functions/about/views', 'img-search-popover'), 'arrow_pos' => 'right')); // links popover echo cfcp_get_popover_html('cfp-link-edit-popover', array('html' => cfct_template_content('functions/about/views', 'link-edit-popover'), 'arrow_pos' => 'right')); echo cfcp_get_popover_html('cfp-link-remove-popover', array('html' => cfct_template_content('functions/about/views', 'link-remove-popover'), 'arrow_pos' => 'left'));
echo esc_attr($settings['title']); ?> "> </div> <div class="cf-elm-block cf-elm-width-full"> <label for="bio" class="typ-sc"><?php _e('Bio', 'favepersonal'); ?> </label> <textarea rows="6" cols="40" class="cf-elm-textarea" name="<?php echo CFCP_ABOUT_SETTINGS; ?> [description]" id="cfcp_settings_description"><?php echo esc_textarea($settings['description']); ?> </textarea> </div> </fieldset> <p class="submit"><input class="button button-primary" type="submit" name="submit" value="<?php _e('Save Settings', 'favepersonal'); ?> " /></p> </form> </div><!--#cfp-about--> </div><!-- / cf-about-wrap --> <?php // images popover echo cfcp_get_popover_html('cfp-img-search-popover', array('html' => cfct_template_content('functions/about/views', 'img-search-popover'), 'arrow_pos' => 'right'));