'NewsPress Options', 'type' => 'heading'); $newspress_theme_data = wp_get_theme(); $newspress_author_uri = $newspress_theme_data->get( 'AuthorURI' ); $newspress_theme_uri = $newspress_theme_data->get( 'ThemeURI' ); $newspress_author_uri_clean = parse_url($newspress_author_uri, PHP_URL_HOST); $options[] = array( 'desc' => '
If you like this FREE Theme You can consider for a small Donation to us. Your Donation will be spent for the Disadvantaged Children and Students. You can visit our DONATION PAGE and Take your decision.

We appreciate an Honest Review of this Theme if you Love our Work.
Need More Features and Options including Unlimited Advertisements, Slides, News Items, Galleries, Links and 100+ Advanced Features? Try NewsPress Extend.

You can Visit the NewsPress Extend Demo Here.
', 'type' => 'info'); $numslinks = 5; foreach (range(1, $numslinks ) as $numslinksn) { $options[] = array( 'name' => 'Social Link - '. $numslinksn, 'desc' => 'Input Your Social Page Link. Example: http://profiles.wordpress.org/d5creation/. If you do not want to show anything here leave the box blank. This Version supports only WordPress, Dribbble, Github, Tumblr, YouTube, Flickr, Vimeo, Instagram, Codepen and LinkedIn ', 'id' => 'sl' . $numslinksn, 'std' => '#', 'type' => 'text'); } $options[] = array( 'name' => 'Image: Left of Logo', 'desc' => 'Upload/Select an Image. Recommended Size: 250px X 90px', 'id' => 'adv03', 'std' => get_template_directory_uri() . '/images/ad3.png', 'type' => 'upload' ); $options[] = array( 'name' => 'Image: Right of Logo', 'desc' => 'Upload/Select an Image. Recommended Size: 250px X 90px', 'id' => 'adv04', 'std' => get_template_directory_uri() . '/images/ad3.png', 'type' => 'upload' ); $fposttype = array( '1' => 'Do not Show any Post or Page in the Front Page.', '2' => 'Show Posts or Page as per the Reading Settings.'); $options[] = array( 'name' => 'Front Page Post/Page Visibility', 'desc' => 'Select Option how you want to show or do not want to show Posts/Pages in the Front Page as per WordPress Reading Settings', 'id' => 'fpostex', 'std' => '2', 'type' => 'radio', 'options' => $fposttype); return $options; } /* * This is an example of how to add custom scripts to the options panel. * This example shows/hides an option when a checkbox is clicked. */ add_action('optionsframework_custom_scripts', 'optionsframework_custom_scripts'); function optionsframework_custom_scripts() { ?>