How to...

How to make lower menu height

Please add to Theme Options -> Custom Code -> Custom CSS this code:
       .top-bar-jw{
        	height: 35px;
        	line-height: 35px;
       }
       .top-bar-jw ul > li a:not(.button){
        	height: 45px;
        	line-height: 35px;
       }
        
See result



How to get slider on left side of homepage

Please open file ...wp-content/themes/flyingnews/header.php and approximately on line 220 find this code:

    <div id="featured-right">
        <?php dynamic_sidebar('featured_right'); ?>
    </div>  
    <div id="slider">    
        <?php
        
if (jwOpt::get_option('blog_slider''1') == '1') {
        
$jwSlider = new jwSlider();
        
$jwSlider->getSlides();
        }
        
?>
    </div>
    


So just change order of these (#slider and #featured-right) divs. New code will be look like this:

    <div id="slider">    
        <?php
        
if (jwOpt::get_option('blog_slider''1') == '1') {
        
$jwSlider = new jwSlider();
        
$jwSlider->getSlides();
        }
        
?>
    </div>
    <div id="featured-right">
        <?php dynamic_sidebar('featured_right'); ?>
    </div>  
    

How to keep search box opened on start

Please add to Theme Options -> Custom Code -> Custom CSS this:
        .blog-items-search{width:auto}
	.blog-items-search #searchform input#s{
		margin-right: 6px;
  		padding-left: 6px;
  		padding-right: 6px;
   		width: 180px;
	}
        

How to change width of slider

1) Change in ..wp-content/themes/flyingnews/framework/theme.php on line +- 380
        add_image_size('slidebar-big', 310, 375,true);
        
to
        add_image_size('slidebar-big', 310, 500,true);
        
new size of image will be 310×500px;


2) Add to Theme options -> Custom code -> Custom CSS this:
	#slider_home .slider_area .slider_list li .image_holder img{width:100%}
	#slider_home .slider_area{width:676px}
	#slider_home{width: 697px;}
	#slider_home .slider_area .slider_list li .text_holder{left:500px;}
	#featured-right{display:none}
	#slider_home .slider_area .slider_list li .image_holder{width:500px;}
	#slider_home{width:823px;}
	.top_arrow{left:500px;}
	.bottom_arrow{left:500px;}
        
3) Regenerate your thumbnais by this plugin: Simple Image Sizes

How to add revolution slider instead of FlyingNews slider

Please go to ../flyingnews/header.php and on line +-214 is this:
        $jwSlider = new jwSlider();
        $jwSlider->getSlides();
        
so replace it by this code:
        echo do_shortcode('[rev_slider ... ]');
        


How to resolve problem with social widget in chrome browser


Please add to Theme Options -> Custom Code -> Custom CSS this code:
    .social{
        position: relative;
    }
    .social a{
        top: 0;
        position: absolute;
        padding-left: 3px;
    }

    

How choose products which will shown between posts boxes per each category.

you can change it in loop.php on lines 33 - 47. You can change it into something like this:
if (jwUtils::woocommerce_activate() == true && jwOpt::get_option('woo_display_on_main', '1') == '1') {

        $shop_args = array(
            'post_type' => 'product',
        );
        if (is_product_category()) {
            switch(get_queried_object()->term_id){
                case 1: $post_in = array(3, 5, 12);
                            break;
                case 4: $post_in = array(10, 15, 18);
                            break;
                default: $post_in = jwOpt::get_option('woo_choose_product');
            }

            if (isset($post_in)) {
                $shop_args['post__in'] = $post_in;
            }

            $shop_post = new WP_Query($shop_args);
            $shop_count = sizeof($shop_post->posts);
        }
 }
         

How to show featured area (slider) on some pages?

Please open header.php file and on line 217 you can see this:
 if (is_home() || is_front_page() || jwOpt::get_option('blog_featured_allsite', '0') == '1') { 
         


and change it to this:

$pageIDs = array('1','10','23');  // <- Here add all ids where you want show your featured header.
if (is_page() && in_array(get_the_ID(), $pageIDs)) { 
         

How to make fixed (sticky) menu

Please open header.php file and on line 95 add this:
    $class[] = 'fixed_menu';
         


See result

How to change white background of the page


Please add to Theme Options -> Custom Code -> Custom CSS this code:
    #template-box,
    #content,
    .morebutton{
        background: #93AFD9;
    }

    

How to add searchbar into menu


Please open file header.php, put at line 186 this code:  
    <div class="blog-items-search">
    <div id="search_button"></div>
    <?php echo the_widget('WP_Widget_Search'); ?>    
    </div>

    
    
and into Theme Options -> Custom code -> Custom CSS put this:
    .top-bar .blog-items-search {
        bottom: 10px;
        position: absolute;
        right: 10px;
    }
    

How to put the “rating” in all post in bulk


1) Backup your database!

2) Go to phpmyadmin navigace to your database and do this SQL query:

DELETE FROM wp_postmeta WHERE meta_key='fw_rating_user_edit';
DELETE FROM wp_postmeta WHERE meta_key='fw_rating_overal_type';
DELETE FROM wp_postmeta WHERE meta_key='fw_rating_overal';
DELETE FROM wp_postmeta WHERE meta_key='fw_rating_desc';
DELETE FROM wp_postmeta WHERE meta_key='fw_rating_show_desc';
DELETE FROM wp_postmeta WHERE meta_key='fw_rating_position';
DELETE FROM wp_postmeta WHERE meta_key='fw_rating_title';
DELETE FROM wp_postmeta WHERE meta_key='fw_rating_user_count';
DELETE FROM wp_postmeta WHERE meta_key='fw_rating';

INSERT INTO wp_postmeta (post_id, meta_key,meta_value) 
SELECT ID, 'fw_rating_user_edit', '1' FROM wp_posts WHERE post_type = 'post' UNION ALL
SELECT ID, 'fw_rating_overal_type', 'stars' FROM wp_posts WHERE post_type = 'post' UNION ALL
SELECT ID, 'fw_rating_overal', '1' FROM wp_posts WHERE post_type = 'post' UNION ALL
SELECT ID, 'fw_rating_desc', '' FROM wp_posts WHERE post_type = 'post' UNION ALL
SELECT ID, 'fw_rating_show_desc', '0' FROM wp_posts WHERE post_type = 'post' UNION ALL
SELECT ID, 'fw_rating_position', 'top' FROM wp_posts WHERE post_type = 'post' UNION ALL
SELECT ID, 'fw_rating_title', 'User Rating' FROM wp_posts WHERE post_type = 'post' UNION ALL
SELECT ID, 'fw_rating_user_count', '1' FROM wp_posts WHERE post_type = 'post' UNION ALL
SELECT ID, 'fw_rating', 'O:9:"oneRating":6:{s:2:"id";s:12:"UsersRatings";s:4:"name";s:13:"Users Ratings";s:4:"type";s:5:"stars";s:5:"score";s:1:"1";s:5:"voted";s:1:"1";s:8:"useredit";s:1:"1";}' FROM wp_posts WHERE post_type = 'post'


result will looks like this: http://imgur.com/O4zfVCm, http://imgur.com/AkWnmCh


For more go to FAQ