WordPress.org

Support

Support » Themes and Templates » [Resolved] Remove Link/Text from Adamos Main Slider

[Resolved] Remove Link/Text from Adamos Main Slider

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Template Express
    Participant

    @danstriker

    hello,

    you will have to remove the following piece of code from header.php

    <div class="flex-caption-title">
                        <a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
                        </div>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Excellent! Thank you so much. Your theme is phenomenal!

    Theme Author Template Express
    Participant

    @danstriker

    thanks – good luck with your website

    Hi. Could you tell me how to change the slider so that it points to pages instead of posts? What modifications to the code should be done?

    <div class="flex-container">
                  <div class="flexslider">
                    <ul class="slides">
                    <?php
                    query_posts(array('category_name' => 'featured', 'posts_per_page' => 3));
                    if(have_posts()) :
                        while(have_posts()) : the_post();
                    ?>
                      <li>
                        <?php the_post_thumbnail(); ?>
                        <div class="caption_wrap">
                        <div class="flex-caption">
                        <div class="flex-caption-wordtitle">
                        <a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
                        </div>
                        <p><?php echo get_slider_excerpt(); ?>
                        <a href="<?php the_permalink() ?>">...</a></p>
                        </div>
                        </div>
                      </li>
                    <?php
                        endwhile;
                    endif;
                    wp_reset_query();
                    ?>
                    </ul>
                  </div>
    	</div>

    I tried to change query_posts function parameters to those:

    'post_type' => 'page',
      'post__in' => array(0,1,2)

    But it doesn’t work. There is Error.

    Dear Sir,
    Iam unable to change the header color.
    Also the new 3 posts dont show the images
    Tell me how to add images into the featured text in customization
    Great theme and effort.Congrats.Keep up the good work.
    Thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Remove Link/Text from Adamos Main Slider’ is closed to new replies.