Enable this to only show the posts meta on post listings page.
'; } function achilles_meta_text_posts(){ $opt = esc_attr( get_option( 'meta_text_posts') ); $checked = (@$opt == '1' ? 'checked' : ''); echo ''; echo 'This is for the author name and post info right below the header.
'; } function achilles_email_support(){ $support_email = 'achillesTheme@outlook.com'; echo 'Send us and email at '.$support_email.''; echo 'I will try to respond as soon as possible but please allow a couple of days.
'; } function achilles_header_ads(){ $opt_head_ad = esc_attr( get_option('header_ad') ); echo ''; echo ''; echo 'Place your ad code in here. This is designed for an ad with a height of 90px.
'; } function achilles_mobile_header_ads(){ $opt_head_ad = esc_attr( get_option('header_mobile_ad') ); echo ''; echo ''; echo 'This ad will be used for when your page is smaller than 770px. If not set the ads wont display on mobile. Try to find a responsive ad or one with smaller width.
'; } function achilles_below_content_ads(){ $opt_ad = esc_attr( get_option('below_content_ad') ); echo ''; echo ''; echo 'Place your ad code in here. This is for a responsive ad, width is set to 100% and height set to 320px.
'; } function achilles_below_side_widgets_ads(){ $opt_ad = esc_attr( get_option('below_widgets_ad') ); echo ''; echo ''; echo 'Place your ad code in here.
'; } function achilles_site_home_callback(){ $website_name = 'http://www.achillestheme.com'; echo 'Visit our page for more info.'; } function achilles_custom_container_callback(){ $opts = esc_attr( get_option('achilles_container') ); $Schecked = ( @$opts == 'standard-layout' ? 'checked' : '' ); $Fchecked = ( @$opts == 'full-width-layout' ? 'checked' : '' ); $Bchecked = ( @$opts == 'boxed-layout' ? 'checked' : '' ); echo ''; echo 'Header and footer will be full width, content will have a container.
Everything is full width.
Everything is inside container.
Page up button will show up when you scroll far enough down on your page.
'; } function achilles_custom_secondary_menu_callback(){ $opt = esc_attr(get_option('secondary_menu')); $checked = (@$opt == '1'? 'checked' : ''); echo ''; echo 'Secondary menu below content.
'; } //EMAIL SIGNUP /*function achilles_email_signup(){ $opt = esc_attr(get_option('email_signup_text')); echo 'Enter your email to recieve theme updates.
'; }*/ //Theme support options //seearch menu in navbar function search_menu_callback(){ $opt = esc_attr(get_option('achilles_menu_search')); $checked = (@$opt == 1? 'checked' : ''); echo ''; echo 'Place Search icon in menu.
'; } //Logo in navbar function logo_menu_callback(){ $opt = esc_attr(get_option('achilles_menu_logo')); $checked = (@$opt == 1? 'checked' : ''); echo ''; echo 'Place logo in menu instead of main position.
'; } //Header image supprt function achilles_header_support(){ $options = get_option( 'header_image' ); $checked = ( @$options == 1 ? 'checked' : '' ); echo ''; echo 'Enable Header Image.
'; } //bg image supprt function achilles_background_support(){ $options = get_option( 'background_image' ); $checked = ( @$options == 1 ? 'checked' : '' ); echo ''; echo 'Enable Background Image.
'; } //Post formats function achilles_posts_support(){ $options = get_option( 'post_formats' ); $formats = array( 'aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio' ); foreach($formats as $format){ $checked = ( @$options[$format] == '1' ? 'checked' : '' ); echo '
';
echo '
';
echo '
';
}
//Social media
//share
function achilles_facebook_share(){
$opt = esc_attr(get_option('facebook_share'));
$checked = ($opt == '1' ? 'checked' : '');
echo '';
echo 'Enable Facebook Sharing option for each post.
'; } function achilles_twitter_share(){ $opt = esc_attr(get_option('twitter_share')); $checked = ($opt == '1' ? 'checked' : ''); echo ''; echo 'Enable Twitter Sharing option for each post.
'; } function achilles_google_share(){ $opt = esc_attr(get_option('google_share')); $checked = ($opt == '1' ? 'checked' : ''); echo ''; echo 'Enable Google Plus Sharing option for each post.
'; } function achilles_reddit_share(){ $opt = esc_attr(get_option('reddit_share')); $checked = ($opt == '1' ? 'checked' : ''); echo ''; echo 'Enable Reddit Sharing option for each post.
'; } function achilles_pinterest_share(){ $opt = esc_attr(get_option('pinterest_share')); $checked = ($opt == '1' ? 'checked' : ''); echo ''; echo 'Enable Pinterest Sharing option for each post.
'; } // function achilles_show_media(){ $opt = esc_attr(get_option('show_media')); $checked = ( @$opt == '1' ? 'checked' : '' ); echo 'Check to show social links on your site.'; } function achilles_social_facebook(){ $fb = esc_attr(get_option('facebook_link')); echo ''; echo 'Your name on facebook. The last part of the url.
'; } function achilles_social_twitter(){ $twitter = esc_attr(get_option('twitter_link')); echo ''; echo 'Your twitter username without the @.
'; } function achilles_social_instagram(){ $ig = esc_attr(get_option('instagram_link')); echo ''; echo 'Your instagram username without the @.
'; } function achilles_social_pinterest(){ $opt = esc_attr(get_option('pinterest_link')); echo ''; echo 'Your pinterest username.
'; } function achilles_social_youtube(){ $opt = esc_attr(get_option('youtube_link')); echo ''; echo 'Your youtube channel end url.
'; } function achilles_social_googleplus(){ $opt = esc_attr(get_option('googleplus_link')); echo ''; echo 'Your google plus end url, just the numbers.
'; } function achilles_social_rss(){ $opt = esc_attr(get_option('rss_link')); echo ''; echo 'Your full RSS Feed.
'; } //function achilles_footer_text function achilles_footer_text(){ $opt = esc_attr( get_option('footer_text') ); if(!empty($opt)){ add_filter('option_blogdescription', 'custom_option_description', 10, 1); } echo '