Discussion on Megazine - Responsive WordPress Theme

Discussion on Megazine - Responsive WordPress Theme

Cart 1,254 sales
Well Documented

GoodLayers supports this item

Supported

This author's response time can be up to 1 business day.

305 comments found.

Hi, I like the theme and wonder whether the theme is bbpress ready?

rgds,

Hi,

Nope :/ sorry our themes don’t support bbpress.

Thanks for interest anyway :)

Why the comments on the pages do not work? I do not even see the box!

Can you please post this on the support forum? Our dev and supporters are only provide support in the forum, not here :(

If you got any further questions, please head to our support forum :)

==============================================

Please note that, Right now, all support will be conducted through our support forum http://support.goodlayers.com

Please create your own account, make sure that username in forum must be the same as your Themeforest username, none blank space contained in registration fields.

Username must be the one that purchased this item

If you got a problem with registration, please make sure that you follow this article > http://support.goodlayers.com/problem-with-the-forum/

Thanks so much!

What’s the best size for the images? I’m using a 1/1 medium on the homepage with 1 sidebar and also with 1 sidebars and seems to use a different size??

Hi,

You can try using Google chrome inspect element to inspect it. Right mouse on your image and click on ‘inspect element’.

If you got any further questions, please head to our support forum :)

==============================================

Please note that, Right now, all support will be conducted through our support forum http://support.goodlayers.com

Please create your own account, make sure that username in forum must be the same as your Themeforest username, none blank space contained in registration fields.

Username must be the one that purchased this item

If you got a problem with registration, please make sure that you follow this article > http://support.goodlayers.com/problem-with-the-forum/

Thanks so much!

Hi guys,

Great theme.

I’m having a little issue with the social counter widget. I can add in the Facebook and RSS info but as soon as I add in any Twitter details, it gives me the following error ‘Bad Authentication data.’

I’ve created the necessary codes – consumer key etc but nothing fixes this.

Any help would be greatly appreciated.

Thanks, Paul

Hi guys, I registered and posted on this forum but it looks like you’ve moved forums now? Can I email someone about this please as it’s become a matter of urgency now. Thanks, Paul.

Oh sorry, we have moved to http://goodlayers.ticksy.com ,Please submit the ticket there.

Ticket submitted, thanks.

it’s safe to update to wordpress 3.8…thanks

Yep you can go for that ;)

If you got any further questions, please head to our support forum :)

==============================================

Please note that, Right now, all support will be conducted through our support forum http://support.goodlayers.com

Please create your own account, make sure that username in forum must be the same as your Themeforest username, none blank space contained in registration fields.

Username must be the one that purchased this item

If you got a problem with registration, please make sure that you follow this article > http://support.goodlayers.com/problem-with-the-forum/

Thanks so much!

bought the megazine theme but cant find the xml file in the folder to import. pls advise

Hi,

make sure that you download the full package, not just installable file. You can download it again by going to your TF profile page and click on the tab ‘download’..> http://take.ms/KTcSw

After download it, unzip the file first.

If you got any further questions, please head to our support forum :)

==============================================

Please note that, Right now, all support will be conducted through our support forum http://support.goodlayers.com

Please create your own account, make sure that username in forum must be the same as your Themeforest username, none blank space contained in registration fields.

Username must be the one that purchased this item

If you got a problem with registration, please make sure that you follow this article > http://support.goodlayers.com/problem-with-the-forum/

Thanks so much!

How come this post is not appearing in the slider. It is in the catagory “indoor cycling news”

http://www.indoorcycling.ca/spin-energie-montreal-brings-new-indoor-cycling-trend-ny-la/

But it is not appeariing in the post slider here

http://www.indoorcycling.ca

Because flex slider(post slider) doesn’t support video as thumbnail so the theme has to skip it.. as it happened to the post ‘Indoor Cycling Riding Tips’ too.

Thank you. My apologies.

Where do I activate teh Captcha Module for the comments? what’s the name of the plugin?

Can you please post this on the support forum? Our dev will have a look.

If you got any further questions, please head to our support forum :)

==============================================

Please note that, Right now, all support will be conducted through our support forum http://support.goodlayers.com

Please create your own account, make sure that username in forum must be the same as your Themeforest username, none blank space contained in registration fields.

Username must be the one that purchased this item

If you got a problem with registration, please make sure that you follow this article > http://support.goodlayers.com/problem-with-the-forum/

Thanks so much!

Hi, is it safe to update wp to last version, 3,7.1? Does the theme support it? Site is now running an older wp version and I’d like to update

thanks in advance

alex

ok thanks, but I wanted to know if I can update Wordprees to version 3.7.1 without problems, theme description says that it works with: Software Version WordPress 3.6, WordPress 3.5, WordPress 3.4, WordPress 3.3, WordPress 3.2, WordPress 3.1

can I update to Wordpress 3.7.1?

thanks

alex

Hi,

Yep, this theme works with 3.7+ but make sure that you’re running the latest version of theme ;)

ok thanks

Will I be able to put share buttons next to the “read more” button in homepage?

Oh, in this case, you’ll have to customize code directly to make it linkable. I suggest you hire a coder to implement it if you don’t know ;)

Thanks for interest anyway :)

Why can’t I just hire you?

Oh sorry but we don’t have time to do additional tasks :(

Anyway you can take a look at this service > Tweaky.com

Hope this help :)

Hi,the template will not let me assign profile picture. Working with the same template in other sites and this does not happen. I await your response.

Can you please post this on the support forum? Our dev will have a look.

If you got any further questions, please head to our support forum :)

==============================================

Please note that, Right now, all support will be conducted through our support forum http://support.goodlayers.com

Please create your own account, make sure that username in forum must be the same as your Themeforest username, none blank space contained in registration fields.

Username must be the one that purchased this item

If you got a problem with registration, please make sure that you follow this article > http://support.goodlayers.com/problem-with-the-forum/

Thanks so much!

Hello, I have trouble changing the font size from the manager. Not allow me to change the number or move the button. How I can fix? Sorry, mi English is bad.

Hi,

Can you please post this on the support forum? Our dev will have a look.

If you got any further questions, please head to our support forum :)

==============================================

Please note that, Right now, all support will be conducted through our support forum http://support.goodlayers.com

Please create your own account, make sure that username in forum must be the same as your Themeforest username, none blank space contained in registration fields.

Username must be the one that purchased this item

If you got a problem with registration, please make sure that you follow this article > http://support.goodlayers.com/problem-with-the-forum/

Thanks so much!

Hello,

How would i add a banner/ad script code so it shows just below the slider on the main page – and then just below the navigation on every other page?

URL is: avillafan.com

Hi.

Try to use page item ‘column’ and put the code in there.(but you have to set on every page.)

If you got any further questions, please head to our support forum :)

==============================================

Please note that, Right now, all support will be conducted through our support forum http://support.goodlayers.com

Please create your own account, make sure that username in forum must be the same as your Themeforest username, none blank space contained in registration fields.

Username must be the one that purchased this item

If you got a problem with registration, please make sure that you follow this article > http://support.goodlayers.com/problem-with-the-forum/

Thanks so much!

HOW DO I ADD OR TAKE AWAY THE POST SLIDER ON THE MAIN PAGE

INDOORCYCLING.CA

YOUR TUTORIAL IS TERRIBLE.

THANK YOU. YOUR TUTORIAL HAS LOTS OF SLIDER INFO SO IT IS CONFUSING BECAUSE WE DON’T KNOW WHICH SLIDER YOU ARE TEACHING US. PLUS YOU SENT ME A DIFFERENT IMAGE IN THE PAST. THIS IS THE PICTURE YOU SENT ME

http://s10.postimg.org/qq0esiy4p/SLIDER.png

SO WHICH IS TRUE?

Both, because we have 2 slider types.

1. top slider (sidebar won’t take effect)

2. slider page page builder(as screenshot you provided). This one will stay in content area and has sidebar beside it.

GoodLayers is giving me false information. Can GoodLayers please tell me why the post slider is cutting of my pictures? How do I fix it?

IndoorCycling.ca

HAVE A LOOK AT THE SECOND IMAGE IN THE POST SLIDER

http://www.indoorcycling.ca/

YOU WLL SEE THE SECOND PICTURE IS CUT OFF. WHY?

YOU TELL US TO FOLLOW THE TUTORIAL.

BUT THIS IS WHAT THE TUTORIAL SAYS ABOUT POST SLIDER

F18.) Post-Slider Item (top)

This item will act exactly like the slider item, but it’ll fetch the image from the post instead ( Please make sure to assign feature image to all posts that will be fetched up too. ).

THATS IT.

WHAT ABOUT THE CORRECT SIZE OF THE IMAGES FOR THE POST SLIDER?

AND WHERE DO WE SET UP THE SLIDER?

PLEASE OPEN YOUR EYES AND READ YOUR OWN TUTORIAL AND START TO LAUGH AT YOURSELF

WHAT? ARE YOU NUTS? WE HAVE TO KNOW PHP JUST TO HAVE A PICTURE NOT GET DEMAGED?

I DON’T KNOW PHP. PLUS HOW DO WE GET TO INCLUDE/PLUGIN/PAGE ETC ETC ???

YOU SHOULD BE APOLOGIZING FOR ALL THE TROUBLE YOU GAVE US.

BESIDES. THE CODE YOU SAY IS NOT THERE. YOU LIED TO CUSTOMERS AGAIN

<?php

/*
  • Goodlayers Page Item File
  • -------------
  • @version 1.0
  • @author Goodlayers
  • @link http://goodlayers.com
  • @copyright Copyright© Goodlayers
  • -------------
  • This file contains the function that can print each page item due to
  • different conditions.
  • ------------- /
$gdl_div_size_num_class = array( 
    "1/6" => "two columns ", "element1-6" => "two columns ",
    "1/5" => "one-fifth column ", "element1-5" => "one-sixth column ",
    "1/4" => "three columns ", "element1-4" => "three columns ",
    "1/3" => "four columns ", "element1-3" => "four columns ",
    "1/2" => "six columns ", "element1-2" => "six columns ",
    "2/3" => "eight columns ", "element2-3" => "eight columns ",
    "3/4" => "nine columns ", "element3-4" => "nine columns ",
    "1/1" => "twelve columns ", "element1-1" => "twelve columns " );
$gdl_class_to_num = array(
    "element1-6" => 1/6, "1/6"=>1/6, 
    "element1-5" => 1/5, "1/5"=>1/5, 
    "element1-4" => 1/4, "1/4"=>1/4, 
    "element1-3" => 1/3, "1/3"=>1/3,
    "element1-2" => 0.5, "1/2"=>0.5, 
    "element2-3" => 2/3, "2/3"=>2/3,
    "element3-4" => 3/4, "3/4"=>3/4, 
    "element1-1" => 1, "1/1" => 1 );
// Print the item size   with it's class
function print_item_size($item_size, $item_row_size = '0', $addition_class='', $html_row_tag = 'div', $html_col_tag = 'div'){
    global $gdl_div_size_num_class, $gdl_class_to_num;
}
// init the first row
if( empty($item_row_size) ){ 
    echo '<' . $html_row_tag .' class="row">';
}
$gdl_row_class = $gdl_div_size_num_class[$item_size] . $addition_class;
$gdl_item_size = $gdl_class_to_num[$item_size];
$item_row_size = $item_row_size + $gdl_item_size;
if($item_row_size > 1){
    $item_row_size = $gdl_item_size;
    echo ' ';
    echo ' '; // close row
    echo '<' . $html_row_tag . ' class="row">'; // open new row
}
echo '<' . $html_col_tag . ' class="' . $gdl_row_class . '">';
return $item_row_size;
// Print the item size   with it's class
function return_item_size($item_size, $item_row_size = '0', $addition_class='', $html_row_tag = 'div', $html_col_tag = 'div'){
    global $gdl_div_size_num_class, $gdl_class_to_num;
}
$return = "";
// init the first row
if( empty($item_row_size) ){ 
    $return = $return . '<' . $html_row_tag .' class="row">';
}
$gdl_row_class = $gdl_div_size_num_class[$item_size] . $addition_class;
$gdl_item_size = $gdl_class_to_num[$item_size];
$item_row_size = $item_row_size + $gdl_item_size;
if($item_row_size > 1){
    $item_row_size = $gdl_item_size;
    $return = $return . ' ';
    $return = $return . ' '; // close row
    $return = $return . '<' . $html_row_tag . ' class="row">'; // open new row
}
$return = $return . '<' . $html_col_tag . ' class="' . $gdl_row_class . '">';
return array( 'row-size'=>$item_row_size, 'return'=>$return);
// Print page header
function print_page_header( $header ){
    echo ' ';
    echo '

' . $header . '

'; echo ' '; echo ' '; echo ' '; }
// Print header of each item
function print_item_header( $header ){
    if(!empty($header)){
        echo ' ';
        echo '

' . $header . '

'; echo ' '; echo ' '; echo ' '; } }
// Print post rating
function print_post_rating( $rating ){
    if( !empty($rating) && $rating != 'none' ){    
        $rating = (float) $rating;
        echo ' ';
        for( $i=0; $i<5; $i++ ){
            if( $rating - $i == 0.5 ){
                echo ' ';
            }else if( $rating > $i ){
                echo ' ';    
            }else{
                echo ' ';
            }
        }
        echo ' ';
    }
}
// Print accordion
function print_accordion_item($item_xml){
    print_item_header( find_xml_value($item_xml, 'header') );
}
$gdl_active = 'active';
$tab_xml = find_xml_node($item_xml, 'tab-item');
echo "
    "; foreach($tab_xml->childNodes as $accordion){ echo '
  • '; echo '

    ' . find_xml_value($accordion, 'title') . '

    '; echo ' '; echo do_shortcode(find_xml_value($accordion, 'caption')) . ' '; echo '
  • '; } echo "
";
if( !empty($gdl_active) ) $gdl_active = '';
// Print column 
function print_column_item($item_xml){
    print_item_header( find_xml_value($item_xml, 'header') );
}
echo ' ';
echo do_shortcode(html_entity_decode(find_xml_value($item_xml,'column-text')));
echo ' ';
// Print column service
function print_column_service($item_xml){
    $column_service_style = find_xml_value($item_xml, 'style');
    echo ' ';
}
$column_service_img_id = find_xml_value($item_xml, 'image');
if(!empty($column_service_img_id)){
    $column_service_image = wp_get_attachment_image_src($column_service_img_id, 'full');
    $alt_text = get_post_meta($column_service_img_id , '_wp_attachment_image_alt', true);    
    echo " ";
    echo "";
    echo " ";
}
$column_service_title = find_xml_value($item_xml, 'title');
$column_service_caption = html_entity_decode(find_xml_value($item_xml, 'caption'));
$column_service_description = html_entity_decode(find_xml_value($item_xml, 'description'));
echo ' ';
echo '

' . $column_service_title . '

'; echo ' ' . $column_service_caption . ' '; echo ' '; // column service title wrapper
echo ' ';
echo ' ';
echo do_shortcode($column_service_description);
echo ' '; // column service content
echo ' '; // column service wrapper
// Print Content Item
function print_content_item($item_xml){
    print_item_header( find_xml_value($item_xml, 'header') );    
}
wp_reset_query();
if(have_posts()){
    while(have_posts()){
        the_post(); 
        the_content();
    }
}
// Print Divider
function print_divider($item_xml){
    echo '  ';
    echo find_xml_value($item_xml, 'text');
    echo '  ';
}
// Print gallery
function print_gallery_item($item_xml){
    print_item_header( find_xml_value($item_xml, 'header') );    
}
global $gallery_div_size_num_class, $sidebar_type, $gdl_element_id;
$gallery_row_size = 0;
$gallery_page = find_xml_value($item_xml, 'page');
$gallery_size = find_xml_value($item_xml, 'item-size');    
$item_size = $gallery_div_size_num_class$gallery_size;
$gallery_post = get_posts(array('post_type' => 'gdl-gallery', 'name'=>$gallery_page, 'numberposts'=> 1));
echo ' ';
$slider_xml_string = get_post_meta($gallery_post[0]->ID,'post-option-gallery-xml', true);
$slider_xml_dom = new DOMDocument();
if( !empty( $slider_xml_string ) ){
    $slider_xml_dom->loadXML($slider_xml_string);    
    foreach( $slider_xml_dom->documentElement->childNodes as $slider ){
        $gallery_row_size = print_item_size($gallery_size, $gallery_row_size, 'mb20');
        $link_type = find_xml_value($slider, 'linktype');                
        $image_url = wp_get_attachment_image_src(find_xml_value($slider, 'image'), $item_size);
        $alt_text = get_post_meta(find_xml_value($slider, 'image') , '_wp_attachment_image_alt', true);    
}
echo ' ';
    if( $link_type == 'Link to URL' ){
        $link = find_xml_value( $slider, 'link');    
        echo '';
        echo '';
        echo '';
    }else if( $link_type == 'Lightbox' ){
        $image_full = wp_get_attachment_image_src(find_xml_value($slider, 'image'), 'full');
        echo '';
        echo '';
        echo '';
    }else{
        echo '';
    }                
    echo ' '; // gallery-thumbnail-image
}
echo ' ';
echo ''; // end row            
$gdl_element_id++;
echo ' '; // print item size
echo ''; // gdl gallery item
// Print Message Box
function print_message_box($item_xml){
    $box_color = find_xml_value($item_xml, 'color');
    $box_title = find_xml_value($item_xml, 'title');
    $box_content = html_entity_decode(find_xml_value($item_xml, 'content'));
    echo ' ';
    echo ' ' . $box_title . ' ';
    echo ' ' . $box_content . ' ';
    echo ' ';
}
// Print personnal item
function print_personnal_item($item_xml){
    print_item_header( find_xml_value($item_xml, 'header') );    
}
global $personnal_div_size_num_class, $sidebar_type;
$num_fetch = find_xml_value($item_xml, 'num-fetch');
$category = find_xml_value($item_xml, 'category');
$category = ( $category == 'All' )? '': $category;
$personnal_size = find_xml_value($item_xml, 'item-size');
$personnal_row_size = 0;
$item_size = $personnal_div_size_num_class$personnal_size;
$post_temp = query_posts(array('post_type'=>'personnal',
    'personnal-category'=>$category, 'posts_per_page'=>$num_fetch));
echo ' ';
while( have_posts() ){
    the_post();    
}
echo ' ';
echo ''; //close row
echo '';
$personnal_row_size = print_item_size($personnal_size, $personnal_row_size, 'personnal-item-wrapper');
echo ' ';
// position
$position = get_post_meta( get_the_ID(), 'personnal-option-position', true );
if( !empty($position) ){
    echo ' ' . $position . " ";
}
$thumbnail_id = get_post_thumbnail_id();
$thumbnail = wp_get_attachment_image_src( $thumbnail_id , $item_size );
$alt_text = get_post_meta($thumbnail_id , '_wp_attachment_image_alt', true);
if( !empty($thumbnail) ){
    echo '  ';            
}
// title & content
echo ' ';
the_title();
echo ' ';
echo ' ';
the_content();
echo ' ';
echo ' ';
echo ' '; // personnal item
echo ' '; //close print_item_size
// Print price item
function print_price_item($item_xml){
    global $gdl_admin_translator;
}
if( $gdl_admin_translator == 'enable' ){
    $translator_read_more = get_option(THEME_SHORT_NAME.'_translator_read_more_price', 'Read More');
}else{
    $translator_read_more = __('Read More','gdl_front_end');
}
$price_item_row_size = 0;
$price_item_number = find_xml_value($item_xml, 'item-number');
$price_item_category = find_xml_value($item_xml, 'category');
$price_item_category = ($price_item_category == 'All')? '': $price_item_category;
$price_posts = get_posts(array('post_type'=>'price_table', 'price-table-category'=>$price_item_category, 
    'numberposts'=>$price_item_number));
echo ' ';
foreach($price_posts as $price_post){
    $price_color = get_post_meta( $price_post->ID, 'price-table-price-color', true );
    $price_style = (empty($price_color))? '': ' style="background-color:' . $price_color . ';" ';
$price_item_row_size = print_item_size('1/' . $price_item_number, $price_item_row_size, 'price-item-wrapper mb0');
echo ' ';
echo ' ' . $price_post->post_title . ' ';
echo ' ';
_e(get_post_meta( $price_post->ID, 'price-table-price-tag', true ), 'gdl_front_end');
$suffix = __(get_post_meta( $price_post->ID, 'price-table-price-suffix', true ), 'gdl_front_end');
if( !empty($suffix) ){ echo ' ' . $suffix . ' '; }            
echo ' ';
echo ' ';
echo do_shortcode( $price_post->post_content );
echo ' ';
$price_url = __(get_post_meta( $price_post->ID, 'price-table-option-url', true ), 'gdl_front_end');
if( !empty($price_url) ){
    echo ' ';
    echo '' . $translator_read_more . '';
    echo ' ';
}
echo ' ';
echo ' '; // price item
echo ' '; // print item size
}
echo ' ';
echo ''; // end row
echo ''; // price table wrapper
// Print postslider item
function print_post_slider_item($item_xml){
}
$num_fetch = find_xml_value($item_xml, 'num-fetch');
$num_excerpt = find_xml_value($item_xml, 'num-excerpt');
$show_caption = find_xml_value($item_xml, 'show-caption');
$category = find_xml_value($item_xml, 'category');
$category = ($category == 'All')? '': $category;
$postslider_xml = "<single-item><Post-Slider>";
$postslider_xml = $postslider_xml . create_xml_tag('size', find_xml_value($item_xml, 'size'));
$postslider_xml = $postslider_xml . create_xml_tag('width', find_xml_value($item_xml, 'width'));
$postslider_xml = $postslider_xml . create_xml_tag('height', find_xml_value($item_xml, 'height'));
$postslider_xml = $postslider_xml . create_xml_tag('slider-type', find_xml_value($item_xml, 'slider-type'));
$postslider_xml = $postslider_xml . "<slider-item>";
query_posts(array('post_type'=>'post', 'category_name'=>$category, 'posts_per_page'=>$num_fetch, 'meta_key' => '_thumbnail_id' ));
while( have_posts() ){
    the_post();
$postslider_xml = $postslider_xml . "<slider>";
$postslider_xml = $postslider_xml . create_xml_tag('image', get_post_thumbnail_id(get_the_ID()) );
$postslider_xml = $postslider_xml . create_xml_tag('linktype', 'Link to URL' );
$postslider_xml = $postslider_xml . create_xml_tag('link', htmlspecialchars(get_permalink()) );
if( $show_caption == "Yes" ){
    $postslider_xml = $postslider_xml . create_xml_tag('title', htmlspecialchars(get_the_title()) );
    $postslider_xml = $postslider_xml . create_xml_tag('caption', htmlspecialchars(gdl_get_excerpt($num_excerpt) ) );
}
$postslider_xml = $postslider_xml . "</slider>";
}
$postslider_xml = $postslider_xml . "</slider-item>";
$postslider_xml = $postslider_xml . "</Post-Slider></single-item>";
$slider_xml_val = new DOMDocument();
$slider_xml_val->loadXML($postslider_xml);
foreach( $slider_xml_val->documentElement->childNodes as $slider_item_xml){
    print_slider_item($slider_item_xml);
}
wp_reset_query();
// Print top post slider
function print_top_post_slider( $category, $height, $thumbnail, $num_excerpt, $num_fetch ){
    global $gdl_admin_translator, $date_format;
}
if( $gdl_admin_translator == 'enable' ){
    $translator_read_more = get_option(THEME_SHORT_NAME.'_translator_read_more_top_post', 'Read More');
}else{
    $translator_read_more = __('Read More','gdl_front_end');
}
$thumbnail_arr = array();
$item_size = '620x' . $height;
if( $thumbnail ){
    $carousel_class = 'carousel-included';
}else{
    $carousel_class = '';
}
echo ' ';
echo '
    '; query_posts(array('post_type'=>'post', 'category_name'=>$category, 'posts_per_page'=>$num_fetch, 'meta_key' => '_thumbnail_id' )); while( have_posts() ){ the_post();
$thumbnail_id = get_post_thumbnail_id(get_the_ID());
$thumbnail_arr[] = $thumbnail_id;
$image_url = wp_get_attachment_image_src($thumbnail_id, $item_size);
$alt_text = get_post_meta($thumbnail_id , '_wp_attachment_image_alt', true);
echo '
  • ';
  • echo '';
    echo '';
    echo '';
    // slider caption
    echo ' ';
    echo '

    ' . get_the_title() . '

    '; echo ' '; echo gdl_get_excerpt($num_excerpt); echo '' . $translator_read_more . ''; echo ' '; echo ' ';
    echo ' ';
    echo '';
    echo get_the_time($date_format);
    echo '';
    echo ' ';
    echo ' ';
    echo the_author_posts_link();
    echo ' ';
    echo ' ';
    comments_popup_link( __('0','gdl_front_end'),
        __('1','gdl_front_end'),
        __('%','gdl_front_end'), '',
        __('Off','gdl_front_end') );
    echo ' ';
    echo ' '; // slider-info
    echo ' '; // flex-caption
    echo '';
    }
    echo "";
    echo " "; // flex slider
    if( $thumbnail ){
        $thumbnail_width = get_option(THEME_SHORT_NAME.'_flex_thumbnail_width', '75');
        $thumbnail_height = get_option(THEME_SHORT_NAME.'_flex_thumbnail_height', '50');
    }
    echo ' ';
    echo '
      '; foreach($thumbnail_arr as $thumbnail_id){ $image_url = wp_get_attachment_image_src($thumbnail_id, $thumbnail_width . 'x' . $thumbnail_height ); $alt_text = get_post_meta($thumbnail_id , '_wp_attachment_image_alt', true); } echo '
    '; // slides echo ' '; // flex-carousel
    echo '
  • '; echo ''; echo '
  • ';
    wp_reset_query();
    // Print stunning text
    function print_stunning_text($item_xml){
    $title = find_xml_value($item_xml, 'title');
    $caption = html_entity_decode(find_xml_value($item_xml, 'caption'));
    $button_title =  find_xml_value($item_xml, 'button-title');
    $button_link =  find_xml_value($item_xml, 'button-link');
    $button_title2 =  find_xml_value($item_xml, 'button-title2');
    $button_link2 =  find_xml_value($item_xml, 'button-link2');
    echo ' ';
    echo '

    ' . $title . '

    '; echo ' ' . do_shortcode($caption) . ' ';
    if( !empty($button_title) && !empty($button_link) ){
        echo '';
        echo $button_title;
        echo '';
    }
    if( !empty($button_title2) && !empty($button_link2) ){
        echo '';
        echo $button_title2;
        echo '';
    }
    echo ' ';
    echo ' ';
    }
    // Print Tab
    function print_tab_item($item_xml){
        print_item_header( find_xml_value($item_xml, 'header') );    
    }
    $num = 0;
    $tab_title = array();
    $tab_content = array();
    $tab_xml = find_xml_node($item_xml, 'tab-item');
    foreach($tab_xml->childNodes as $toggle_box){
        $tab_title[$num] = find_xml_value($toggle_box, 'title');
        $tab_content[$num] = html_entity_decode(find_xml_value($toggle_box, 'caption'));
        $num++;
    }
    echo ' ';
    // tab title
    echo '
      '; for($i=0; $i<$num; $i++){ echo '
    • ' . $tab_title[$i] . '
    • '; } echo "
    ";
    // tab content
    echo ' ';
    echo "
      "; for($i=0; $i<$num; $i++){ echo '
    • ' . do_shortcode($tab_content[$i]) . '
    • '; } echo "
    ";
    echo ' '; // gdl tab
    // Print Testimonial
    function print_testimonial($item_xml){
        print_item_header( find_xml_value($item_xml, 'header') );
    }
    $display_type = find_xml_value($item_xml, 'display-type');
    $num_fetch = find_xml_value($item_xml, 'num-fetch');
    $orderby = find_xml_value($item_xml, 'orderby');        
    $order = find_xml_value($item_xml, 'order');
    $category = find_xml_value($item_xml, 'category');
    $category = ( $category == 'All' )? '': $category;
    $item_size = find_xml_value($item_xml, 'item-size');
    $testimonial_row_size = 0;
    query_posts(array( 'post_type'=>'testimonial', 'orderby'=>$orderby, 'posts_per_page'=>$num_fetch,
        'order'=>$order, 'testimonial-category'=>$category ));
    if( $display_type == 'Static Testimonial' ){
        echo ' ';
        if( have_posts() ){
            while( have_posts() ){ 
                the_post();
    }else if( $display_type == 'Carousel Testimonial' ){
        echo ' ';
    }
    // navigation
    echo ' ';
    echo ' ';
    echo ' ';
    echo ' ';
    // content
    echo ' ';
    if( have_posts() ){
        while( have_posts() ){ 
            the_post();
    }    
    echo ' '; //testimonial-item-wrapper
    echo ' ';
    echo ' ';
    }
    // testimonial content
    echo ' ';
    echo get_the_content();
    echo ' ';
    // testimonial author
    $author = get_the_title();
    $position = get_post_meta( get_the_ID(), "testimonial-option-author-position", true );
    echo ' ';
    echo ' - ' . $author . ' ';
    if( !empty($position) ){
        echo ' , ' . $position . ' ';
    }
    echo ' ';
    echo ' '; // testimonial item
    wp_reset_query();
    // Print Title
    function print_title_item($item_xml){
        print_item_header( find_xml_value($item_xml, 'header') );
    }
    // Print Toggle Box
    function print_toggle_box_item($item_xml){
        print_item_header( find_xml_value($item_xml, 'header') );
    }
    $tab_xml = find_xml_node($item_xml, 'tab-item');
    echo "
      "; foreach($tab_xml->childNodes as $toggle_box){ $active = ( find_xml_value($toggle_box, 'active') == 'Yes' )? 'active': ''; } echo '
    ';
    echo '
  • '; echo '

    ' . find_xml_value($toggle_box, 'title') . '

    '; echo ' '; echo do_shortcode(html_entity_decode(find_xml_value($toggle_box, 'caption'))) . ' '; echo '
  • ';
    // Print the slider item
    function print_slider_item($item_xml){
    }
    $xml_size = find_xml_value($item_xml, 'size');
    if( $xml_size == 'full-width' ){
        echo ' ';
    }else{
        echo ' ';
    }
    $slider_width = find_xml_value($item_xml, 'width');
    $slider_height = find_xml_value($item_xml, 'height');
    if( !empty($slider_width) && !empty($slider_height) ){
        $xml_size = $slider_width . 'x' . $slider_height;
    }else{
        $xml_size = '980x360';
    }
    switch(find_xml_value($item_xml,'slider-type')){
    case 'Anything Slider':
        print_anything_slider(find_xml_node($item_xml,'slider-item'), $xml_size);
        break;
    case 'Nivo Slider': 
        print_nivo_slider(find_xml_node($item_xml,'slider-item'), $xml_size); 
        break;
    case 'Flex Slider': 
        print_flex_slider(find_xml_node($item_xml,'slider-item'), $xml_size); 
        break;
    case 'Carousel Slider': 
        print_carousel_slider(find_xml_node($item_xml,'slider-item'), $xml_size); 
        break;
    }
    echo " ";
    // Print contact form
    function print_contact_form($item_xml){
        global $gdl_admin_translator;
    if( $gdl_admin_translator == 'enable' ){
        $gdl_name_string = get_option(THEME_SHORT_NAME.'_translator_name_contact_form', 'Name');
        $gdl_name_error_string = get_option(THEME_SHORT_NAME.'_translator_name_error_contact_form', 'Please enter your name');
        $gdl_email_string = get_option(THEME_SHORT_NAME.'_translator_email_contact_form', 'Email');
        $gdl_email_error_string = get_option(THEME_SHORT_NAME.'_translator_email_error_contact_form', 'Please enter a valid email address');
        $gdl_message_string = get_option(THEME_SHORT_NAME.'_translator_message_contact_form', 'Message');
        $gdl_message_error_string = get_option(THEME_SHORT_NAME.'_translator_message_error_contact_form', 'Please enter message');
        $gdl_submit_button = get_option(THEME_SHORT_NAME.'_translator_submit_contact_form','Submit');
    }else{
        $gdl_name_string = __('Name','gdl_front_end');
        $gdl_name_error_string =  __('Please enter your name','gdl_front_end');
        $gdl_email_string =  __('Email','gdl_front_end');
        $gdl_email_error_string =  __('Please enter a valid email address','gdl_front_end');
        $gdl_message_string =  __('Message','gdl_front_end');
        $gdl_message_error_string = __('Please enter message','gdl_front_end');
        $gdl_submit_button = __('Submit','gdl_front_end');
    }
    ?>
         
            <form class="gdl-contact-form">
                
    1. <?php echo $gdl_name_string; ?> * <input type="text" name="name" class="require-field" /> <?php echo $gdl_name_error_string; ?>
    2. <?php echo $gdl_email_string; ?> * <input type=”text” name=”email” class=”require-field email” /> * <?php echo $gdl_email_error_string; ?>
    3. <?php echo $gdl_message_string; ?> * <textarea name=”message” class=”require-field”></textarea> * <?php echo $gdl_message_error_string; ?>
    4. <input type=”hidden” name=”receiver” value=”<?php echo find_xml_value($item_xml, ‘email’); ?>”>
    5. <button type=”submit” class=”contact-submit button”><?php echo $gdl_submit_button; ?></button> <?php }
    </form>

    ?>

    ACTUALLY I PAID A PROGRAMER AND HE FIXED IT.

    I CAN’T BELIEVE WE HAVE TO GET INTO CODE TO FIX A PICTURE.

    DO YOU REMEMBER THIS REPLY?

    PLEASE DON’T LIE TO YOUR CUSTOMERS.

    NOW I AM ASKING YOU FIX THIS PROBLEM TODAY.

    If you mean to make it exactly fit when it’s cropped by our theme, yes, two sizes will do.

    Another alternative is change the size that defines in our theme file

    Try going to appearance > editor, find the gdl-varaible-responsive.php file.

    You’ll see something like this

    $blog_div_size_num_class = array(
        "Blog Grid List Style" => array( "no-sidebar"=>"80x50", "one-sidebar"=>"80x50", "both-sidebar"=>"80x50" ),
        "Blog List Style" => array( "no-sidebar"=>"80x50", "one-sidebar"=>"80x50", "both-sidebar"=>"80x50", "class"=>"gdl-blog-list" ),
        "1/4 Blog Grid Style" => array( "no-sidebar"=>"380x380", "one-sidebar"=>"380x380", "both-sidebar"=>"380x380", "class"=>"gdl-blog-grid" ),
        "1/3 Blog Grid Style" => array( "no-sidebar"=>"380x380", "one-sidebar"=>"380x380", "both-sidebar"=>"380x380", "class"=>"gdl-blog-grid" ),
        "1/2 Blog Grid Style" => array( "no-sidebar"=>"460x325", "one-sidebar"=>"380x270", "both-sidebar"=>"380x270", "class"=>"gdl-blog-grid" ),
        "1/1 Blog Grid Style" => array( "no-sidebar"=>"940x380", "one-sidebar"=>"620x250", "both-sidebar"=>"460x180", "class"=>"gdl-blog-grid" ),
        "1/1 Medium Thumbnail" => array( "no-sidebar"=>"451x240", "one-sidebar"=>"380x240", "both-sidebar"=>"380x380", "class"=>"gdl-blog-medium" ),
        "1/1 Medium Thumbnail With Bullet" => array( "no-sidebar"=>"451x240", "one-sidebar"=>"380x240", "both-sidebar"=>"380x380", "class"=>"gdl-blog-medium" ),
    );

    try looking at the 1/1 medium thumbnail with no-sidebar section.

    You can change 451×240 to 620×250 or full for this.

    Hope I’m clear enough :/

    So I cannot follow a tutorial to upload a picture right? Is thet your crazy answer? Insult your customers and call them dumb?

    Did you read your last replies? You wanted us to change php. Did you forget?

    So NOW you change the story to tutorial?

    And what do you mean “if anything goes wrong change the file” ?

    Something is wrong.

    Is that your other answer? Change files?

    Dear Good Layers.

    The pictures are getting cut off and this is ruining my website

    Have a look at www.IndoorCycling.ca

    How come the pictures are getting cut off?

    You told me to make them 620 by 250. Remember?

    I hope you don’t expect us to know code and programing to add one picture?

    We are very upset.

    Your pictures are being cropped here

    http://www.indoorcycling.ca

    We were told to make them 620 by 250 but now we are told to make them a different size.

    are we forced to make 2 images of everything? Good Layers Support wants us to know php and css. That is crazy.

    by
    by
    by
    by
    by
    by

    Tell us what you think!

    We'd like to ask you a few questions to help improve ThemeForest.

    Sure, take me to the survey