Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter martinina

    (@martinina)

    I have solved my problem.
    The images featured of the articles in the slider were too big, I shrunk the pixels in height and width.

    3) if you want delete Media gallery you go to Appearance / Editor /
    open front-page and delete the lines

    <!– Media Gallery –>
    <?php if( !empty( $profitmag_settings[‘media_gallery’] ) ): ?>
    <div class=”home-media-gallery”>
    <h2 class=”block-title”><span class=”bordertitle-red”></span><?php _e( ‘Media Gallery’, ‘profitmag’ ); ?></h2>

    <div class=”gallery-block”>
    <div id=”gallery-slider” class=”flexslider”>
    <ul class=”slides”>
    <?php
    foreach( $profitmag_settings[‘media_gallery’] as $image ):
    $attachment_id = profitmag_get_image_id( $image );
    $img_url = wp_get_attachment_image_src($attachment_id,’gallery-full’);

    ?>

    • <img id=”previewHolder” src=”<?php echo $img_url[0]; ?>” alt=”Gallery” />
    • <?php break; endforeach; ?>

      </div>

      <div id=”gallery-carousel” class=”flexslider clearfix scroll-content”>
      <ul class=”slides “>
      <?php foreach( $profitmag_settings[‘media_gallery’] as $image ):
      $attachment_id = profitmag_get_image_id( $image );
      $img_url = wp_get_attachment_image_src($attachment_id,’gallery-thumb’);
      $img_url_full = wp_get_attachment_image_src($attachment_id,’gallery-full’);
      ?>

    • <img class=”fullPreview” src=”<?php echo $img_url[0]; ?>” alt=”Gallery” data-image-full=”<?php echo $img_url_full[0]; ?>” />
    • <?php endforeach;?>

      </div>
      </div><!–gallery-block–>
      </div>
      <?php else: ?>
      <div class=”home-media-gallery”>
      <h2 class=”block-title”><span class=”bordertitle-red”></span><?php _e( ‘Media Gallery’, ‘profitmag’ ); ?></h2>

      <div class=”gallery-block”>
      <div id=”gallery-slider” class=”flexslider”>
      <ul class=”slides”>

    • <img id=”previewHolder” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” alt=”Gallery” />
    • </div>

      <div id=”gallery-carousel” class=”flexslider clearfix scroll-content”>
      <ul class=”slides “>

    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • </div>
      </div><!–gallery-block–>
      </div>
      <?php endif; ?>
      <!– End Media Gallery –>

    If you want change the immages, you go to APPEARANCE/ THEME OPTIONS/ HOMEPAGE SETTING
    and you add your files.

    Hi markuswedl,
    1) I removed the image of the camera on, so that:
    appearance-theme options – advertising
    in the “home page Ads (Mid Section)” press the space bar two times and save.

    2) Go to Appearance / Editor /
    Open front-page.php
    and delete the lines:

    <!– Popular Widget Area –>
    <?php if( is_active_sidebar( ‘home-popular’ ) ) : ?>
    <div class=”home-featured-block popular-widget-area clearfix”>
    <?php dynamic_sidebar( ‘home-popular’ ); ?>
    </div>
    <?php else: ?>
    <div class=”home-featured-block popular-widget-area clearfix”>
    <aside id=”profitmag-popular-posts-2″ class=”widget profitmag_widget_popular_entries”>
    <h3 class=”widget-title”><span>Popular</span></h3>

    </aside>
    </div>
    <?php endif; ?>
    <!– End Popular Widget Area –>

    Hi markuswedl,
    1) I removed the image of the camera on, so that:
    appearance-theme options – advertising
    in the “home page Ads (Mid Section)” press the space bar two times and save.

    2) Go to Appearance / Editor /
    Open front-page.php
    and delete the lines:

    <!– Popular Widget Area –>
    <?php if( is_active_sidebar( ‘home-popular’ ) ) : ?>
    <div class=”home-featured-block popular-widget-area clearfix”>
    <?php dynamic_sidebar( ‘home-popular’ ); ?>
    </div>
    <?php else: ?>
    <div class=”home-featured-block popular-widget-area clearfix”>
    <aside id=”profitmag-popular-posts-2″ class=”widget profitmag_widget_popular_entries”>
    <h3 class=”widget-title”><span>Popular</span></h3>

    </aside>
    </div>
    <?php endif; ?>
    <!– End Popular Widget Area –>

    3) if you want delete Media gallery you go to Appearance / Editor /
    open front-page and delete the lines

    <!– Media Gallery –>
    <?php if( !empty( $profitmag_settings[‘media_gallery’] ) ): ?>
    <div class=”home-media-gallery”>
    <h2 class=”block-title”><span class=”bordertitle-red”></span><?php _e( ‘Media Gallery’, ‘profitmag’ ); ?></h2>

    <div class=”gallery-block”>
    <div id=”gallery-slider” class=”flexslider”>
    <ul class=”slides”>
    <?php
    foreach( $profitmag_settings[‘media_gallery’] as $image ):
    $attachment_id = profitmag_get_image_id( $image );
    $img_url = wp_get_attachment_image_src($attachment_id,’gallery-full’);

    ?>

    • <img id=”previewHolder” src=”<?php echo $img_url[0]; ?>” alt=”Gallery” />
    • <?php break; endforeach; ?>

      </div>

      <div id=”gallery-carousel” class=”flexslider clearfix scroll-content”>
      <ul class=”slides “>
      <?php foreach( $profitmag_settings[‘media_gallery’] as $image ):
      $attachment_id = profitmag_get_image_id( $image );
      $img_url = wp_get_attachment_image_src($attachment_id,’gallery-thumb’);
      $img_url_full = wp_get_attachment_image_src($attachment_id,’gallery-full’);
      ?>

    • <img class=”fullPreview” src=”<?php echo $img_url[0]; ?>” alt=”Gallery” data-image-full=”<?php echo $img_url_full[0]; ?>” />
    • <?php endforeach;?>

      </div>
      </div><!–gallery-block–>
      </div>
      <?php else: ?>
      <div class=”home-media-gallery”>
      <h2 class=”block-title”><span class=”bordertitle-red”></span><?php _e( ‘Media Gallery’, ‘profitmag’ ); ?></h2>

      <div class=”gallery-block”>
      <div id=”gallery-slider” class=”flexslider”>
      <ul class=”slides”>

    • <img id=”previewHolder” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” alt=”Gallery” />
    • </div>

      <div id=”gallery-carousel” class=”flexslider clearfix scroll-content”>
      <ul class=”slides “>

    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/analog-camera-photography-rolleicord-3832-818.jpg’ ?>” />
    • <img class=”fullPreview” src=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-73.jpg’ ?>” alt=”Gallery” data-image-full=”<?php echo get_template_directory_uri().’/images/demo/flowers-marguerites-oxeye-daisies-3878-818.jpg’ ?>” />
    • </div>
      </div><!–gallery-block–>
      </div>
      <?php endif; ?>
      <!– End Media Gallery –>

    If you want change the immages, you go to APPEARANCE/ THEME OPTIONS/ HOMEPAGE SETTING
    and you add your files.

    Hi Profit Mag,
    i’ve the same problem.
    This is my site url: http://supergirlserietvita.altervista.org

    I removed the image of the camera on, so that:
    appearance-theme options – advertising
    in the “home page Ads (Mid Section)” press the space bar two times and save.

Viewing 6 replies - 1 through 6 (of 6 total)